Open viperfan7 opened 3 years ago
Try j = joystick[0] j.x, j.y, j.zRotation or any axis they had and if want to add another joystick[1 or 2]
The problem is that is still using DirectInput, RawInput works a bit differently as its a bit lower level, and allows you to access things that are normally not able to be accessed, like the ministick found on the X52
I never got RawInput working. If you want to give it a go I gladly pull the code. The event never triggered if I recall correctly
This might be something (FreePIE is a WPF app)
I find it odd how FreePIE doesn't seem to support RawInpute for joysticks, would allow for some interesting things like binding the mouse stick on the X52 to a vJoy device, allowing games that don't support RawInput to use it like any other axis.
Especially since SharpDX supports RawInput, could use something like
Joystick[x].rawAxisList() to return a list of all available axis Joystick[x].rawButtonList() to again, return a list of all available buttons Joystick[x].rawAxis[] to get the state of any RawInput axis Joystick[x].rawButton[] to get the state of any RawInput Button