4.2 Editing Key Shortcuts
Key shortcuts of Solar System Simulator are defined in the Key Mapping Definition File (data/keymap.dkm). You can open and edit this file using Notepad or a regular text file editor.
When the key mapping definition file is opened, one key shortcut will be defined for each line. In key mapping definition, describe in the order of key name, Shift key simultaneous use flag, Ctrl key simultaneous use flag, and commands executed in this order, partitioned using more than one space. Specify key names from the following key name list. When the Shift/Ctrl key simultaneous flag is 1, it means that the keys are pressed together. When 0, it means that pressing a key without pressing the other key. Describe the command to be executed in the format of property settings and execution of method. You can also write multiple commands, separating each with a semicolon (;). To execute a scenario file, use the Sssim.LoadScenario command. Specify the scenario file name with the absolute path or relative path from the program.
The following is an example of key mapping definition files.
# Key
Mapping Definition File
Version:
7.0
Locale: en
KEY_SPACE 1 0 Camera.ModeNext
KEY_PAD0 0 0 Sssim.LoadScenario scenarios/init.scn
...
You may want to customize Solar System Simulator while referring to available key mapping definitions so that it is easier to use.
List of key names
KEY_A-KEY_Z, KEY_0-KEY_9, KEY_F1-KEY_F12, KEY_PAD0-KEY_PAD9(num. keys), KEY_RETURN, KEY_BACK(BackSpace), KEY_TAB, KEY_PAUSE, KEY_ESC, KEY_SPACE, KEY_PAGEUP, KEY_PAGEDOWN, KEY_END, KEY_HOME, KEY_LEFT, KEY_UP, KEY_RIGHT, KEY_DOWN (arrow keys), KEY_PRINT(PrintScreen), KEY_INSERT, KEY_DELETE, KEY_MULT(*), KEY_ADD(+), KEY_SUB(-), KEY_PERIOD(.), KEY_DIV(/), KEY_COMMA(,), KEY_SCROLL(ScrollLock), KEY_NUM(NumLock), KEY_JSBUTTON1-KEY_JSBUTTON16(buttons of the Jpystick)