Mouse Origin to center of screen
Moderators: CEGUI MVP, CEGUI Team
-
dominic1988
- Just popping in

- Posts: 4
- Joined: Mon Mar 17, 2008 15:26
Mouse Origin to center of screen
is there a way to set my mouse origin to center of screen, cause i need it in order to do some calibration for Wii.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
-
dominic1988
- Just popping in

- Posts: 4
- Joined: Mon Mar 17, 2008 15:26
- scriptkid
- Home away from home

- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
It might take two steps to do this: the first one is to set the cursor to the center using the correct 'inject' call. The second might be to get the cursor's offset, and apply that to its position, as explained here: http://www.cegui.org.uk/phpBB2/viewtopi ... ight=mouse
Cause with 'origin' you mean the 'hitpoint', right?
HTH.
Cause with 'origin' you mean the 'hitpoint', right?
HTH.
Check out my released snake game using Cegui!
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 10 guests