HatariWii/doc/keymap-sample.txt
2018-05-25 20:45:09 +02:00

23 lines
925 B
Plaintext

# This is an example for a keyboard mapping file that can be used in Hatari
# by loading it from the keyboard setup dialog.
#
# Lines starting with a '#' or with a ';' are comments.
# All other lines should contain exactly two numbers separated by a comma.
#
# The first number is the libSDL symbolic PC key code.
# See the "--trace keymap" output from Hatari.
#
# The corresponding key will be mapped to the ST key which is specified by
# second number - the ST scan code of the key. "--trace keymap" output
# shows the already mapped scan code.
#
# tests/keymap/ directory contains programs to discover/test the PC SDL
# and Atari scan code values. Hatari's default PC key code -> ST scan
# code mappings are in src/keymap.c source file.
#
# Example: If you want to get the 'y' and 'z' keys right with a german TOS
# ROM, you can use the following two lines to map the PC keys to the right
# ST scan codes:
121,44
122,21