diff options
author | Arisotura <thetotalworm@gmail.com> | 2022-10-02 16:47:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-02 16:47:57 +0200 |
commit | 3f4573574a581da849408ebc376ca97d5e82bc7d (patch) | |
tree | e6144cc9cfcfe383faee847e54b7864f963a9373 /src/frontend/qt_sdl/Config.h | |
parent | c1c4cbc838bcc017ea325458112582e949274f30 (diff) |
actual DSi camera support (#1520)
basically feeding something that isn't a fixed stripe pattern, and emulating enough of the camera hardware to make this work
Diffstat (limited to 'src/frontend/qt_sdl/Config.h')
-rw-r--r-- | src/frontend/qt_sdl/Config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/frontend/qt_sdl/Config.h b/src/frontend/qt_sdl/Config.h index cc6792c..6ccae5f 100644 --- a/src/frontend/qt_sdl/Config.h +++ b/src/frontend/qt_sdl/Config.h @@ -61,6 +61,14 @@ struct ConfigEntry bool InstanceUnique; // whether the setting can exist individually for each instance in multiplayer }; +struct CameraConfig +{ + int InputType; // 0=blank 1=image 2=camera + std::string ImagePath; + std::string CamDeviceName; + bool XFlip; +}; + extern int KeyMapping[12]; extern int JoyMapping[12]; @@ -175,6 +183,8 @@ extern bool DSBatteryLevelOkay; extern int DSiBatteryLevel; extern bool DSiBatteryCharging; +extern CameraConfig Camera[2]; + void Load(); void Save(); |