Rudis1261 / blink-server

This is the server you would need to be able to run the Blink Android Application.
MIT License
34 stars 7 forks source link

Duplicate commands #6

Open dragonxtek opened 6 years ago

dragonxtek commented 6 years ago

I try to change slides, but commands are duplicate as follows:

COMMAND RECEIVED [left] ['xdotool', 'key', 'Left'] ['xdotool', 'key', 'Left'] COMMAND RECEIVED [right] ['xdotool', 'key', 'Right'] ['xdotool', 'key', 'Right']

rellieberman commented 5 years ago

I can confirm this issue seems like most commands are received twice. Also can't get right click to work.

but except for the above, works like a charm, thanks!

Rudis1261 commented 5 years ago

Thanks for the feedback, I haven't used this is so long. I primarily run windows these days. I will see if I can set some time aside to check where this race condition is happening.

Cxarli commented 5 years ago

Confirmed on 5.2.11-1-MANJARO. Will try to see what I can do, since I'm still running Linux

Update: The fact that the command is printed double doesn't mean anything here; it's only executed once.

Update 2: It seems the xdotool key Right combo is not the right command for this. Looking for the right one.

Update 3: The right command would be xdotool mousedown 1 for Left and xdotool mousedown 3 for right. Making a PR to fix this.

Update 4: Apparently it is received multiple times. Will fix that as well.