Change mouse sensibility [solved]

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Toge
Just popping in
Just popping in
Posts: 12
Joined: Thu Jan 22, 2009 21:59

Change mouse sensibility [solved]

Postby Toge » Fri Feb 06, 2009 18:54

Hello.
Could I change the mouse senbility with CEGUI?

Thanks
Last edited by Toge on Sun Feb 15, 2009 13:48, edited 1 time in total.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Sat Feb 07, 2009 09:15

Hi,

There is a System::setMouseMoveScaling function, this works with the System::injectMouseMove function and scales the values input by the specified amount. If you're using System::injectMousePosition, then scaling makes no sense, so is not used.

One thing to be aware of is that if you're having issues (like a recent poster) with slow mouse response, applying a scaling factor is probably not going to give the results you'd like; you may end up with other issues such as an inability to precisely position the cursor. If you are having such responsiveness issues, you might consider switching from injectMouseMove to injectMousePosition, since that should alleviate some of the trouble.

HTH

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 19 guests