Re: [hatari-devel] Keyboard mappings?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On 11/01/2016 11:13 PM, Thomas Huth wrote:
I think there is/was a reason for mapping PAGEUP to 0x63 and PAGEDOWN to
0x64 ... if you have a closer look at the Atari keyboard, there are
four keys that can not be found on a normal PC keyboard: HELP, UNDO,
KP-"(" and KP-")". So on a PC keyboard, they should be mapped to keys
that can not be found on a normal Atari keyboard - SCROLLOCK, PRINT,
PAGEUP and PAGEDOWN.

The symbolic mapping uses:

 SCROLLOCK <=> UNDO (0x61)
 PRINT     <=> HELP (0x62)

Thanks, I missed these.  They seem to work fine (with SDL2 build).


 PAGEUP    <=> KP-"(" (0x63)
 PAGEDOWN  <=> KP-")" (0x64)

==> If you change PAGEUP and PAGEDOWN here, you should change SCROLLOCK
and PRINT, too.

The SDL1 scancode mapping uses:

 PAGEUP     <=> HELP (0x62)
 PAGEDOWN   <=> UNDO (0x61)

Scroll lock and print are mapped via scancode offset here, not sure
whether they end up with a sane Atari key, though...

The SDL2 scancode mapping uses:

 SCROLLLOCK <=> UNDO (0x61)
 PRINT      <=> HELP (0x62)
 PAGEUP     <=> HELP (0x62)
 PAGEDOWN   <=> UNDO (0x61)

==> So the keypad parentheses can not by typed at all here. We should
likely change SCROLLOCK and PRINT here, too.

Would you have time to fix this and update the Hatari
manual page & manual?


	- Eero



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/