aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* peripheral: provide common actionsXavier Del Campo Romero2022-06-241-1/+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/+3
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).