Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Before you make a thread asking for help, read this
- Posts: 28
- Joined: Sat Nov 29, 2014 12:13 am
So, I am using the code:
for input(s) for my Xbox controller, but I need the names of the buttons.
Any help would be greatly appreciated!
- Party member
- Posts: 1077
- Joined: Mon Sep 15, 2014 7:41 pm
- Location: Cologne, Germany
Check the wiki, on the page for isGamepadDown (http://www.love2d.org/wiki/Joystick:isGamepadDown
) it say that the button parameters are of type GamepadButton. That link leads here
, where you can find a full list of all Joystick/Gamepad buttons.
L2/R2 are a third axis on most controllers.
Users browsing this forum: No registered users and 7 guests