keyboard module
Core framework Console Desktop
Function | Description | Return value |
---|---|---|
keyboard.tostring() | Converts a combination of keys to a resulting string | string |
keyboard.ispressed() | Checks if one or more keys have been pressed | numbers | nil |
keyboard.isup() | Checks if a specified key is up | boolean |
keyboard.isdown() | Checks if a specified key is down | boolean |
keyboard.waitfor() | Waits for any key to be pressed asynchronously | string |
keyboard.sendkeys() | Sends virtual key presses to other applications | boolean |
keyboard.keyname() | Gets the key name corresponding to the provided character | string, booleans |
keyboard.bind() | Binds a key to a function | Task |
Keyboard module does not have any properties