From: Carlos Corbacho <cathectic@slackadelic.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@atrey.karlin.mff.cuni.cz
Subject: [PATCH] input - Add Euro and Dollar keys
Date: Thu, 25 Oct 2007 13:56:21 +0100 [thread overview]
Message-ID: <200710251356.21758.cathectic@slackadelic.com> (raw)
From: Carlos Corbacho <cathectic@gmail.com>
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 <cathectic@gmail.com>
---
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
next reply other threads:[~2007-10-25 12:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-25 12:56 Carlos Corbacho [this message]
2007-10-26 4:41 ` [PATCH] input - Add Euro and Dollar keys Dmitry Torokhov
2007-11-13 13:53 ` Carlos Corbacho
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200710251356.21758.cathectic@slackadelic.com \
--to=cathectic@slackadelic.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@atrey.karlin.mff.cuni.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.