Annotation of hatari/doc/keymap-sample.txt, revision 1.1.1.2

1.1       root        1: # This is an example for a keyboard mapping file that can be used in Hatari
                      2: # by loading it from the keyboard setup dialog.
                      3: #
                      4: # Lines starting with a '#' or with a ';' are comments.
                      5: # All other lines should contain exactly two numbers separated by a comma.
1.1.1.2 ! root        6: # The first number is the symbolic PC key code (see the SDL_keysym.h file
        !             7: # from the SDL library header files usually in /usr/share/SDL/).
1.1       root        8: # The corresponding key will be mapped to the ST key which is specified by
1.1.1.2 ! root        9: # second number - the ST scan code of the key (see src/keymap.c in the Hatari
        !            10: # sources).
1.1       root       11: #
                     12: # Example: If you want to get the 'y' and 'z' keys right with a german TOS
                     13: # ROM, you can use the following two lines to map the PC keys to the right
                     14: # ST scan codes:
                     15: 121,44
                     16: 122,21

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.