Input system
Keyboard, mouse, gamepad, touch, and stylus input handling. Composable state architecture for per-widget input routing, directional focus traversal, focus ordering, and SDL3 event pipeline.
Key files
src/input_state.h,src/input_keyboard_state.h,src/input_mouse_state.h,src/input_gamepad_state.hassets/lua/state-handlers/— focus, hover, pointer, camera, gamepad, touch, pen handlersassets/lua/input-state-router.fnl,assets/lua/touch-router.fnl
Dependencies
- Depends on: Core Platform
- Depended on by: Layout Widget Engine, Activities Architecture
Dev notes
- Composable States — composable state architecture over inheritance
- Directional Focus Traversal — focus movement between widgets
- Focus Change Ordering — focus event ordering
- Sdl3 Input Migration — SDL2 to SDL3 migration
- Selection — selection model
