love.keyboard
Provides an interface to the user's keyboard.
Functions
love.keyboard.getKeyFromScancode | Gets the key corresponding to the given hardware scancode. |
![]() |
|
love.keyboard.getKeyRepeat | Returns the delay and interval of key repeating. |
![]() |
|
love.keyboard.getScancodeFromKey | Gets the hardware scancode corresponding to the given key. |
![]() |
|
love.keyboard.hasKeyRepeat | Gets whether key repeat is enabled. |
![]() |
|
love.keyboard.hasTextInput | Gets whether text input events are enabled. |
![]() |
|
love.keyboard.isDown | Checks whether a certain key is down. | ||
love.keyboard.setKeyRepeat | Enables or disables key repeat for love.keypressed. | ||
love.keyboard.setTextInput | Enables or disables text input events. |
![]() |
Enums
KeyConstant | All the keys you can press. |
See Also
Category: