You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on a web emulator where I'm using a strange web emulator where the evdev responsible for screen interaction in /dev/input/ is not supporting the ABS_MT_POSITION_... eventcodes. Probably because this emulator does not support multitouch.
I was able to modify the minitouch code such that ABS_... event codes are used iff ABS_MT_POSITION_... is not supported. If it is ok with you I would like to clean up my code a bit and contribute by creating a pull request?
Do you have any requirements or suggestions how I should handle multiple possible /dev/input files that would then be accepted. What I was Thinking about:
Accept a device in consider_device if one of the two methods is supported and giving ABS_MT_POSITION the preference
Check through all devices and and only if no ABS_MT_POSITION device is found check a second time and accept devices with ABS_X support.
an arg in the main that can be set to also allow ABS_X devices
The text was updated successfully, but these errors were encountered:
You could possibly use the score system to match non-multitouch devices in a single run, but assigning them a lower score. If that low score ends up being highest, then it would be used automatically. Changes in the state struct would most likely be required, but that's OK.
I would very happily accept a PR that adds singletouch (=mouse/pointer) support, as long as it plays well with the existing code and reasonably attempts to respect the current formatting style.
I am currently working on a web emulator where I'm using a strange web emulator where the evdev responsible for screen interaction in /dev/input/ is not supporting the ABS_MT_POSITION_... eventcodes. Probably because this emulator does not support multitouch.
I was able to modify the minitouch code such that ABS_... event codes are used iff ABS_MT_POSITION_... is not supported. If it is ok with you I would like to clean up my code a bit and contribute by creating a pull request?
Do you have any requirements or suggestions how I should handle multiple possible /dev/input files that would then be accepted. What I was Thinking about:
The text was updated successfully, but these errors were encountered: