PLEASE NOTE: The KeyCodes for the THUMBSTICKS are INCORRECT. Do not use them.
The KeyCodes for the thumbsticks are:
Enum.KeyCode.Thumbstick1 – Left
Enum.KeyCode.Thumbstick2 – Right
Hello! As like everyone else has experienced at one time during scripting, KeyCodes for special buttons such as the controller’s trigger can be a hassle. Who knows what Enum.KeyCode.ButtonR1
does? Well, I am here to tell you!
The document included KeyCodes on the Original Oculus Touch Controllers, Oculus Touch Controllers, Oculus Quest 2 Touch Controllers, HTC Controllers, and Normal Game Controllers. Just because the controllers may not be the exact same model as in the diagram, it does not mean they will not work. Infer what the buttons would be as the other model.
Below is a full guide on all of the special KeyCodes such as ButtonR2
and where they are assigned.
.pdf:
Roblox KeyCode Assignments.pdf (701.9 KB)
.txt (sry that the .txt document is all messed up):
Roblox KeyCode Assignments.txt (2.2 KB)
Or if you do not want to download the .pdf, here are the pages:
I do not know if this would be to any help to anyone, but I decided to do it anyway.
Have a good day!
please note, I did not create the diagrams.