Haxe Script API: Game Input Control Functions - Meme1079/PsychWiki GitHub Wiki
Checks whether the given keybind that was initially pressed.
-
keybind
- The given keybind to check its input.
Checks whether the given keybind that was currently held during a pressed.
-
keybind
- The given keybind to check its input.
Checks whether the given keybind that was recently released after being pressed.
-
keybind
- The given keybind to check its input.
Checks whether the given keyboard keys were initially pressed.
-
key
- The given key from the keyboard to check its input.
Checks whether the given keyboard keys were currently held during a pressed.
-
key
- The given key from the keyboard to check its input.
Checks whether the given keyboard keys were recently released after being pressed.
-
key
- The given key from the keyboard to check its input.
Note
The parameters for each callback in this section are listed here. Due to stupid, repetitive copy and paste in each callback description. They all work the same as usual in each callback, If you want to know which parameters are included or not, look at each callbacks title, idiot.
-
id
- The specified controller ID number used for differentiate controllers. For example, if$4$ gamepads are connected, their IDs will range from0
to3
respectively. -
gamepadBinds
- The given buttons from the gamepad to check its input.
Checks whether the given gamepad binds were initially pressed.
Checks whether the given gamepad binds were currently held during a pressed.
Checks whether the given gamepad binds were recently released after being pressed.
Checks whether the given gamepad buttons were initially pressed.
-
button
- The given button from the gamepad to check its input.
Checks whether the given gamepad buttons were currently held during a pressed.
-
button
- The given button from the gamepad to check its input.
Checks whether the given gamepad buttons were recently released after being pressed.
-
button
- The given button from the gamepad to check its input.
Gets the analog stick's current x-axis value.
-
id
- The specified controller ID number used for differentiate controllers. For example, if$4$ gamepads are connected, their IDs will range from0
to3
respectively. -
leftStick
- An optional parameter, whether the it will be the left or right analog stick; Default value:true
.
Gets the analog stick's current y-axis value.
-
id
- The specified controller ID number used for differentiate controllers. For example, if$4$ gamepads are connected, their IDs will range from0
to3
respectively. -
leftStick
- An optional parameter, whether the it will be the left or right analog stick; Default value:true
.