The E3 has 2 keyboards, the external keyboard (or mailboard) and the builtin (or matrix) keyboard. This page shows how all the keys are mapped into the linux input system. The intention is to reach a concensus of what constitutes a sensible keymap for linux.
External Keyboard (unfinished)
In the following diagram, each key contains 4 rows:
- The key label
- The orginal scancode
- The translated scancode (done by ams delta keyboard driver)
- The keycode (done by the linux input subsystem)
,-----. ,-----. ,-----. ,----. ,----. ,----. ,----. ,----. ,----. ,----. ,----. |STORE| |Setup| |SRVCS| |GAME| |INET| |HOME| |OFFC| |MOBL| |MMSG| |EMAL| |FAX | | 70 | | 7a | | 46 | | 7c | | 77 | Amstrad | 72 | | 69 | | 1a | | 2a | | 1c | | 15 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `-----' `-----' `-----' `----' `----' `----' `----' `----' `----' `----' `----' ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. |Stop | | 1 | | 2 | | 3 | | 4 | | 5 | | 6 | | 7 | | 8 | | 9 | | 0 | | <- | | 71 | | 74 | | 73 | | 6b | | 22 | | 1b | | 1d | | 1e | | 79 | | 7d | | 75 | | 6c | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,---------. | Q | | W | | E | | R | | T | | Y | | U | | I | | O | | P | | | | 21 | | 23 | | 24 | | 26 | | 52 | | 5d | | 0d | | 0e | | 32 | | 34 | | 2c | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' '--. | ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. \ | | A | | S | | D | | F | | G | | H | | J | | K | | L | | @ | | | | 31 | | 33 | | 35 | | 36 | | 29 | | 5b | | 03 | | 76 | | 3a | | 3b | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' '-----' ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. ,-----. | | | Z | | X | | C | | V | | B | | N | | M | | . | | ^ | |SHIFT| | 3c | | 3d | | 4e | | 54 | | 0b | | 05 | | 41 | | 42 | | 43 | | 3e | | 55 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' `-----' ,-----. ,-----. ,-----. ,-----------------------------. ,-----. ,-----. ,-----. ,-----. |PRN | |ADDR | |SYMBL| | | | , | | < | | v | | > | | 83 | | 06 | | 49 | | 4b | | 44 | | 16 | | 2e | | 09 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `-----' `-----' `-----' `-----------------------------' `-----' `-----' `-----' `-----'
Keypad (on top of device)
This is to keep track of what I plan to commit as the default keymap for the keypad.
Keypad label |
Assigned key |
Advert (on lcd) |
KEY_F1 |
Games |
KEY_COFFEE |
Directory |
KEY_QUESTION |
Internet |
KEY_CONNECT |
Services |
KEY_SHOP |
Voicemail |
KEY_PHONE |
--- |
--- |
Delete |
KEY_DELETE |
Play |
KEY_PLAY |
Up/Down |
KEY_PAGEUP / KEY_PAGEUP |
Read |
KEY_EMAIL |
Stop |
KEY_STOP |
--- |
--- |
Numeric keypad |
KEY_KP1 etc (ie like PC numeric keypad) |
* |
KEY_KPASTERISK |
# |
KEY_KPDOT |
Mute |
KEY_NUMLOCK (possibly not?) |
Recall |
KEY_KPMINUS |
Redial |
KEY_KPPLUS |
Handsfree |
KEY_KPSLASH |
Photo Send |
KEY_CAMERA |
Video |
KEY_ENTER |
--- |
--- |
Home |
KEY_F2 |
Office |
KEY_F3 |
Mobile |
KEY_F4 |
Mobile Msg |
KEY_F5 |
KEY_F6 |
|
--- |
--- |
QWERTY keypad |
as per key tops. |
Vol Up |
KEY_LEFTSHIFT |
Vol Down |
KEY_LEFTCTRL |