Prev | Home | Next
Overview |  | Popup menu

# 5. Keyboard mapping

## 5.1 Default mapping

The best way to do keypresses is by using your PC keyboard. The layout has been designed for American English (QWERTY) keyboards. Given that some TI keys does not exist on a real keyboard, we need to bind them on some PC keys. This depends on the calculator model you emulate.
Note that the keyboard mapping is the same as VTI, the well known TI emulator for Windows.

TI92(+)/V200 | PC |  | TI92+/V200 | PC
APPS | F9 | sin | Insert
THETA | ; | cos | Home
STO> | TAB | tan | Page Up
diamond | CTRL | CLEAR | Delete
2nd | ALT | ON | Scroll Lock
( | [ | ENTER1 | ENTER / NumPad ENTER
) | ] | ENTER2 | End [Linux]
HAND/LOCK | CAPS LOCK | ^ | Page Down
LN | \ |  |

TI89 (Titanium) | PC |  | TI89 (Titanium) | PC
CATALOG | F6 | MODE | `
APPS | F9 | | | \
STO> | TAB | EE | Insert
diamond | CTRL | CLEAR | Delete
2nd | ALT | ON | Scroll Lock
alpha | CAPS LOCK | ^ | Page Up
HOME | Home |  |  |

## 5.2 Custom mapping

With TiEmu, you can define and use your own mapping. This is done thru a 'keyboard mapping file' or 'keymap' for short. Keymaps are located in the skins folder and have the .map extension. Default keymaps are ti89.map (TI89, TI89 Titanium) and ti92.map (TI92, TI92+, V200PLT).
Those keymaps are text files with a straightforward syntax :

    Model: TI89t

    // English mapping (VTi-compatible)

    // Alphabetical

    PCKEY_A:TIKEY_EQUALS,TIKEY_ALPHA

    PCKEY_OEM_SCROLL:TIKEY_ON

Model can be 'ti89', 'ti92', 'ti92+', 'v200' or 'ti89t'.
Next, there are some key pairs: "PCKEY_xxx:TIKEY_xxx,TIKEY_yyy". PCKEY_xxx is the input key, TIKEY_xxx, TIKEY_yyy are the output keys.
If you want to write your own keymap, you may need to know which scancode to bind to. TiEmu can help you by displaying it if you set the 'kbd_dbg' variable in the tiemu.ini file to 'yes'. Windows users will have to set the 'console' variable to 'yes', too.