Hardware Mouse Cursor ?

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

User avatar
ArKada
Not too shy to talk
Not too shy to talk
Posts: 22
Joined: Fri Jan 23, 2009 14:46

Hardware Mouse Cursor ?

Postby ArKada » Tue Jan 03, 2012 17:19

Hi all ! 8)

I'vejust a question. Is there a way to use the hardware mouse cursor with Cegui instead of the default cursor ?

I don't want to limit the cursor move by my display frequency using Ogre3D.

I wish you all an happy new year 2012 !

Greetings,

Gouwi aka Arkada

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Hardware Mouse Cursor ?

Postby Kulik » Tue Jan 03, 2012 17:55

Yeah, you can simply hide the software cursor and inject mouse positions as you would normally do.

I think there are threads about this, might be worth searching for it.

User avatar
ArKada
Not too shy to talk
Not too shy to talk
Posts: 22
Joined: Fri Jan 23, 2009 14:46

Re: Hardware Mouse Cursor ?

Postby ArKada » Tue Jan 03, 2012 18:02

Yes, but this is not what i want to do.

If i do that, i don't have the same reactivity than with the hardware cursor when i'm on my operating system system.
I don't want to have to inject the mouse position. Cause to that, the cursor doesn't have the same sensibitlity than the hardware cursor which is more usefull, cause he doesn't depend on the framerate.
I've seen that in a lot of games, they use directly the hardware cursor.

Does i need to create another layer with update who run on another thread or something like that ?

Greetings,

Gouwi

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Hardware Mouse Cursor ?

Postby Kulik » Tue Jan 03, 2012 23:57

You can update the GUI layer independently from your 3D scene with some RTT trickery. I dunno if this is waht you mean.

If you just inject faster the GUI won't react faster, it will only render as fast as you call renderGUI.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 24 guests