-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
enhancementNew feature or requestNew feature or requestto-triageThis needs to be triagedThis needs to be triaged
Description
Looking at evtest output it seems that it's necessary to add:
- ABS_MT_PRESSURE
- ABS_MT_TOUCH_MINOR
- ABS_MT_TOUCH_MAJOR
- ABS_MT_ORIENTATION
to inject_evdev as well.
I'm not sure how to do that but it seems to be just these lines:
if(code == "ABS_MT_PRESSURE"){ device->write(EV_ABS, ABS_MT_PRESSURE, value); return true; }
if(code == "ABS_MT_TOUCH_MINOR"){ device->write(EV_ABS, ABS_MT_TOUCH_MINOR, value); return true; }
if(code == "ABS_MT_TOUCH_MAJOR"){ device->write(EV_ABS, ABS_MT_TOUCH_MAJOR, value); return true; }
if(code == "ABS_MT_ORIENTATION"){ device->write(EV_ABS, ABS_MT_ORIENTATION, value); return true; }
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestto-triageThis needs to be triagedThis needs to be triaged