Skip to content

Adding four event code's  #300

@flamaque

Description

@flamaque

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; }

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestto-triageThis needs to be triaged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions