diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-09-20 12:34:35 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-09-20 13:52:14 +0200 |
| commit | 14df82ee4db71509f4ec4968df439d4659ca1ac3 (patch) | |
| tree | a1e210e2f553f758bd568d724fa84e99853dae22 /src/camera | |
| parent | a01b22de747de67adfaa1e8ba221c94588963163 (diff) | |
| download | jancity-14df82ee4db71509f4ec4968df439d4659ca1ac3.tar.gz | |
Implement input component
It is required to redirect keyboard input (both physical or not) when
a GUI line edit is focused. This means other components cannot be
activated on key presses.
Therefore, this new component is meant as a higher-level abstraction
compared to the `keyboard`/`pad`/`mouse` components, which:
- Implements the same APIs provided by `keyboard`, `mouse` and `pad`.
- Returns the same results as the APIs above if no GUI element is
focused, no input otherwise.
Note: replacing calls to `keyboard`/`pad`/`mouse` with `input` will be
implemented in a future commit.
Diffstat (limited to 'src/camera')
0 files changed, 0 insertions, 0 deletions
