You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to write a script that will smooth out joystick input values, and I'm not sure how to approach this: can I alter the values for an existing gamepad? Or can I create a new 'virtual' gamepad, and set its values to the modified values from the real one, and then map games to use the virtual one?
If I try to write anything to xbox360[0].leftStickX, the compiler tells me that leftStickX is read-only..... I've seen some examples on the website that use ppJoy.setAxis, but when I call this, FreePIE crashes? I've seen examples that use keyboard.setKey and mouse.setButton, but the only 'set' on joystick is joystick.setRange, which doesn't seem right?
Any nudge in the right direction for ways to approach this would be appreciated!
The text was updated successfully, but these errors were encountered:
I'm trying to write a script that will smooth out joystick input values, and I'm not sure how to approach this: can I alter the values for an existing gamepad? Or can I create a new 'virtual' gamepad, and set its values to the modified values from the real one, and then map games to use the virtual one?
If I try to write anything to xbox360[0].leftStickX, the compiler tells me that leftStickX is read-only..... I've seen some examples on the website that use ppJoy.setAxis, but when I call this, FreePIE crashes? I've seen examples that use keyboard.setKey and mouse.setButton, but the only 'set' on joystick is joystick.setRange, which doesn't seem right?
Any nudge in the right direction for ways to approach this would be appreciated!
The text was updated successfully, but these errors were encountered: