[PATCH 2/2] hid: sony: Update file header and correct comments

2014-09-14 Thread Frank Praznik
Update the file header and correct an outdated comment block. Signed-off-by: Frank Praznik frank.praz...@oh.rr.com --- drivers/hid/hid-sony.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 75da56d..96a8ec5

[PATCH 1/2] hid: sony: Corrections for the DualShock 4 HID descriptor

2014-09-14 Thread Frank Praznik
Fix a few minor issues in the HID descriptor: - A 6 bit entry had a logical maximum of 255 when the largest it can be is 63. - A logical max value was incorrectly being set to -1 instead of 255. - Set the min/max of the gyroscopes to -8192/8191 as that is the range of values which represent

Re: [PATCH] Handle spurious backslash key repeats on some keyboards

2014-09-14 Thread David Herrmann
Hi On Sun, Aug 10, 2014 at 11:56 AM, Fredrik Hallenberg megahal...@gmail.com wrote: Here is my attempt on a fix for bug 70181, please review it. It is tested on my nordic Corsair K70, if this solution is deemed acceptable I can ask some people with other problematic keyboards to test it.

Re: [PATCH] Handle spurious backslash key repeats on some keyboards

2014-09-14 Thread David Herrmann
Hi On Sun, Sep 14, 2014 at 6:45 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Sun, Aug 10, 2014 at 11:56 AM, Fredrik Hallenberg megahal...@gmail.com wrote: Here is my attempt on a fix for bug 70181, please review it. It is tested on my nordic Corsair K70, if this solution is deemed

Re: [PATCH] Handle spurious backslash key repeats on some keyboards

2014-09-14 Thread Fredrik Hallenberg
Thank you for this, I felt that it would be difficult to do a good solution with hwdb but could not really back this up. It is also nice to see a much better patch than mine, I did not have enough knowledge on the input system to do a proper one. On Sun, Sep 14, 2014 at 6:45 PM, David Herrmann

[PATCH] HID: add new gamepad LED constants

2014-09-14 Thread Michael Wright
Improve gamepad support by introducing new LED constants for player LEDs and the mappings from their corresponding HID usages introduced in HUTTR47: http://www.usb.org/developers/hidpage/HUTRR47.pdf Change-Id: If25d8a8e2570dfab3a35f9be5b1d03ab662f6b1c Signed-off-by: Michael Wright

Re: [PATCH] HID: add new gamepad LED constants

2014-09-14 Thread David Herrmann
Hi On Mon, Sep 15, 2014 at 5:13 AM, Michael Wright michae...@android.com wrote: Improve gamepad support by introducing new LED constants for player LEDs and the mappings from their corresponding HID usages introduced in HUTTR47: http://www.usb.org/developers/hidpage/HUTRR47.pdf Why not