-
Notifications
You must be signed in to change notification settings - Fork 1
Keys
CPU edited this page Jan 18, 2021
·
5 revisions
keyu for Up -> keys W, Z, UpArrow
keyd for Down -> keys S, DownArrow
keyl for Left -> keys A, Q, LeftArrow
keyr for Right -> keys D, RightArrow
(multiple keys are to accomdate French and German keyboards)
keyf as fire -> key space
keya as fire1 -> key i
keyb as fire2 -> key o
keyc as fire3 -> key p
it is possible to add u and d at the end to check the KeyUp and KeyDown.
keyfd checks if "fire" (space) is pressed (and not released)
keylu checks if you go to the left (A or arrow) and you release the key.
keye as Escape -> key escape
keyx is horizontal movement (including controllers), it can be -1, 0, and 1 keyy is vertical movement (including controllers), it can be -1, 0, and 1 (warning, -1 is down and 1 is up)