Mouse Control - Toggle Repeat On/Off

Got a good idea? You can suggest new features here.

Mouse Control - Toggle Repeat On/Off

Postby katana80 » Fri May 23, 2008 5:59 pm

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
katana80
 
Posts: 8
Joined: Fri May 23, 2008 5:48 pm

Re: Mouse Control - Toggle Repeat On/Off

Postby Bitmonster » Fri May 23, 2008 9:13 pm

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!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Mouse Control - Toggle Repeat On/Off

Postby katana80 » Sun May 25, 2008 5:14 pm

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.
katana80
 
Posts: 8
Joined: Fri May 23, 2008 5:48 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 0 guests