diff options
Diffstat (limited to 'meta/packages/linux/linux-openzaurus-2.6.16/locomo-kbd-hotkeys.patch')
-rw-r--r-- | meta/packages/linux/linux-openzaurus-2.6.16/locomo-kbd-hotkeys.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-openzaurus-2.6.16/locomo-kbd-hotkeys.patch b/meta/packages/linux/linux-openzaurus-2.6.16/locomo-kbd-hotkeys.patch new file mode 100644 index 0000000000..8b296780d4 --- /dev/null +++ b/meta/packages/linux/linux-openzaurus-2.6.16/locomo-kbd-hotkeys.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | --- linux-2.6.16/drivers/input/keyboard/locomokbd.c 2006-05-11 18:15:17.392063008 +0200 | ||
2 | +++ linux-2.6.16/drivers/input/keyboard/locomokbd.c.ok 2006-05-11 18:14:55.870334808 +0200 | ||
3 | @@ -44,24 +44,29 @@ | ||
4 | |||
5 | #define LOCOMOKBD_NUMKEYS 128 | ||
6 | |||
7 | -#define KEY_ACTIVITY KEY_F16 | ||
8 | -#define KEY_CONTACT KEY_F18 | ||
9 | -#define KEY_CENTER KEY_F15 | ||
10 | + | ||
11 | +#define LOCOMO_KEY_CALENDER KEY_F1 | ||
12 | +#define LOCOMO_KEY_ADDRESS KEY_F2 | ||
13 | +#define LOCOMO_KEY_CANCEL KEY_F4 | ||
14 | +#define LOCOMO_KEY_CENTER KEY_F5 | ||
15 | +#define LOCOMO_KEY_MAIL KEY_F10 | ||
16 | +#define LOCOMO_KEY_OK KEY_F11 | ||
17 | +#define LOCOMO_KEY_MENU KEY_F12 | ||
18 | |||
19 | static unsigned char locomokbd_keycode[LOCOMOKBD_NUMKEYS] = { | ||
20 | - 0, KEY_ESC, KEY_ACTIVITY, 0, 0, 0, 0, 0, 0, 0, /* 0 - 9 */ | ||
21 | - 0, 0, 0, 0, 0, 0, 0, KEY_MENU, KEY_HOME, KEY_CONTACT, /* 10 - 19 */ | ||
22 | - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 20 - 29 */ | ||
23 | - 0, 0, 0, KEY_CENTER, 0, KEY_MAIL, 0, 0, 0, 0, /* 30 - 39 */ | ||
24 | - 0, 0, 0, 0, 0, 0, 0, 0, 0, KEY_RIGHT, /* 40 - 49 */ | ||
25 | - KEY_UP, KEY_LEFT, 0, 0, KEY_P, 0, KEY_O, KEY_I, KEY_Y, KEY_T, /* 50 - 59 */ | ||
26 | - KEY_E, KEY_W, 0, 0, 0, 0, KEY_DOWN, KEY_ENTER, 0, 0, /* 60 - 69 */ | ||
27 | - KEY_BACKSPACE, 0, KEY_L, KEY_U, KEY_H, KEY_R, KEY_D, KEY_Q, 0, 0, /* 70 - 79 */ | ||
28 | - 0, 0, 0, 0, 0, 0, KEY_ENTER, KEY_RIGHTSHIFT, KEY_K, KEY_J, /* 80 - 89 */ | ||
29 | - KEY_G, KEY_F, KEY_X, KEY_S, 0, 0, 0, 0, 0, 0, /* 90 - 99 */ | ||
30 | - 0, 0, KEY_DOT, 0, KEY_COMMA, KEY_N, KEY_B, KEY_C, KEY_Z, KEY_A, /* 100 - 109 */ | ||
31 | - KEY_LEFTSHIFT, KEY_TAB, KEY_LEFTCTRL, 0, 0, 0, 0, 0, 0, 0, /* 110 - 119 */ | ||
32 | - KEY_M, KEY_SPACE, KEY_V, KEY_APOSTROPHE, KEY_SLASH, 0, 0, 0 /* 120 - 128 */ | ||
33 | + 0, LOCOMO_KEY_CANCEL, LOCOMO_KEY_CALENDER, KEY_HOME, 0, 0, 0, 0, 0, 0, /* 0 - 9 */ | ||
34 | + KEY_HOME, 0, 0, 0, 0, 0, 0, LOCOMO_KEY_MENU, KEY_HOME, LOCOMO_KEY_ADDRESS, /* 10 - 19 */ | ||
35 | + 0, 0, 0, 0, 0, LOCOMO_KEY_MAIL, 0, 0, 0, 0, /* 20 - 29 */ | ||
36 | + 0, 0, 0, LOCOMO_KEY_CENTER, 0, LOCOMO_KEY_MAIL, 0, 0, 0, 0, /* 30 - 39 */ | ||
37 | + 0, 0, 0, 0, 0, 0, 0, 0, 0, KEY_RIGHT, /* 40 - 49 */ | ||
38 | + KEY_UP, KEY_LEFT, 0, 0, KEY_P, 0, KEY_O, KEY_I, KEY_Y, KEY_T, /* 50 - 59 */ | ||
39 | + KEY_E, KEY_W, 0, 0, 0, 0, KEY_DOWN, LOCOMO_KEY_OK, 0, 0, /* 60 - 69 */ | ||
40 | + KEY_BACKSPACE, 0, KEY_L, KEY_U, KEY_H, KEY_R, KEY_D, KEY_Q, 0, 0, /* 70 - 79 */ | ||
41 | + 0, 0, 0, 0, 0, 0, KEY_ENTER, KEY_RIGHTSHIFT, KEY_K, KEY_J, /* 80 - 89 */ | ||
42 | + KEY_G, KEY_F, KEY_X, KEY_S, 0, 0, 0, 0, 0, 0, /* 90 - 99 */ | ||
43 | + 0, 0, KEY_DOT, 0, KEY_COMMA, KEY_N, KEY_B, KEY_C, KEY_Z, KEY_A, /* 100 - 109 */ | ||
44 | + KEY_LEFTSHIFT, KEY_TAB, KEY_LEFTCTRL, 0, 0, 0, 0, 0, 0, 0, /* 110 - 119 */ | ||
45 | + KEY_M, KEY_SPACE, KEY_V, KEY_APOSTROPHE, KEY_SLASH, 0, 0, 0 /* 120 - 128 */ | ||
46 | }; | ||
47 | |||
48 | #define KB_ROWS 16 | ||