Skip to content

HID: multitouch: support of hybrid finger/pen devices

Benjamin Tissoires linux-input lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyIn review
  2. v17 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7HID: input: don't register unmapped input devicesdrivers/hid/hid-input.c include/linux/hid.h+78 -00 replies
2/7HID: multitouch: breaks out touch handling in specific functionsdrivers/hid/hid-multitouch.c+83 -400 replies
3/7HID: multitouch: do not map usage from non used reportsdrivers/hid/hid-multitouch.c+1 -10 replies
4/7HID: multitouch: change touch sensor detection in mt_input_configured()drivers/hid/hid-multitouch.c+3 -60 replies
5/7HID: multitouch: add handling for pen in dual-sensors devicedrivers/hid/hid-multitouch.c+62 -40 replies
6/7HID: multitouch: append " Pen" to the name of the stylus inputdrivers/hid/hid-multitouch.c+30 -10 replies
7/7HID: multitouch: force BTN_STYLUS for pen devicesdrivers/hid/hid-multitouch.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] HID: multitouch: support of hybrid finger/pen devices

Hi Guys,

this is the second iteration of the support of dual sensors (pen + touch) devices.

There has not been a lot of changes since v1:
- use " |= " instead of " = r || " in patch 1
- introduce a factorization of input_configured() in patch 2 (which makes more sense IMO)
- patch 4 is new, but the change is quite small (again, tested on my database)
- patch 6 has been reworked, though it's not clear if it's better
- patch 7 has been reworked, the set_bit occurs now in input_configured()

Cheers,
Benjamin

Benjamin Tissoires (7):
HID: input: don't register unmapped input devices
HID: multitouch: breaks out touch handling in specific functions
HID: multitouch: do not map usage from non used reports
HID: multitouch: change touch sensor detection in
mt_input_configured()
HID: multitouch: add handling for pen in dual-sensors device
HID: multitouch: append " Pen" to the name of the stylus input
HID: multitouch: force BTN_STYLUS for pen devices

 drivers/hid/hid-input.c      |  77 +++++++++++++++
 drivers/hid/hid-multitouch.c | 216 ++++++++++++++++++++++++++++++++++---------
 include/linux/hid.h          |   1 +
 3 files changed, 251 insertions(+), 43 deletions(-)
Signature · 1 line
1.8.1.4