Original Post
How could that be done? Thanks.
Quote:
specifically for solutions using SlimDX
Quote:
Original post by snake5 Quote:
specifically for solutions using SlimDX
Could you please explain why? I don't really understand the idea behind this..
Quote:So? SlimDX is built on top of the Windows OS, there's no reason not to use the Windows OS to get the cursor position. The cursor position has nothing to do with graphics.
Original post by Narf the Mouse
It's for a graphics library using SlimDX.
Quote:
Original post by jtagge75
Why? Getting/setting the mouse position has nothing to do with the graphics API that is being used.
Quote:
Original post by Narf the Mouse Quote:
Original post by jtagge75
Why? Getting/setting the mouse position has nothing to do with the graphics API that is being used.
Gee, maybe it's the Mouse class in the SlimDX library. Having a Mouse class is generally a sign of Mouse-related data.
Now go dogpile on someone else.
Quote:SlimDX is open source. If you don't like the way they've implemented certain features, I'm sure they'd appreciate patches.
Original post by Narf the Mouse Quote:
Original post by jtagge75
Why? Getting/setting the mouse position has nothing to do with the graphics API that is being used.
Gee, maybe it's the Mouse class in the SlimDX library. Having a Mouse class is generally a sign of Mouse-related data.
Now go dogpile on someone else.
You can set the AxisMode in Properties:
_mouse.Properties.AxisMode = DeviceAxisMode.Absolute;
System.Drawing.Point p = renderform.PointToClient(SlimDX.Windows.RenderForm.MousePosition);
SlimDX is open source. If you don't like the way they've implemented certain features, I'm sure they'd appreciate patches.
To be fair, SlimDX wouldn't accept such a patch since it would add functionality that isn't in the API it wraps.
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more