AndersMalmgren / FreePIE

Programmable Input Emulator
650 stars 144 forks source link

ppJoy questions #116

Open zhu888rui opened 7 years ago

zhu888rui commented 7 years ago

if keyboard.getKeyDown(Key.H): ppJoy[0].setAxis(AxisTypes.Y,-100)(True) else: ppJoy[0].setAxis(AxisTypes.Y,-100)(False) What's the right way to do it?