Mouse pos reported as 0, clicks work, irrlicht & DX8
Posted: Thu May 31, 2007 12:56 am
Hi guys,
Because I read that the eventreceiver is not functioning correctly in .NET at this time I am trying to use directInput for my mouse control but I am having some problems.
The mouse functions are executing and I can get the mouse button clicks but the movement of the cursor (which is stored in the struct variable mouse_state.Xl/Yl/Zl) does not change from 0.
I have uploaded my entire project, it is here:
http://www.kimgadecki.com/code/Newton Example.rar
I am just a beginner so it is quite small and simple. Someone with programming experience, especially in directx, could probably look at it briefly and say "you forgot to include this" or "this doesn't go there" (or whatever the problem is) quite easily.
I am starting to wonder if maybe the irrlicht camera implementation is interfering with the mouse cursor.
Also I would like to know if it is possible to use the irrlicht input functions at all using .NET
Thank you for your time
Because I read that the eventreceiver is not functioning correctly in .NET at this time I am trying to use directInput for my mouse control but I am having some problems.
The mouse functions are executing and I can get the mouse button clicks but the movement of the cursor (which is stored in the struct variable mouse_state.Xl/Yl/Zl) does not change from 0.
I have uploaded my entire project, it is here:
http://www.kimgadecki.com/code/Newton Example.rar
I am just a beginner so it is quite small and simple. Someone with programming experience, especially in directx, could probably look at it briefly and say "you forgot to include this" or "this doesn't go there" (or whatever the problem is) quite easily.
I am starting to wonder if maybe the irrlicht camera implementation is interfering with the mouse cursor.
Also I would like to know if it is possible to use the irrlicht input functions at all using .NET
Thank you for your time