Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Mouse Control - Toggle Repeat On/Off

Got a good idea? You can suggest new features here.
Post Reply
katana80
Posts: 8
Joined: Fri May 23, 2008 5:48 pm

Mouse Control - Toggle Repeat On/Off

Post by katana80 »

Hi. Newbie with EventGhost but love it so much!

Anyway I use a USB HID IR Receiver and using a universal TV remote with it.
On one of my remotes, the cursor buttons (up/down/left/right) support autorepeat, so I am able to use the mouse cursor movement action just fine.

However, on my other remote, the cursor buttons do not support autorepeat. Therefore, when I hold down a cursor button, it only sends a single IR command to EventGhost and doesn't repeat so the mouse cursor only moves once. I played around with the 'Autorepeat' action provided, but I think that only works for remotes that support autorepeat.

Is there a way to get mouse cursor movement without an autorepeating remote?
If not, I would like to suggest a new feature that allows an action to be toggled on/off with the same (or different) button.

For example, I push Up button on my remote, which begins Mouse cursor movement Up and repeats until I push the Up button on my remote again to stop the action.

If there already is such a feature or script for this support please let me know!

Thanks!
katana80
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Mouse Control - Toggle Repeat On/Off

Post by Bitmonster »

You can make a PythonScript action with:

Code: Select all

eg.plugins.Mouse.plugin.thread.receiveQueue.put(90)
to let the mouse move in direction 90 degrees and another one with

Code: Select all

eg.plugins.Mouse.plugin.thread.receiveQueue.put(-2)
to stop the movement.

But I don't think, it will be very handy if the remote doesn't supply the duration of the button press.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
katana80
Posts: 8
Joined: Fri May 23, 2008 5:48 pm

Re: Mouse Control - Toggle Repeat On/Off

Post by katana80 »

Thanks!
I actually found out I just programmed my learning remote wrong...it actually handles button press duration.
But your tip will come in handy for other features I might want in the future.
Post Reply