From: Carlos Corbacho <[EMAIL PROTECTED]>

These keys are used on PS/2 controllers, so their current values are too
high to map the scancodes to. Move them to the < 256 range.

Signed-off-by: Carlos Corbacho <[EMAIL PROTECTED]>
---
This is one solution to my previously posted problem - just move the keycodes
to ones that can be used by setkeycodes.

 include/linux/input.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/input.h b/include/linux/input.h
index d423cf1..94c3c4b 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -371,6 +371,9 @@ struct input_absinfo {
 #define KEY_BRIGHTNESS_ZERO    244     /* brightness off, use ambient */
 #define KEY_DISPLAY_OFF                245     /* display device to off state 
*/
 
+#define KEY_DOLLAR             246
+#define KEY_EURO               247
+
 #define BTN_MISC               0x100
 #define BTN_0                  0x100
 #define BTN_1                  0x101
@@ -527,9 +530,6 @@ struct input_absinfo {
 #define KEY_SPELLCHECK         0x1b0   /* AL Spell Check */
 #define KEY_LOGOFF             0x1b1   /* AL Logoff */
 
-#define KEY_DOLLAR             0x1b2
-#define KEY_EURO               0x1b3
-
 #define KEY_DEL_EOL            0x1c0
 #define KEY_DEL_EOS            0x1c1
 #define KEY_INS_LINE           0x1c2
-- 
1.5.3.3

-
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to