mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 00:28:20 +00:00
[client] main: add micDefaultState to state and params
This commit is contained in:
parent
1e660fb7e1
commit
3e079e0489
@ -45,6 +45,12 @@ enum RunState
|
|||||||
APP_STATE_SHUTDOWN
|
APP_STATE_SHUTDOWN
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum MicDefaultState {
|
||||||
|
MIC_DEFAULT_PROMPT,
|
||||||
|
MIC_DEFAULT_ALLOW,
|
||||||
|
MIC_DEFAULT_DENY
|
||||||
|
};
|
||||||
|
|
||||||
struct AppState
|
struct AppState
|
||||||
{
|
{
|
||||||
enum RunState state;
|
enum RunState state;
|
||||||
@ -146,69 +152,70 @@ struct AppState
|
|||||||
|
|
||||||
struct AppParams
|
struct AppParams
|
||||||
{
|
{
|
||||||
bool autoResize;
|
bool autoResize;
|
||||||
bool allowResize;
|
bool allowResize;
|
||||||
bool keepAspect;
|
bool keepAspect;
|
||||||
bool forceAspect;
|
bool forceAspect;
|
||||||
bool dontUpscale;
|
bool dontUpscale;
|
||||||
bool intUpscale;
|
bool intUpscale;
|
||||||
bool shrinkOnUpscale;
|
bool shrinkOnUpscale;
|
||||||
bool borderless;
|
bool borderless;
|
||||||
bool fullscreen;
|
bool fullscreen;
|
||||||
bool maximize;
|
bool maximize;
|
||||||
bool minimizeOnFocusLoss;
|
bool minimizeOnFocusLoss;
|
||||||
bool center;
|
bool center;
|
||||||
int x, y;
|
int x, y;
|
||||||
unsigned int w, h;
|
unsigned int w, h;
|
||||||
int fpsMin;
|
int fpsMin;
|
||||||
LG_RendererRotate winRotate;
|
LG_RendererRotate winRotate;
|
||||||
bool useSpice;
|
bool useSpice;
|
||||||
bool useSpiceInput;
|
bool useSpiceInput;
|
||||||
bool useSpiceClipboard;
|
bool useSpiceClipboard;
|
||||||
bool useSpiceAudio;
|
bool useSpiceAudio;
|
||||||
const char * spiceHost;
|
const char * spiceHost;
|
||||||
unsigned int spicePort;
|
unsigned int spicePort;
|
||||||
bool clipboardToVM;
|
bool clipboardToVM;
|
||||||
bool clipboardToLocal;
|
bool clipboardToLocal;
|
||||||
bool scaleMouseInput;
|
bool scaleMouseInput;
|
||||||
bool hideMouse;
|
bool hideMouse;
|
||||||
bool ignoreQuit;
|
bool ignoreQuit;
|
||||||
bool noScreensaver;
|
bool noScreensaver;
|
||||||
bool autoScreensaver;
|
bool autoScreensaver;
|
||||||
bool grabKeyboard;
|
bool grabKeyboard;
|
||||||
bool grabKeyboardOnFocus;
|
bool grabKeyboardOnFocus;
|
||||||
int escapeKey;
|
int escapeKey;
|
||||||
bool ignoreWindowsKeys;
|
bool ignoreWindowsKeys;
|
||||||
bool releaseKeysOnFocusLoss;
|
bool releaseKeysOnFocusLoss;
|
||||||
bool showAlerts;
|
bool showAlerts;
|
||||||
bool captureOnStart;
|
bool captureOnStart;
|
||||||
bool quickSplash;
|
bool quickSplash;
|
||||||
bool alwaysShowCursor;
|
bool alwaysShowCursor;
|
||||||
uint64_t helpMenuDelayUs;
|
uint64_t helpMenuDelayUs;
|
||||||
const char * uiFont;
|
const char * uiFont;
|
||||||
int uiSize;
|
int uiSize;
|
||||||
bool jitRender;
|
bool jitRender;
|
||||||
|
|
||||||
unsigned int cursorPollInterval;
|
unsigned int cursorPollInterval;
|
||||||
unsigned int framePollInterval;
|
unsigned int framePollInterval;
|
||||||
bool allowDMA;
|
bool allowDMA;
|
||||||
|
|
||||||
bool forceRenderer;
|
bool forceRenderer;
|
||||||
unsigned int forceRendererIndex;
|
unsigned int forceRendererIndex;
|
||||||
|
|
||||||
const char * windowTitle;
|
const char * windowTitle;
|
||||||
bool mouseRedraw;
|
bool mouseRedraw;
|
||||||
int mouseSens;
|
int mouseSens;
|
||||||
bool mouseSmoothing;
|
bool mouseSmoothing;
|
||||||
bool rawMouse;
|
bool rawMouse;
|
||||||
bool autoCapture;
|
bool autoCapture;
|
||||||
bool captureInputOnly;
|
bool captureInputOnly;
|
||||||
bool showCursorDot;
|
bool showCursorDot;
|
||||||
|
|
||||||
int audioPeriodSize;
|
int audioPeriodSize;
|
||||||
int audioBufferLatency;
|
int audioBufferLatency;
|
||||||
bool micAlwaysAllow;
|
bool micAlwaysAllow;
|
||||||
bool micShowIndicator;
|
bool micShowIndicator;
|
||||||
|
enum MicDefaultState micDefaultState;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CBRequest
|
struct CBRequest
|
||||||
|
Loading…
Reference in New Issue
Block a user