grandMA3 User Manual Publication
SetBlockInput(boolean)
grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » SetBlockInput(boolean)
|
Version 2.1
|
Description
The SetBlockInput function is an internal function used during the system tests. It stops input from USB-connected keyboards and mouse. The built-in keyboard on some models is internally connected using a USB connection, which is also blocked by this function. The block affects the station where the function is executed.
Important: | |
Should the station be blocked and cannot be unblocked using a new Lua command, then pressing the keyboard keys A, S, D, and F simultaneously unblock the input again. |
Arguments
- Boolean:
The boolean indicates if the stations' input should be blocked or unblocked.- true (or 1): The station input is blocked.
- false (or 0): The station input is unblocked.
Return
This function does not return anything.
Example
This example blocks mouse and keyboard input for 10 seconds:
Lua |
return function() |