adafruit / Adafruit-Retrogame

Raspberry Pi GPIO-to-virtual-keyboard utility for classic game emulators
https://learn.adafruit.com/retro-gaming-with-raspberry-pi
355 stars 123 forks source link

Another question? Does the software support an 8 way Joystick? #34

Closed washplant26 closed 8 years ago

washplant26 commented 8 years ago

My question is if I was playing could I do diagonal so not just Left, Right, Up, and down, could it be up-left, upright, down-right, down,left? Thanks again for taking the time to look at the questions and issues. :)

PaintYourDragon commented 8 years ago

Yes. In fact this is how "8 way" joysticks typically work internally -- activating two cardinal directions simultaneously. The code supports this.