From: Carlos Corbacho <[EMAIL PROTECTED]>

Most newer Acer laptops (from 2005 onwards) now ship with an extra Dollar
and Euro key either side of the 'Up' arrow. These cannot be mapped in the 
traditional way, since they are not combination keys.

Signed-off-by: Carlos Corbacho <[EMAIL PROTECTED]>
---
Dimitry,

1) This patch is based against Linus' tree, since your 
include/linux/input.h is out of date.

2) I am aware that there was some discussion over whether KEY_EURO should
become KEY_CURRENCY, due to concerns that Acer may one day release a laptop
with a different currency key instead of the Euro.

If you would prefer this patch to be redone with KEY_CURRENCY instead, then
I am happy to do so, if it means this will go upstream.

diff --git a/include/linux/input.h b/include/linux/input.h
index 6226892..b45f240 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -527,6 +527,9 @@ 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

Reply via email to