Remove miscellaneous E:D stuff.

This commit is contained in:
Anna Rose 2016-01-31 15:42:15 -05:00
parent ea6fa52783
commit ce6851f9da
2 changed files with 0 additions and 33 deletions

View File

@ -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.

View File

@ -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)