aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/inc
Commit message (Collapse)AuthorAgeFilesLines
* Big rushed updateXavier Del Campo Romero2024-01-281-1/+1
|
* Replace "unsigned int" with "unsigned"Xavier Del Campo Romero2024-01-271-1/+1
|
* WIPXavier Del Campo Romero2022-11-011-0/+1
|
* Remap calls to pad/mouse/keyboard to inputXavier Del Campo Romero2022-09-201-0/+1
|
* peripheral: provide common actionsXavier Del Campo Romero2022-06-241-0/+1
| | | | | | Whereas some actions are context-specific (e.g.: selecting a player), some are context-independent and can be executed for all screens (e.g.: exiting the game).
* Split peripheral-related logic into its own componentXavier Del Campo Romero2022-06-121-0/+64
This has several advantages: - `camera` no longer needs to define public functions for each peripheral type. - Peripheral-related is now no longer tighly coupled to human_player, so peripheral logic can be reused elsewhere e.g.: on menus. - Makes camera_update_touch consistent compared to equivalent functions, since now `pan` has now been moved to `camera` (as it should be).