diff --git a/FreePIE/Readme.md b/FreePIE/Readme.md deleted file mode 100644 index efba093..0000000 --- a/FreePIE/Readme.md +++ /dev/null @@ -1,8 +0,0 @@ -# FreePIE Scripts for Elite: Dangerous. - -Requires [FreePIE](http://andersmalmgren.github.io/FreePIE/) to use, obviously. - -### x52pro_mfd_freedom.py - -Turns the Saitek X52-Pro MFD buttons into usable buttons within Elite. This clobbers several keys on the numpad, -(1-6, 7, and 9) so if you're already using those for something, this script may conflict with your setup. diff --git a/FreePIE/x52pro_mfd_freedom.py b/FreePIE/x52pro_mfd_freedom.py deleted file mode 100755 index 0e4e7a1..0000000 --- a/FreePIE/x52pro_mfd_freedom.py +++ /dev/null @@ -1,25 +0,0 @@ -# This is a script for FreePIE (http://andersmalmgren.github.io/FreePIE/) -# -# It binds the MFD buttons on the x52pro to output keypad button presses. - -if starting: - x52pro = joystick[1] - -class mfd(): - LeftRollerClick = x52pro.getDown(31) - LeftRollerUp = x52pro.getDown(34) - LeftRollerDown = x52pro.getDown(35) - RightRollerClick = x52pro.getDown(38) - RightRollerUp = x52pro.getDown(36) - RightRollerDown = x52pro.getDown(37) - StartStop = x52pro.getDown(32) - Reset = x52pro.getDown(33) - -keyboard.setKey(Key.NumberPad4, mfd.LeftRollerClick) -keyboard.setKey(Key.NumberPad7, mfd.LeftRollerUp) -keyboard.setKey(Key.NumberPad1, mfd.LeftRollerDown) -keyboard.setKey(Key.NumberPad6, mfd.RightRollerClick) -keyboard.setKey(Key.NumberPad8, mfd.RightRollerUp) -keyboard.setKey(Key.NumberPad3, mfd.RightRollerDown) -keyboard.setKey(Key.NumberPad2, mfd.Reset) -keyboard.setKey(Key.NumberPad5, mfd.StartStop)