lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	08 Feb 2010 13:02:05 +0000
From:	"L.P. White" <lpw25@....ac.uk>
To:	Jiri Kosina <jkosina@...e.cz>
Cc:	linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] HID: Add mapping for "AL Network Chat" usage

From: Leo P White <lpw25@....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@....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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ