On Wed, Jul 06, 2005 at 03:20:12PM -0400, Micah F. Galizia wrote:
> Hello all,
>
> Hopefully there are no other issues with this patch, but again, let me
> know if there are.
Can you add a comment and a Signed-off-by: line?
>
> Thanks again!
> --
> Micah F. Galizia
> [EMAIL PROTECTED]
>
> "The mark of an immature man is that he wants to die
> nobly for a cause, while the mark of the mature man is
> that he wants to live humbly for one." --W. Stekel
> --- gitandhidpatches/drivers/usb/input/hid-input.c 2005-07-05
> 18:29:32.726219000 -0400
> +++ micah/drivers/usb/input/hid-input.c 2005-07-06 15:17:30.557711250
> -0400
> @@ -237,6 +237,7 @@
> case 0x000: goto ignore;
> case 0x034: map_key_clear(KEY_SLEEP);
> break;
> case 0x036: map_key_clear(BTN_MISC);
> break;
> + case 0x045: map_key_clear(KEY_RADIO);
> break;
> case 0x08a: map_key_clear(KEY_WWW);
> break;
> case 0x08d: map_key_clear(KEY_PROGRAM);
> break;
> case 0x095: map_key_clear(KEY_HELP);
> break;
> @@ -308,9 +309,32 @@
>
> case HID_UP_MSVENDOR:
> case HID_UP_LOGIVENDOR:
> +
> + goto ignore;
> +
> case HID_UP_LOGIVENDOR2:
>
> - goto ignore;
> + switch(usage->hid & HID_USAGE) {
> + case 0x004: map_key_clear(KEY_AGAIN);
> break;
> + case 0x00d: map_key_clear(KEY_HOME);
> break;
> + case 0x024: map_key_clear(KEY_SHUFFLE);
> break;
> + case 0x025: map_key_clear(KEY_TV);
> break;
> + case 0x026: map_key_clear(KEY_MENU);
> break;
> + case 0x031: map_key_clear(KEY_AUDIO);
> break;
> + case 0x032: map_key_clear(KEY_SUBTITLE);
> break;
> + case 0x033: map_key_clear(KEY_LAST);
> break;
> + case 0x047: map_key_clear(KEY_MP3);
> break;
> + case 0x048: map_key_clear(KEY_DVD);
> break;
> + case 0x049: map_key_clear(KEY_MEDIA);
> break;
> + case 0x04a: map_key_clear(KEY_VIDEO);
> break;
> + case 0x04b: map_key_clear(KEY_ANGLE);
> break;
> + case 0x04c: map_key_clear(KEY_LANGUAGE);
> break;
> + case 0x04d: map_key_clear(KEY_SUBTITLE);
> break;
> + case 0x051: map_key_clear(KEY_RED);
> break;
> + case 0x052: map_key_clear(KEY_CLOSE);
> break;
> + default: goto ignore;
> + }
> + break;
>
> case HID_UP_PID:
>
--
Vojtech Pavlik
SuSE Labs, SuSE CR
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel