What problem does it solve?
This Skill provides a ready-to-use interface for handling keyboard input in LÖVE games, consolidating key and scancode handling, screen keyboard support, and text input toggling into a single, discoverable entry.
Core Features & Use Cases
- Detect and map physical keys to logical actions via love.keyboard.getKeyFromScancode and love.keyboard.getScancodeFromKey.
- Manage input state with hasKeyRepeat, isDown, and isScancodeDown, enabling responsive controls across platforms.
- Enable or disable text input with setTextInput and support on-screen keyboards on platforms that require it.
- Support international keyboard layouts and modifiers for flexible controls.
Quick Start
Use the love-keyboard skill to detect the Escape key to quit the game and to handle general text input via love.textinput for UI or chat.