Hello
Guest
Register
Login
1 Hour
1 Day
1 Week
1 Month
Forever
LWJGL 3.3.2 released
Menu
Home
Help
Search
Login
Register
go
LWJGL Forum
Programming
Bug Reports / RFE
[RFE] Mouse constraint APIs
« previous
next »
Print
Pages:
1
[
2
]
[RFE] Mouse constraint APIs
18 Replies
23605 Views
Simon Felix
103
Re: [RFE] Mouse constraint APIs
«
Reply #15 on:
February 27, 2012, 20:42:51 »
It seems that the proper way to do it is to
use ClipCursor and to
get the DX/DY by registering for and handling the WM_INPUT message (
http://msdn.microsoft.com/en-us/library/windows/desktop/ms645590(v=vs.85).aspx
).
Here's some example of how to use the raw input API:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms645546(v=vs.85).aspx
.
EDIT: I also found this interesting post that outlines some possible problems:
http://lists.w3.org/Archives/Public/public-webapps/2011JulSep/0847.html
«
Last Edit: February 27, 2012, 20:44:29 by dr_evil
»
Logged
Download Cultris II, the fastest Tetris clone from
http://gewaltig.net/
princec
1933
Re: [RFE] Mouse constraint APIs
«
Reply #16 on:
April 04, 2012, 17:59:30 »
So... anybody got any ideas how to progress with this?
Cas
Logged
Puppygames - Play Revenge of the Titans here!
princec
1933
Re: [RFE] Mouse constraint APIs
«
Reply #17 on:
April 20, 2012, 09:10:19 »
bumpity bump?
Cas
Logged
Puppygames - Play Revenge of the Titans here!
Simon Felix
103
Re: [RFE] Mouse constraint APIs
«
Reply #18 on:
April 25, 2012, 09:27:08 »
Found a nice tutorial on the raw input APIs:
http://www.codeproject.com/Articles/17123/Using-Raw-Input-from-C-to-handle-multiple-keyboard
I'm neither a C++ programmer, nor a Win32 programmer nor do I use grabbed cursors. Anyone else up for the job?
Logged
Download Cultris II, the fastest Tetris clone from
http://gewaltig.net/
Print
Pages:
1
[
2
]
« previous
next »