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.
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 speed
mouse speed
How can I control the speed of the mouse and change its acceleration in mouse emulation mode?
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
You can't do it directly, but some scripting might work.
These are the current default values. "accelerationStopFactor" is the "break" that gets applied if you release the button.
Code: Select all
eg.plugins.Mouse.thread.maxSpeed = 7
eg.plugins.Mouse.thread.accelerationFactor = 0.003
eg.plugins.Mouse.thread.accelerationStopFactor = 0.1
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: mouse speed
I'm trying to use this little script to control my mouse speed, but i can't get it to work, when it's launched i can't notice any differences in mouse movement speed. What values must i change to speed up my mouse or to slow down it??
thanks
thanks
Re: mouse speed
Oops...
Sorry, my fault... i've though that the script was to control physical mouse speed, but i've noticed that the script is for emulation mode; that is, when pressing for example a key on keyboard move the mouse pointer... There is any way to change the 'real' mouse speed??
thanks,
thanks,
Re: mouse speed
>>Just type it in a PythonScript and let it execute.<<
I also do not understand how or where to do this. I have my remote sending mouse commands, but it is very difficult to use and I would like to modify these parameters. Thanks!
I also do not understand how or where to do this. I have my remote sending mouse commands, but it is very difficult to use and I would like to modify these parameters. Thanks!
Re: mouse speed
It depends if you are running a newer version or not. It is easier to setup in a newer version. I for one am running 3.6.1151. In that chhose your autostart category, then add an action, chose python script. Once that is added double click it and paste in the code from here 2nd post.
Re: mouse speed
Start>Settings>Control Panel>Mousefidoboy wrote:Oops...Sorry, my fault... i've though that the script was to control physical mouse speed, but i've noticed that the script is for emulation mode; that is, when pressing for example a key on keyboard move the mouse pointer... There is any way to change the 'real' mouse speed??
thanks,
It's on the "Pointer Options" tab the first option "Motion"
Re: mouse speed
Thanks Kricker. I'm using the current beta so I assume I can do that. I appreciate the quick answer.
Re: mouse speed
Thanks again kricker, I got that to work. It would have been a bit easier if I had actually read your post and followed the link to the corrected code . . . instead I used the script from higher up in the thread (which, coincidentally, was also in the second post). Once I pasted in the script you pointed to it worked fine. I appreciate the help.
Re: mouse speed
Yas, i know that i can do it that way but i wanted to change it 'on the fly' using a macro into EventGhost... it could be an interesting adition for future releases...CollinR wrote:Start>Settings>Control Panel>Mousefidoboy wrote:Oops...Sorry, my fault... i've though that the script was to control physical mouse speed, but i've noticed that the script is for emulation mode; that is, when pressing for example a key on keyboard move the mouse pointer... There is any way to change the 'real' mouse speed??
thanks,
It's on the "Pointer Options" tab the first option "Motion"
greets,
Re: mouse speed
Hey there,
here is a script for AutoHotkey if you really are into slowing down your mouse cursor. You can change the script to whatever speed you want. Use some EventGhost keyboard action to invoke the AutoHotkey script.
To get the script, go to this link: http://www.autohotkey.com/forum/post-96617.html#96617
here is a script for AutoHotkey if you really are into slowing down your mouse cursor. You can change the script to whatever speed you want. Use some EventGhost keyboard action to invoke the AutoHotkey script.
To get the script, go to this link: http://www.autohotkey.com/forum/post-96617.html#96617
Re: mouse speed
I know this looks like an old post but here is a code snipplet for anybody interested anyhow.
Set mouse sensitivity to 10:
Read the current mouse sensitivity:
http://msdn.microsoft.com/en-us/library/ms724947.aspx
-jinxdone
Set mouse sensitivity to 10:
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="851">
<Action>
EventGhost.PythonScript(u'from ctypes import windll\nwindll.user32.SystemParametersInfoA(113, 0, 10, 0)')
</Action>
</EventGhost>Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="851">
<Action>
EventGhost.PythonScript(u'from ctypes import *\nretval = c_int()\nwindll.user32.SystemParametersInfoA(112, 0, byref(retval), 0)\nprint retval.value\n\n')
</Action>
</EventGhost>-jinxdone
Re: mouse speed
this is awesome, thanks. May I direct your attention to another thread that I am posting to right now which is about power button on my Gyration Remote and how I am intercepting it with AutoHotkey? Perhaps the app is again not needed once EventGhost is running...
http://www.eventghost.org/forum/viewtop ... f=2&t=1548
http://www.eventghost.org/forum/viewtop ... f=2&t=1548