[PATCH 2/3] Create a utility class for counting scroll events

2018-08-23 Thread Harry Cutts
To avoid code duplication, this class counts high-resolution scroll movements and emits the legacy low-resolution events when appropriate. Drivers should create one instance for each scroll wheel that they need to handle. Signed-off-by: Harry Cutts --- drivers/hid/hid-input.c | 44

[PATCH 2/3] Create a utility class for counting scroll events

2018-08-23 Thread Harry Cutts
To avoid code duplication, this class counts high-resolution scroll movements and emits the legacy low-resolution events when appropriate. Drivers should create one instance for each scroll wheel that they need to handle. Signed-off-by: Harry Cutts --- drivers/hid/hid-input.c | 44