History

HID: input: accommodate priorities for slotted devices

Multitouch devices in hybrid mode are reporting multiple times the same collection. We should accommodate for this in our handling of priorities by defining the slots they belong to.

Benjamin Tissoires committed 4 years ago

Commit 5c200001 parent 87562fc2 files · +96 −8Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/linux/hid.h+1−0
@@ -492,6 +492,7 @@ struct hid_field { · 491 unmodified lines
492492 /* hidinput data */
493493 struct hid_input *hidinput; /* associated input structure */
494494 __u16 dpad; /* dpad input code */
495+ unsigned int slot_idx; /* slot index in a report */
495496 };
496497
497498 #define HID_MAX_FIELDS 256

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t