Skip to contentSkip to conversation

atakbd_keycode

DISCUSSION Andreas Schwab 2 participants 2 messages Oct 24, 2015 – Oct 27, 2015

lore
Share & tools
lore
#0 lore raw

In drivers/input/keyboard/atakbd.c, the array atakbd_keycode is initialized like this:

	[41]	 = KEY_BACKSLASH,	/* FIXME, '#' */
	[43]	 = KEY_GRAVE,		/* FIXME: '~' */

Shouldn't that be the other way round? According to the Profibuch, on a US Atari keyboard the key which sends scancode 41 is the '`' key and the scancode 43 is sent by the '\' key. On a German keyboard, these are the '#' and '~' keys, resp.

Andreas.

Signature · 3 lines
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
#1 lore raw

Andreas,

you're certainly right there - I used the German keyboard to figure out the mapping (that's where the FIXMEs are from) and must have looked at a PC keyboard for some of the DE-US translation.

Thanks for spotting this. I'll better double check the entire keymap before preparing a patch ...

Cheers,

Michael

Am 25.10.15 um 02:35 schrieb Andreas Schwab:

Quoted 13 lines

In drivers/input/keyboard/atakbd.c, the array atakbd_keycode is initialized like this:

	[41]	 = KEY_BACKSLASH,	/* FIXME, '#' */
	[43]	 = KEY_GRAVE,		/* FIXME: '~' */

Shouldn't that be the other way round? According to the Profibuch, on a US Atari keyboard the key which sends scancode 41 is the '`' key and the scancode 43 is sent by the '\' key. On a German keyboard, these are the '#' and '~' keys, resp.

Andreas.