G900 Keyboard
Материал из G900
Версия от 23:40, 2 августа 2010; Mikka (обсуждение | вклад)
PXA matrix
Gpio pin config
GPIO100_KP_MKIN_0 | GPIO103_KP_MKOUT_0 |
GPIO101_KP_MKIN_1 | GPIO104_KP_MKOUT_1 |
GPIO102_KP_MKIN_2 | GPIO105_KP_MKOUT_2 |
GPIO97_KP_MKIN_3 | GPIO106_KP_MKOUT_3 |
GPIO98_KP_MKIN_4 | GPIO107_KP_MKOUT_4 |
GPIO99_KP_MKIN_5 | GPIO108_KP_MKOUT_5 |
GPIO95_KP_MKIN_6 | GPIO35_KP_MKOUT_6 |
GPIO13_KP_MKIN_7 | GPIO22_KP_MKOUT_7 |
Key config
KEY(0, 0, KEY_C) | KEY(0, 1, KEY_Z) | KEY(0, 2, KEY_B) | KEY(0, 3, KEY_X) | KEY(0, 4, KEY_V) | KEY(0, 5, KEY_LEFTSHIFT) | KEY(0, 6, KEY_F1) | KEY(0, 7, KEY_N) |
KEY(1, 0, KEY_LANGUAGE)
KEY(1, 0, KEY_MINUS) |
KEY(1, 1, KEY_LEFTMETA ) | KEY(1, 2, KEY_SPACE) | KEY(1, 3, KEY_LEFTALT) | KEY(1, 4, KEY_2) | KEY(1, 5, KEY_FN),
KEY(1, 5, KEY_8) |
KEY(1, 6, KEY_F2) | KEY(1, 7, KEY_COMMA), |
KEY(2, 0, KEY_R) | KEY(2, 1, KEY_W) | KEY(2, 2, KEY_Y) | KEY(2, 3, KEY_E) | KEY(2, 4, KEY_T) | KEY(2, 5, KEY_Q) | KEY(2, 6, KEY_U) | KEY(2, 7, KEY_J) |
KEY(3, 0, KEY_F) | KEY(3, 1, KEY_S) | KEY(3, 2, KEY_G) | KEY(3, 3, KEY_D) | KEY(3, 4, KEY_H) | KEY(3, 5, KEY_A) | KEY(3, 6, KEY_WWW) | KEY(3, 7, KEY_ENTER) |
KEY(4, 0, KEY_BACKSPACE) | KEY(4, 1, KEY_P) | KEY(4, 2, KEY_O) | KEY(4, 3, KEY_I) | KEY(4, 4, KEY_1) | KEY(4, 5, KEY_VOLUMEDOWN) | KEY(4, 6, KEY_VOLUMEUP) | KEY(4, 7, KEY_CAMERA) |
KEY(5, 0, KEY_KPENTER) | KEY(5, 1, KEY_UP) | KEY(5, 2, KEY_APOSTROPHE) | KEY(5, 3, KEY_M) | KEY(5, 4, KEY_PHONE) | KEY(5, 5, KEY_UP) | KEY(5, 6, KEY_OK) | KEY(5, 7, KEY_CANCEL) |
KEY(6, 0, KEY_LEFTCTRL) | KEY(6, 1, KEY_BACKSLASH) | KEY(6, 2, KEY_L) | KEY(6, 3, KEY_K) | KEY(6, 4, KEY_F2) | KEY(6, 5, KEY_LEFT) | KEY(6, 6, KEY_PROG1) | KEY(6, 7, KEY_DOWN) |
KEY(7, 0, KEY_RIGHT) | KEY(7, 1, KEY_DOWN) | KEY(7, 2, KEY_LEFT) | KEY(7, 3, KEY_DOT) | KEY(7, 4, KEY_MAIL) | KEY(7, 5, KEY_RIGHT) | KEY(7, 6, KEY_MENU) | KEY(7, 7, KEY_HOME) |