Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

love.keyboard

AddM edited this page Sep 4, 2018 · 7 revisions

love.keyboard.isDown

Usage love.keyboard.isDown(string KEY)
Example love.keyboard.isDown("start")
Returns boolean

Keys

General

Key Explaination
a A-Button
b B-Button
x X-Button
y Y-Button
start Start-Button
select Select-Button

D-Pad

Key Explaination
up DPad Up
down DPad Down
left DPad Left
right DPad Right

Shoulder Buttons

Key Explaination
lbutton L Button
rbutton R Button
KEY_ZL ZL Button
KEY_ZR ZR Button

Circle-Pad

Key Explaination
cpadup CirclePad-Up
cpaddown CirclePad-Down
cpadleft CirclePad-left
cpadright CirclePad-right

C-Stick

Key Explaination
cstickup CStick-Up
cstickdown CStick-Down
cstickleft CStick-left
cstickright CStick-right
Clone this wiki locally