pbfy0 / nspire-z80

TI-84 emulator for the TI-Nspire
18 stars 1 forks source link

Keymapping #6

Open hding24 opened 5 years ago

hding24 commented 5 years ago

What is the key map for the emulator?

pbfy0 commented 5 years ago

The keymap is documented (sort of) in keypad.c. n_key_ar represents the keys on the nspire, and n_84_key_ar represents the keys on the ti-84. Keys in the same position in the arrays are mapped together.

Keys that have a direct correlation (e.g. number keys) are mapped directly. Other mappings are:

Nspire TI-84
Clear
🖩(Scratchpad) PRGM
π STAT
doc APPS
🏳(Flag) STO
ex LN
10x LOG
?! X-1
menu MATH
shift ALPHA
= GRAPH
trig TRACE
EE ZOOM
\|□\|{⧉ / := WIND
A Y=
ctrl 2ND
tab MODE

Writing this, I realize that sin and cos both aren't actually bound to anything on touchpad/CX; they're bound to keys that only exist on Clickpad calculators. I'll make a quick fix for that and upload it.

pbfy0 commented 5 years ago

On looking at this, the keymappings for the 84's top row are pretty nonsense. I might change those around too.

hding24 commented 5 years ago

Thanks!

pbfy0 commented 5 years ago

Here's the "quick fix", two and a half months later. Available in version 0.12.

Nspire TI-84
F COS
E SIN
📖 GRAPH
Clear
🖩(Scratchpad) PRGM
π STAT
doc APPS
🏳(Flag) STO
ex LN
10x LOG
?! X-1
menu MATH
shift ALPHA
= Y=
trig WIND
EE ZOOM
\|□\|{⧉ / := TRACE
ctrl 2ND
tab MODE