Enable controls for camera video source

This will allow the implementation of camera-specific shortcuts.

Co-authored-by: Tommie <teh420@gmail.com>
This commit is contained in:
Romain Vimont 2025-11-02 14:47:40 +01:00
parent 0a81dd52ea
commit 13e2e3d36b
7 changed files with 138 additions and 97 deletions

View file

@ -30,6 +30,7 @@ struct sc_screen {
#endif
bool video;
bool camera;
struct sc_display display;
struct sc_input_manager im;
@ -74,6 +75,7 @@ struct sc_screen {
struct sc_screen_params {
bool video;
bool camera;
struct sc_controller *controller;
struct sc_file_pusher *fp;