[PATCH] Input: input-event-codes - add keycodes for gaming peripherals

2015-12-24 Thread Tolga Cakir
Gaming peripherals without onboard memory or with switchable software macro, like Logitech G510 / G700 / G710 / G710+, Microsoft Sidewinder X4 / X6 or Corsair K90, have many keys in common. This patch adds the most common physical keys among gaming peripherals, so they can be used by existing and

[PATCH] Input: evdev: avoid storing newest SYN_REPORT when dropping all events

2015-12-24 Thread Aniroop Mathur
The newest event can be SYN_REPORT in case of dropping all old events when buffer is full, but as now there is no device data available to read so lets drop SYN_REPORT as well and store only SYN_DROPPED. Signed-off-by: Aniroop Mathur --- drivers/input/evdev.c | 17

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-24 Thread Pavel Rojtberg
2015-12-21 21:06 GMT+01:00 Dmitry Torokhov : > On Sun, Dec 20, 2015 at 01:49:25PM +0100, Pavel Rojtberg wrote: >> 2015-12-20 8:55 GMT+01:00 Dmitry Torokhov : >> > On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels wrote: >> >> On Wed, 16

[PATCH RFC v2 4/9] Input: atmel_mxt_ts - handle diagnostic data orientation

2015-12-24 Thread Nick Dyer
Invert the diagnostic data to match the orientation of the input device. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 30 +++--- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git

[PATCH RFC v2 6/9] Input: atmel_mxt_ts - add support for reference data

2015-12-24 Thread Nick Dyer
There are different datatypes available from a maXTouch chip. Add support to retrieve reference data as well. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 75 +--- 1 file changed, 59 insertions(+), 16 deletions(-)

[PATCH RFC v2 5/9] Input: atmel_mxt_ts - add diagnostic data support for mXT1386

2015-12-24 Thread Nick Dyer
The mXT1386 family of chips have a different architecture which splits the diagnostic data into 3 columns. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff

[PATCH RFC v2 7/9] Input: atmel_mxt_ts - add metadata to debugfs

2015-12-24 Thread Nick Dyer
Add information to debugfs to allow a generic utility to retrieve screen parameters and info. Signed-off-by: Nick Dyer --- Documentation/ABI/testing/debugfs-heatmap | 60 +++ drivers/input/touchscreen/atmel_mxt_ts.c | 48

[PATCH RFC v2 1/9] Input: atmel_mxt_ts - improve touchscreen size/orientation handling

2015-12-24 Thread Nick Dyer
Both T100 and T9 handle range and orientation in a similar fashion. Reduce duplication between the two implementations. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 68 1 file changed, 26 insertions(+), 42

[PATCH RFC v2 9/9] Input: atmel_mxt_ts - single node diagnostic data support

2015-12-24 Thread Nick Dyer
Add support for retrieving a single node of data at high rate. --- drivers/input/touchscreen/atmel_mxt_ts.c | 60 +--- 1 file changed, 55 insertions(+), 5 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c

[PATCH RFC v2 2/9] Input: atmel_mxt_ts - add diagnostic data retrieval via debugfs

2015-12-24 Thread Nick Dyer
Retrieve refs data from the T37 diagnostic data object and expose it via a binary attribute in debugfs. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 208 +++ 1 file changed, 208 insertions(+) diff --git

[PATCH RFC v2 8/9] Input: atmel_mxt_ts - create debugfs info file

2015-12-24 Thread Nick Dyer
Add files in debugfs directory with info about the chip and input device. Signed-off-by: Nick Dyer --- Documentation/ABI/testing/debugfs-heatmap | 14 ++ drivers/input/touchscreen/atmel_mxt_ts.c | 22 ++ 2 files changed, 36 insertions(+)

[PATCH RFC v2 0/8] Input: atmel_mxt_ts - raw data via debugfs

2015-12-24 Thread Nick Dyer
Hello- This is an updated series of patches to add diagnostic data support to the Atmel maXTouch driver. There's an existing implementation in the open-source mxt-app tool, however there are performance advantages to moving this code into the driver. The algorithm for retrieving the data has

[PATCH RFC v2 3/9] Input: atmel_mxt_ts - read touchscreen position in matrix

2015-12-24 Thread Nick Dyer
The touchscreen may have a margin where not all the matrix is used. Read the parameters from T9 and T100 and take account of the difference. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 41 1 file changed, 36