* [PATCH] HID: Add mapping for "AL Network Chat" usage
@ 2010-02-08 13:02 L.P. White
2010-02-09 10:17 ` Jiri Kosina
0 siblings, 1 reply; 2+ messages in thread
From: L.P. White @ 2010-02-08 13:02 UTC (permalink / raw)
To: Jiri Kosina; +Cc: linux-input, linux-kernel
From: Leo P White <lpw25@cam.ac.uk>
Adding a mapping for the 'AL Network Chat' usage from the 'Consumer' usage
page (USB HID Usage Tables v1.11). This usage is used by some keyboards for
a multimedia key.
Signed-off-by: Leo P White <lpw25@cam.ac.uk>
---
diff -upNr linux.orig/drivers/hid/hid-input.c
linux.new/drivers/hid/hid-input.c --- linux.orig/drivers/hid/hid-input.c
2010-02-06 22:17:12.000000000 +0000 +++ linux.new/drivers/hid/hid-input.c
2010-02-08 12:32:13.005554190 +0000 @@ -400,6 +400,7 @@ static void
hidinput_configure_usage(str
case 0x192: map_key_clear(KEY_CALC); break;
case 0x194: map_key_clear(KEY_FILE); break;
case 0x196: map_key_clear(KEY_WWW); break;
+ case 0x199: map_key_clear(KEY_CHAT); break;
case 0x19c: map_key_clear(KEY_LOGOFF); break;
case 0x19e: map_key_clear(KEY_COFFEE); break;
case 0x1a6: map_key_clear(KEY_HELP); break;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] HID: Add mapping for "AL Network Chat" usage
2010-02-08 13:02 [PATCH] HID: Add mapping for "AL Network Chat" usage L.P. White
@ 2010-02-09 10:17 ` Jiri Kosina
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2010-02-09 10:17 UTC (permalink / raw)
To: L.P. White; +Cc: linux-input, linux-kernel
On Mon, 8 Feb 2010, L.P. White wrote:
> From: Leo P White <lpw25@cam.ac.uk>
>
> Adding a mapping for the 'AL Network Chat' usage from the 'Consumer' usage
> page (USB HID Usage Tables v1.11). This usage is used by some keyboards for a
> multimedia key.
>
> Signed-off-by: Leo P White <lpw25@cam.ac.uk>
>
> ---
>
> diff -upNr linux.orig/drivers/hid/hid-input.c
> linux.new/drivers/hid/hid-input.c --- linux.orig/drivers/hid/hid-input.c
> 2010-02-06 22:17:12.000000000 +0000 +++ linux.new/drivers/hid/hid-input.c
> 2010-02-08 12:32:13.005554190 +0000 @@ -400,6 +400,7 @@ static void
> hidinput_configure_usage(str
> case 0x192: map_key_clear(KEY_CALC); break;
> case 0x194: map_key_clear(KEY_FILE); break;
> case 0x196: map_key_clear(KEY_WWW); break;
> + case 0x199: map_key_clear(KEY_CHAT); break;
> case 0x19c: map_key_clear(KEY_LOGOFF); break;
> case 0x19e: map_key_clear(KEY_COFFEE); break;
> case 0x1a6: map_key_clear(KEY_HELP); break;
Thanks for the patch. It has been line-wrapped and whitespace-damaged.
I have fixed it up by hand on my end and applied it, but please keep that
in mind for you future patch submissions.
Thanks,
--
Jiri Kosina
SUSE Labs, Novell Inc.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-09 10:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-08 13:02 [PATCH] HID: Add mapping for "AL Network Chat" usage L.P. White
2010-02-09 10:17 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).