/usr/share/doc/hatari/keymap-sample.txt is in hatari 1.8.0+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # 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 symbolic PC key code (see the SDL_keysym.h file
# from the SDL library header files which can usually be found in the
# folder /usr/include/SDL/).
#
# The corresponding key will be mapped to the ST key which is specified by
# second number - the ST scan code of the key (see src/keymap.c in the Hatari
# sources).
#
# tests/keymap/ directory contains programs to discover/test the PC SDL
# and Atari scan code values.
#
# 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
|