Quantcast LoTROInterface - View Single Post - Change mouse pointer
View Single Post
Unread 09-22-2010, 08:42 PM
Digital_Utopia's Avatar
Digital_Utopia Digital_Utopia is offline
The Undying
Interface Author - Click to view interfaces
Join Date: Sep 2010
Posts: 207
Send a message via MSN to Digital_Utopia Send a message via Yahoo to Digital_Utopia
Originally Posted by Olenn
I read a forum post that it is not possible to change the mouse pointer. Now, I am no dev, but I saw MouseGestures and it can track mouse coordinants. Couldn't you just create a graphic of what you want the mouse to look like and have it stay on top of the acctual pointer by setting its location to the mouse coordinant's location. As long as the graphic covered the real mouse pointer, wouldn't that work?

Just trying to think outside the box here...the person that had requested this addon had a disability so he was trying to make the mouse pointer bigger. Thought someone on lotrointerface.com would like to try to help him out.
I live for thinking outside the box

...sadly however, in this case, there's nothing but failure.

Yes, the Lua API can track mouse position, but it appears that there's little or no hardware acceleration involving elements/graphics. What that means, is while Lua can give you the mouse position at that exact moment, it can't render the element/graphic fast enough to keep up with the speed of a moving mouse.

In laymans terms, any time you attach a window/control to a mouse pointer - the faster you move the mouse, the more that element lags behind. Even moving the mouse at a relatively slow speed, will see quite a few pixels in terms of margin of error, and moving it at a normal rate will see differences of 100 pixels or more.

Right now, the closest you can get to solving the "small pointer" issue, is to attach such a pointer graphic to the mouse position, and only have it appear when the mouse pointer is idle. Definitely not an ideal solution, but even that might make things easier. After all, 99% of the time you "lose" the mouse pointer is from the time you start moving the pointer until your eyes recognize it. Starting off by being able to recognize the cursor, should drastically reduce the chance of losing it.

Lord of the Rings Online
75 Fourohfour | 75 Artemedis | 60 Whiskeytango Foxtrot | 50 Mistah Boombastic | 56 Appetizer | 25 Aggromi
61 Onepointtwentyone Gigawatts

World of Warcraft
90 Downlo 85 Gravetaxi 85 Ümad 85 Artemedis 85 Guthuros
Reply With Quote