0
I had this tripleClicker idea in a dream and my implementation is more like a turbo button for mice. I now I can use autokey or autohotkey. But I want to know how the software does this.
Im on linux can you help me send left click to mouse can I sent it directly to /dev/input/event3
Is there a way to emulate this signal or is this verbose. Is the actual signal hex on usb?
Event: time 1540772345.223443, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001 Event: time 1540772345.223443, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0 Event: time 1540772345.223443, -------------- SYN_REPORT ------------
PS how to I get the time On my machine it says: real 0m0.000s user 0m0.000s sys 0m0.000s
This is more a timer time -a increments time -p resets Its a stopwatch command.
The goal of this is a work around in LMMS/GIMP so I dont have to try and make a paintbrush tool instead It will click repeatedly to simulate a paintbrush or stippling effect.
https://stackoverflow.com/questions/20595716/control-mouse-by-writing-to-dev-input-mice – ivanivan – 2018-10-29T02:17:45.650
@ivanivan: your link has answers which mix up various system level (old mouse protocol on
/dev/input/mice
, X protocol), and none I can see that answers it for/dev/event
– dirkt – 2018-10-29T06:43:06.287xdotool is by far the most convenient way to emulate keyboard and mouse input, but it uses xlib functions instead of directly interacting with /dev nodes. – Layne Bernardo – 2018-10-29T18:13:16.707
I feel like it might be easier to just edit the source code for LMMS or GIMP. I want like a right click key but for left click. I just want to click and drag instead of click click click click click click faster than I can type this. – Punkroku – 2018-10-29T22:10:55.667
Editing the source code for LMMS or GIMP is probably not easier than using xdotool and creating a small script. By the way, you can get mice which have rapid auto-click functionality: https://www.amazon.com/SPEEDLINK-Symmetrical-Optical-Gaming-Illumination/dp/B00EOTR10K
– Layne Bernardo – 2018-10-29T22:35:25.370