From mboxrd@z Thu Jan 1 00:00:00 1970 References: <0c0e042f4207764fa55c579c4fe51453@ladd.quanstro.net> From: Steve Simon Content-Type: text/plain; charset=us-ascii In-Reply-To: <0c0e042f4207764fa55c579c4fe51453@ladd.quanstro.net> Message-Id: <0C5572CF-B87C-4544-B4FD-25A07706A629@quintile.net> Date: Tue, 6 May 2014 22:37:40 +0100 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: [9fans] teg2 kbd Topicbox-Message-UUID: dfa50148-ead8-11e9-9d60-3106f5b1d025 yep, that was for me. weird uk usb keyboards. nearly all the keyboard works but the pipe/backslash key is a special. the patch appeared twice, once in the pc keyboard driver and once for the raspberry pi (shared with omap). there is also someone who had a similar problem with german keyboards in the archives, though their fix was a little crude (sorry). i worried at the time that adding two entire pages of lookup table seemed si= lly to support one key with three functions, but memory is cheap enough that 2 x= 256 bytes is not outrageous. the 8042 is dead (ish) steve > On 6 May 2014, at 17:06, erik quanstrom wrote: >=20 > does anyone know why the teg2 keyboard code has these two extra > scan code tables? >=20 > case 5: > *r =3D kbtabctrlesc1[*sc]; > return 1; > case 6: > *r =3D kbtabshiftesc1[*sc]; > return 1; >=20 > - erik