diff options
author | Frederic Bompart <frederic@unknown.openembedded.org> | 2005-09-19 15:28:24 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-19 15:28:24 +0000 |
commit | 9e78fbcaa42858a2df5ace75554c620ac048b729 (patch) | |
tree | ab8ec566801aeda092eaba2daa5f692e95e825ee /packages/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/simpad-switches-input2.diff | |
parent | 2f8389dfedb897cdda2a8f963f4bd8a93d2a42df (diff) |
added opensimpad-2.4.27-vrs1-pxa1-jpm1 kernel. This contains the
following new patches over 2.4.25:
- simpad-proc-sys-board.patch (/proc/sys/board patch from Till Harbaum)
- simpad-serial.patch (DTR/RTS/CTS support patch from Till Harbaum)
- mppe-20040216.patch (add MPPE encryption for PPP)
- 2.4.27-mh1.patch (bluetooth patches from Marcel Holtmann)
Common patches were placed in the "opensimpad" directory.
Diffstat (limited to 'packages/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/simpad-switches-input2.diff')
-rw-r--r-- | packages/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/simpad-switches-input2.diff | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/packages/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/simpad-switches-input2.diff b/packages/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/simpad-switches-input2.diff deleted file mode 100644 index 4f9d0bf93a..0000000000 --- a/packages/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/simpad-switches-input2.diff +++ /dev/null @@ -1,41 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- drivers/misc/switches-core.c~Fooo -+++ drivers/misc/switches-core.c -@@ -66,7 +66,32 @@ - int - dummy_k_translate(unsigned char scancode, unsigned char *keycode, char raw_mode) - { -- *keycode = scancode; -+ if (scancode == KEY_UP) -+ *keycode = 144; -+ else if (scancode == KEY_LEFT) -+ *keycode = 146; -+ else if (scancode == KEY_RIGHT) -+ *keycode = 151; -+ else if (scancode == KEY_DOWN) -+ *keycode = 161; -+ else if (scancode == 144) -+ *keycode = KEY_UP; -+ else if (scancode == 146) -+ *keycode = KEY_LEFT; -+ else if (scancode == 151) -+ *keycode = KEY_RIGHT; -+ else if (scancode == 161) -+ *keycode = KEY_DOWN; -+ else if (scancode == KEY_KP8) -+ *keycode = KEY_UP; -+ else if (scancode == KEY_KP4) -+ *keycode = KEY_LEFT; -+ else if (scancode == KEY_KP6) -+ *keycode = KEY_RIGHT; -+ else if (scancode == KEY_KP2) -+ *keycode = KEY_DOWN; -+ else -+ *keycode = scancode; - return 1; - } - |