From: Andy Armstrong <andy@hexten.net>
To: Andy Armstrong <andy@hexten.net>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 2.6.11.7 2/2] USB HID: Patch for Cherry CyMotion Linux keyboard
Date: Mon, 18 Apr 2005 17:45:00 +0100 [thread overview]
Message-ID: <4c7663456024e2e92f003a136a74b39b@hexten.net> (raw)
In-Reply-To: <37b978ceccdb5fbea39a925ea9eaa2cb@hexten.net>
And here are the changes to support the extra keys...
diff -ur linux-2.6.11.7.orig/drivers/usb/input/hid-input.c
linux/drivers/usb/input/hid-input.c
--- linux-2.6.11.7.orig/drivers/usb/input/hid-input.c 2005-04-07
19:57:34.000000000 +0100
+++ linux/drivers/usb/input/hid-input.c 2005-04-18 13:36:16.000000000
+0100
@@ -270,6 +270,12 @@
case 0x227: map_key_clear(KEY_REFRESH); break;
case 0x22a: map_key_clear(KEY_BOOKMARKS); break;
case 0x238: map_rel(REL_HWHEEL); break;
+ case 0x233:
map_key_clear(KEY_SCROLLUP); break;
+ case 0x234:
map_key_clear(KEY_SCROLLDOWN); break;
+ case 0x301: map_key_clear(KEY_PROG1);
break;
+ case 0x302: map_key_clear(KEY_PROG2);
break;
+ case 0x303: map_key_clear(KEY_PROG3);
break;
+ case 0x279: map_key_clear(KEY_AGAIN);
break;
default: goto unknown;
}
break;
--
Andy Armstrong, hexten.net
next prev parent reply other threads:[~2005-04-18 16:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-18 16:41 [PATCH 2.6.11.7 1/2] " Andy Armstrong
2005-04-18 16:45 ` Andy Armstrong [this message]
2005-04-18 18:14 ` Greg KH
2005-04-18 20:08 ` Andy Armstrong
2005-04-18 21:11 ` Andy Armstrong
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=4c7663456024e2e92f003a136a74b39b@hexten.net \
--to=andy@hexten.net \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome