|
mouse pointer speed |
alex glez
Member #16,757
October 2017
|
Hello !!. is it possible in allegro 5 to modify and obtain the speed of the mouse pointer ?. Thank you |
Edgar Reynaldo
Major Reynaldo
May 2007
|
No. That is controlled by your OS. However, you can confine the mouse to a certain position or area on the screen and then monitor mouse mickeys. That will allow you to determine how many pixels the mouse moved. You can then scale that as you like to simulate faster or slower mice. Alternatively you can track the mickeys, and scale the dx and dy and then set the mouse position. That's kind of a big hack, but it might work. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
alex glez
Member #16,757
October 2017
|
Thank you very much, I will try to use your trick. |
|