avreca-mortua
Member
- Joined
- Sep 4, 2012
- Messages
- 6
- Programming Experience
- Beginner
Hello, I have this:
it works fine in my PS3 joystick but if I turn the analog off then the medium value is 32511
and with other brand maybe the values are not the same so how can I get the maxmium value of an axis?
please help and sorry for my English
VB.NET:
Imports Microsoft.DirectX.DirectInput
Dim JoystickDevice As Device
If JoystickDevice.CurrentJoystickState.Y < 32767 Then
'Down
End If
it works fine in my PS3 joystick but if I turn the analog off then the medium value is 32511
and with other brand maybe the values are not the same so how can I get the maxmium value of an axis?
please help and sorry for my English