LWJGL
May 23, 2013, 09:54:38
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL 2.9.0 released!
Home
Help
Search
Login
Register
LWJGL
>
Programming
>
Bug Reports / RFE
>
[RFE] Mouse constraint APIs
Pages:
1
[
2
]
« previous
next »
Print
Author
Topic: [RFE] Mouse constraint APIs (Read 2890 times)
Simon Felix
Talks Too Much
Posts: 103
Re: [RFE] Mouse constraint APIs
«
Reply #15 on:
February 27, 2012, 12: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
Logged
Download Cultris II, the fastest Tetris clone from
http://gewaltig.net/
princec
Nerdus Imperius
Posts: 1870
Re: [RFE] Mouse constraint APIs
«
Reply #16 on:
April 04, 2012, 10:59:30 »
So... anybody got any ideas how to progress with this?
Cas
Logged
Puppygames - Play Revenge of the Titans here!
princec
Nerdus Imperius
Posts: 1870
Re: [RFE] Mouse constraint APIs
«
Reply #17 on:
April 20, 2012, 02:10:19 »
bumpity bump?
Cas
Logged
Puppygames - Play Revenge of the Titans here!
Simon Felix
Talks Too Much
Posts: 103
Re: [RFE] Mouse constraint APIs
«
Reply #18 on:
April 25, 2012, 02: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/
Pages:
1
[
2
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...