GamepadType

Available since LÖVE 12.0
This enum is not supported in earlier versions.

Types of gamepad controllers.

Constants

unknown
An unrecognized gamepad type.
xbox360
Xbox 360 controller.
xboxone
Xbox One controller.
ps3
PS3 (Dualshock 3) controller.
ps4
PS4 (Dualshock 4) controller.
ps5
PS5 (Dualsense) controller.
switchpro
Switch Pro controller.
amazonluna
Amazon Luna controller.
stadia
Stadia controller.
virtual
Software-based gamepad whose state is set programmatically.
shield
nvidia Shield controller.
joyconleft
Left-hand joycon.
joyconright
Right-hand joycon.
joyconpair
Both left- and right-hand joycons together.

See Also


Other Languages