-
Notifications
You must be signed in to change notification settings - Fork 0
obsi.keyboard
simadude edited this page Jan 26, 2024
·
1 revision
This is a keyboard module for checking whether the keyboard key is down.
Functions of obsi.keyboard:
function | description |
---|---|
obsi.keyboard.isDown | Returns true if the key is held down. |
obsi.keyboard.isScancodeDown | Returns true if the key under the scancode is held down. |
Returns true if the key is held down.
Declared as:
obsi.keyboard.isDown(key: string) -> boolean
Returns true if the key under the scancode is held down.
Declared as:
obsi.keyboard.isScancodeDown(scancode: number) -> boolean