Quote:Original post by Narf the MouseSlimDX is open source. If you don't like the way they've implemented certain features, I'm sure they'd appreciate patches.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.
Getting the absolute mouse position with SlimDX
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 is closed to new replies.
Advertisement
Popular Topics
Advertisement