File: keymap-sample.txt

package info (click to toggle)
hatari 0.90-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,984 kB
  • ctags: 3,012
  • sloc: ansic: 29,954; sh: 2,871; objc: 1,173; asm: 260; makefile: 199
file content (16 lines) | stat: -rw-r--r-- 744 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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 usually in /usr/share/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).
#
# 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