Hi guys I am new to this forum. i need to use Freepie to invert a single joystick axe (to invert the throttle in a flight simulator thet does not have throttle inversion) i figured out how to create te virtual joystij with ppjoy and redirect the outpit to it but i have no clue how to script the axis inversion (i need 0% read as 100% and viceversa) can somenoe help me?
Thanks in advance.
Simple axis inversion code needed
-
- One Eyed Hopeful
- Posts: 49
- Joined: Mon Feb 10, 2014 4:48 am
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: Simple axis inversion code needed
You can use filters.mapRange
Code: Select all
filters.mapRange(x, 0, 100, 100, 0)
-
- One Eyed Hopeful
- Posts: 49
- Joined: Mon Feb 10, 2014 4:48 am
Re: Simple axis inversion code needed
Sorry for the late response thanks