[hatari-devel] Hatari keyboard mapping

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


I admit I have been going crazy this evening trying to remap the keyboard to get the ST’s Help and Undo keys. I thought I had this working a long time ago but, when I tried to change the values in the keymap.txt file, the Help key is still mapped to F13 and the Undo key is mapped to F14. Unfortunately, the base Mac keyboard that I am using again does not have an F13 or F14 key so I am unable to press the key that generates a Help or Undo key.

I have even done ridiculous things like remap the Help key to the Tab key. However, when using Word Writer ST, it only generates a Tab key and not the Help key I anticipated.

I have checked the settings and the keyboard is set to File and points to the keymap.txt on my Desktop. The default hatari.cfg points to a keymap.txt file that no longer exists.

What I would like to do is either reuse F11 and F12 for Help and Undo or use the modifier keys (Shift-F1, Shift-F2) to generate the Help and Undo keys. I have looked at keymap.c to find the ST scancode and SDL_keysym.h to see the scancode generated by the Mac, but I am still doing something wrong. If someone can point me in the correct direction, I would really appreciate it.

Bob C





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