UI / JoystickBindKeyType
JoystickBindKeyType Class
Joystick key binding
Table of contents
Properties
down: Keys |
|---|
| Down button |
left: Keys |
| Left button |
right: Keys |
| Right button |
up: Keys |
| Up button |
Do not assign values and wait for individual binding for each key in the future
• new JoystickBindKeyType(up, down, left, right)
Construct a data structure to transfer the keys to be bound to the joystick
Parameters
up Keys | Usage: Up button default: undefined |
|---|---|
down Keys | Usage: Down button default: undefined |
left Keys | Usage: Left button default: undefined |
right Keys | Usage: Right button default: undefined |
Properties
down
• down: Keys
Down button
left
• left: Keys
Left button
right
• right: Keys
Right button
up
• up: Keys
Up button
Editor API