zengqh / slimdx

Automatically exported from code.google.com/p/slimdx
0 stars 0 forks source link

I want to use DIDEVICEOBJECTDATA::dwOfs field #351

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It is not possible to detect which button released with 
DirectInput.BufferedData<T>,
because all DirectInput.BufferedData<T>.IsReleased(n) return true.

I want to use DIDEVICEOBJECTDATA::dwOfs field as a property...

Original issue reported on code.google.com by dtx0...@gmail.com on 5 Oct 2008 at 3:48

GoogleCodeExporter commented 9 years ago
Is there a reason why you need the Offset field? 

Original comment by Mike.Popoloski on 8 Oct 2008 at 8:01

GoogleCodeExporter commented 9 years ago
Also, BufferedData<T> does not contain the IsReleased method, so I'm not sure 
what
problem you have there.

Original comment by Mike.Popoloski on 8 Oct 2008 at 10:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I fixed this by making IsReleased inform you whether the button was recently 
released.

Original comment by Mike.Popoloski on 12 Oct 2008 at 10:44