rts/src
Xavier Del Campo Romero 684587a3c3 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.
2022-09-20 13:52:14 +02:00
..
building Implement sub-tile collboxes 2022-03-30 08:28:47 +02:00
camera mouse.c: Reduce threshold 2022-09-16 20:33:39 +02:00
container Allow systems without sound support 2022-05-24 22:20:02 +02:00
font font.c: set null dimensions on null str 2022-07-02 04:50:50 +02:00
game Implement main menu 2022-06-26 21:51:47 +02:00
gfx Use find_package for SDL libraries 2022-07-23 04:23:05 +02:00
gui gui: Update elements in reverse order 2022-07-15 01:03:36 +02:00
header Add metadata header to media files 2022-03-30 08:20:21 +02:00
input Implement input component 2022-09-20 13:52:14 +02:00
instance Replace x_get functions with macros 2022-03-30 08:20:21 +02:00
keyboard keyboard: Add new public functions 2022-09-20 13:52:14 +02:00
menu Minor code style fixes 2022-09-20 13:51:08 +02:00
mouse Use find_package for SDL libraries 2022-07-23 04:23:05 +02:00
pad Use find_package for SDL libraries 2022-07-23 04:23:05 +02:00
peripheral peripheral.c: initialize common members only 2022-06-26 20:00:27 +02:00
player human_player_gui.c: use gui_container for top gui_bar 2022-07-02 04:47:50 +02:00
resource Remove unused minor stuff 2022-03-31 07:30:14 +02:00
sfx Use find_package for SDL libraries 2022-07-23 04:23:05 +02:00
system Use find_package for SDL libraries 2022-07-23 04:23:05 +02:00
tech Add project source code 2022-03-30 08:20:20 +02:00
terrain Deprecate memset(3) for zero-init 2022-06-27 21:56:43 +02:00
unit Deprecate memset(3) for zero-init 2022-06-27 21:56:43 +02:00
util Add project source code 2022-03-30 08:20:20 +02:00
CMakeLists.txt Implement input component 2022-09-20 13:52:14 +02:00
main.c Implement main menu 2022-06-26 21:51:47 +02:00
system.cnf Add project source code 2022-03-30 08:20:20 +02:00