Last active
October 5, 2018 21:04
-
-
Save jonasgeiler/78347e3635f75f4f9ad7419c79a0d680 to your computer and use it in GitHub Desktop.
Gameshell Löve2D Keymap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- GAMESHELL KEYMAP -- | |
-- See here: https://github.com/clockworkpi/Keypad/blob/master/keymaps.png | |
keys = {} | |
-- A, B, X, Y | |
keys.Y = 'i' | |
keys.X = 'u' | |
keys.A = 'j' | |
keys.B = 'k' | |
-- D-Pad | |
keys.DPad_up = 'up' | |
keys.DPad_down = 'down' | |
keys.DPad_right = 'right' | |
keys.DPad_left = 'left' | |
-- Special Keys | |
keys.Start = 'return' | |
keys.Select = 'space' | |
keys.Volume_down = 'kp-' | |
keys.Volume_up = 'kp+' | |
-- Menu | |
keys.Menu = 'escape' | |
-- Lightkey | |
keys.LK1 = 'h' | |
keys.LK2 = 'y' | |
--keys.LK3 = keys.lk3 = '' <-- Not usable, is shift | |
keys.LK4 = 'o' | |
keys.LK5 = 'l' | |
keys.LK1_shift = 'home' | |
keys.LK2_shift = 'pageup' | |
--keys.LK3_shift = lk3_shift = '' <-- Still not usable... | |
keys.LK4_shift = 'pagedown' | |
keys.LK5_shift = 'end' | |
return keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment