Two controllers in one Leonardo
- Roller Toaster
- Posts: 59
- Joined: Thu Jun 01, 2017 7:15 pm
- Location: McLean, VA
- Has thanked: 45 times
- Been thanked: 20 times
Two controllers in one Leonardo
Is there a way to make one of these output as two USB controllers to a raspberry pi? I was thinking of hooking up a couple of joysticks and buttons and making a bartop arcade, but I'd like to only use one Leonardo Pro Micro because it has enough pins.
- RetroRocket
- Posts: 146
- Joined: Sun Apr 09, 2017 8:53 pm
- Location: Seattle
- Has thanked: 60 times
- Been thanked: 64 times
- Contact:
Re: Two controllers in one Leonardo
I imagine you could run the input as keyboard buttons and map those alphanumeric values to button controls. Someone more experienced with programming should jump in here, but you could program say WASD controls and Numpad controls in arduino, then in the emulator settings, set those groups of inputs as player one and player two.
- moooarcuuuus
- Posts: 232
- Joined: Tue Jul 04, 2017 1:28 am
- Has thanked: 2 times
- Been thanked: 94 times
Re: Two controllers in one Leonardo
It works. https://www.arduino.cc/en/Reference/MouseKeyboardRoller Toaster wrote: ↑Sun Jul 23, 2017 9:44 pmIs there a way to make one of these output as two USB controllers to a raspberry pi? I was thinking of hooking up a couple of joysticks and buttons and making a bartop arcade, but I'd like to only use one Leonardo Pro Micro because it has enough pins.
Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep... Game Over
Who is online
Users browsing this forum: No registered users and 1 guest