From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <13879854cd41ff2dc2776baa40c01feb@plan9.escet.urjc.es> To: 9fans@cse.psu.edu Subject: Re: [9fans] keyboard maps From: Fco.J.Ballesteros In-Reply-To: <82daa8d2f0623077fcd23f57b21dd246@plan9.ucalgary.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-lifjqhtixscngwbkphgiozggwe" Date: Tue, 18 Nov 2003 09:13:32 +0100 Topicbox-Message-UUID: 8debc898-eacc-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-lifjqhtixscngwbkphgiozggwe Content-Disposition: inline Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The tables go now from rune to rune, not from scancode to rune. This means that the tables are smaller. They are inside /sys/src/cmd/usb/= hid/map.c For example, this is the ukkbmap now: Rmap ukkbmap[] =3D { {L'"', L'@'}, // 0x0022 -> 0x0040 {L'#', L'=C2=A3'}, // 0x0023 -> 0x00a3 {L'=CE=B1', L'\\'}, // 0x0000 -> 0x005c {L'=CE=B2', L'|'}, // 0x0000 -> 0x007c {L'=CE=B3', L'=C2=AC'}, // 0x0000 -> 0x00ac {L'@', L'"'}, // 0x0040 -> 0x0022 {L'\\', L'#'}, // 0x005c -> 0x0023 {L'|', L'~'}, // 0x007c -> 0x007e {L'~', L'=C2=AC'}, // 0x007e -> 0x00ac {0, 0}, }; You have a xxkbmap[] per keyboard type. Also, you may have a xxaltkbmap[]= if you happen to have AltGr. The two arrays maps[] and altmaps[] in the same file (map.c) glue all the= tables together. --upas-lifjqhtixscngwbkphgiozggwe Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by aquamar; Mon Nov 17 20:58:45 MET 2003 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 90B9119B25; Mon, 17 Nov 2003 14:58:34 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.20.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id E9AE519B3E; Mon, 17 Nov 2003 14:58:12 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 8FD3419B25; Mon, 17 Nov 2003 14:57:09 -0500 (EST) Received: from plan9.ucalgary.ca (unknown [136.159.220.110]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id CDD7019AA0 for <9fans@cse.psu.edu>; Mon, 17 Nov 2003 14:56:57 -0500 (EST) Message-ID: <82daa8d2f0623077fcd23f57b21dd246@plan9.ucalgary.ca> To: 9fans@cse.psu.edu Subject: Re: [9fans] keyboard maps From: mirtchov@cpsc.ucalgary.ca In-Reply-To: <47d94c3968c679805304c49f77dabac5@plan9.escet.urjc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Mon, 17 Nov 2003 12:56:51 -0700 X-Spam-Status: No, hits=0.3 required=5.0 tests=IN_REP_TO,NO_REAL_NAME version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) I don't see kbd_bg.c, kbd_ru.c, kbd_fr.c, kbd_jp and kbd_uk.c there, have they been removed? andrey --upas-lifjqhtixscngwbkphgiozggwe--