function
inputLast()
Returns the last input pressed of any type: keyboard, mouse, gamepad. Or undefined if no input is pressed.
Name | Type | Description |
---|---|---|
gamepad_device | None |
The gamepad to check (default: 0) |
input/undefined
inputLast(global.gamepads_connected[0]);
Copyright © 2021, Milan Varady. Built on June 28, 2021 using GMDoc.