
Andy Roid
USA
Asked
— Edited
The Remote Mouse tool can display the position of the mouse by returning the coordinate values. Are the button signals, left click or right click able to be used or monitored ? ( high or low (zero or one) )
I want to use the left and right click of the mouse in a script.
I know this may sound weird, but I want to use the input, local to the computer, not at the EZB. The screen will not be visible. The mouse will be used as a remote push button.
Possible ?
Otherwise a quick fix is a second IoTiny with two buttons.
Ron, Did you tried a Bluetooth joystick ?
Ron,
I have this one:
https://www.amazon.com/8BITDO-Wireless-Controller-Android-Windows/dp/B0156IC8M8
It's very easy to setup on Raspberry PI zero, and when i need on windows i run a client / server script.
I successful paired with my Windows 10. It works so no need for a raspberry pi zero
I can create a plugin.
There are a lot cheap versions, maybe they will work or not, the above model i know it works.
Hi @ptp,
Thanks for the option. I appreciate your interest. I decided to re-program the script using a command to turn it on and off. It will work for the presentation. Antonn interrupts conversations, so I needed to pause the speech recognition when people are talking.
I use a wireless mouse hooked up to the Latte Panda. That's why I wanted to try to use the mouse buttons as switches.
I have a wireless remote keychain somewhere. (Misplaced it again, LOL). Once I find it I will hook it up to two inputs and the problem will be solved.
Thanks to All that contributed advice.
"I have a wireless remote keychain somewhere. (Misplaced it again, LOL). Once I find it I will hook it up to two inputs and the problem will be solved. "
I was going to recommend one of these. I have one sitting around somewhere too, but the one I have is no longer for sale (although if the battery will still charge, I could probably part with it. I have moved to using my smartwatch for remote control).
Alan
How you hook up the wireless remote keychain ?
Mine is a little Bluetooth joystick (actually, just drives the arrow keys and 4 buttons that emulate keystrokes, so it is really a keyboard not a joystick) but would be perfect for this use case.
This is the device I have. No longer available, and rightfully so if you read the review in the second link.
https://www.amazon.com/Impulse-Universal-Controller-Smartphones-Computers/dp/B00GOKV98M/ref=sr_1_2?ie=UTF8&qid=1523366744&sr=8-2&keywords=impulse+controller
https://www.androidpolice.com/2013/08/30/impulse-bluetooth-controller-review-a-terrible-product-and-a-cautionary-kickstarter-tale/
So, horrible for what it was designed for, but as a basic pocket size robot controller, actually worked OK. Given that it has a rechargeable, not a replaceable battery, I suspect mine is long dead. Haven't touched it in well over a year.
Alan
How you map the arrow keys / keystrokes to ARC actions ?
Arrow keys just work like keyboard arrow keys, so drive a movement panel. Other keys mapped to specific keystrokes and so mapped to the keyboard control where I assign script actions to different keys. Only issue is the key control needs focus to accept key commands, so I used remote mouse plugin to give it focus as part of my init script.
Alan