SwipSwapMe/src/retain_vars.hpp

33 lines
970 B
C++
Raw Normal View History

2023-02-16 10:52:22 +01:00
#pragma once
#include <cstdint>
typedef enum SwipSwapAudioMode {
AUDIO_MODE_NONE = 0,
AUDIO_MODE_SWAP = 1,
AUDIO_MODE_MATCH_SCREEN = 2,
AUDIO_MODE_COMBINE = 3,
AUDIO_MODE_LEFT_TV_RIGHT_DRC = 4,
AUDIO_MODE_MAX_VALUE = 5
} SwipSwapAudioMode;
2024-03-03 18:04:14 +01:00
typedef enum SwipSwapScreenMode {
SCREEN_MODE_NONE = 0,
SCREEN_MODE_SWAP = 1,
SCREEN_MODE_MIRROR_TV = 2,
SCREEN_MODE_MIRROR_DRC = 3,
SCREEN_MODE_MAX_VALUE = 4
} SwipSwapScreenMode;
2023-02-16 10:52:22 +01:00
extern uint32_t gSwapScreenButtonCombo;
extern uint32_t gSwapAudioButtonCombo;
extern uint32_t gChangeScreenButtonCombo;
2023-02-16 10:52:22 +01:00
extern bool gSwapScreenButtonComboEnabled;
extern bool gChangeAudioModeButtonComboEnabled;
extern bool gChangeScreenModeButtonComboEnabled;
2023-02-16 10:52:22 +01:00
extern bool gEnabled;
extern bool gShowNotifications;
extern bool gNotificationModuleInitDone;
2024-03-03 18:04:14 +01:00
extern SwipSwapScreenMode gCurScreenMode;
2023-02-16 10:52:22 +01:00
extern SwipSwapAudioMode gCurAudioMode;