-
Notifications
You must be signed in to change notification settings - Fork 2
Gamepad
Hyomoto edited this page Nov 25, 2020
·
10 revisions
| Jump To | Go Back |
Arguments | Methods | Variables |
|---|
Implements: None
No description.
// no example| Name | Type | Purpose |
|---|---|---|
| None |
| Jump To | top |
input | inputAxis | set_deadzone |
|---|
Returns: N/A undefined
| Name | Type | Purpose |
|---|---|---|
| contant | int |
The gamepad button constant to bind. |
| gamepad | Gamepad |
This should generally be self, as the inputs much reach back to Gamepad to find the pad index. |
A wrapper GML's gamepad button inputs.
Returns: N/A undefined
| Name | Type | Purpose |
|---|---|---|
| contant | int |
The gamepad axis constant to bind. |
| gamepad | Gamepad |
This should generally be self, as the inputs much reach back to Gamepad to find the pad index. |
| _gamepad | undef |
none provided |
A wrapper GML's gamepad axis inputs.
Returns: N/A undefined
| Name | Type | Purpose |
|---|---|---|
| _amount | undef |
none provided |
| Jump To | top |
|---|
- port - The port this gamepad is plugged into. You can get the port number via port.portId if this gamepad is plugged into a port.
- padIndex - The pad index this Gamepad is used.
Devon Mullane 2020