Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2006-08-17 18:13:25
Size: 5352
Comment: Add keypad.
Revision 6 as of 2008-02-19 15:39:29
Size: 5610
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 56: Line 56:
|| Games || ||
|| Directory || ||
|| Internet || ||
|| Services || ||
|| Voicemail || ||
|| Advert (on lcd)|| KEY_F1 ||
|| Games || KEY_COFFEE ||
|| Directory || KEY_QUESTION ||
|| Internet || KEY_CONNECT ||
|| Services || KEY_SHOP ||
|| Voicemail || KEY_PHONE ||
Line 62: Line 63:
|| Delete || ||
|| Play || ||
|| Up/Down || ||
|| Read || ||
|| Stop || ||
|| Delete || KEY_DELETE ||
|| Play || KEY_PLAY ||
|| Up/Down || KEY_PAGEUP / KEY_PAGEUP ||
|| Read || KEY_EMAIL ||
|| Stop || KEY_STOP ||
Line 75: Line 76:
|| Photo Send ||            || || Photo Send || KEY_CAMERA ||
Line 78: Line 79:
|| Home || ||
|| Office || ||
|| Mobile || ||
|| Mobile Msg || ||
|| Email || ||
|| Home || KEY_F2 ||
|| Office || KEY_F3 ||
|| Mobile || KEY_F4 ||
|| Mobile Msg || KEY_F5 ||
|| Email || KEY_F6 ||

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

Email

KEY_F6

---

---

QWERTY keypad

as per key tops.

Vol Up

KEY_LEFTSHIFT

Vol Down

KEY_LEFTCTRL

TheEarthWiki: E3_Keymaps (last edited 2008-02-19 15:39:29 by localhost)