mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-26 12:58:37 +02:00
- renamed synrgyhk.dll to synwinhk.dll and moved lib code to separate folder.
- removed game device support (fallen into significant disrepair).
This commit is contained in:
parent
289f1ff71f
commit
dab838ed14
77 changed files with 91 additions and 2859 deletions
|
@ -70,27 +70,6 @@ CAppUtilWindows::parseArg(const int& argc, const char* const* argv, int& i)
|
|||
|
||||
app().argsBase().m_pauseOnExit = true;
|
||||
}
|
||||
else if (app().isArg(i, argc, argv, NULL, "--game-mode")) {
|
||||
CString mode(argv[++i]);
|
||||
if (mode == "xinput") {
|
||||
app().argsBase().m_gameDevice.m_mode = CGameDeviceInfo::kGameModeXInput;
|
||||
}
|
||||
else if (mode == "joyinfoex") {
|
||||
app().argsBase().m_gameDevice.m_mode = CGameDeviceInfo::kGameModeJoyInfoEx;
|
||||
}
|
||||
}
|
||||
else if (app().isArg(i, argc, argv, NULL, "--game-poll")) {
|
||||
CString mode(argv[++i]);
|
||||
if (mode == "dynamic") {
|
||||
app().argsBase().m_gameDevice.m_poll = CGameDeviceInfo::kGamePollDynamic;
|
||||
}
|
||||
else if (mode == "static") {
|
||||
app().argsBase().m_gameDevice.m_poll = CGameDeviceInfo::kGamePollStatic;
|
||||
}
|
||||
}
|
||||
else if (app().isArg(i, argc, argv, NULL, "--game-poll-freq")) {
|
||||
app().argsBase().m_gameDevice.m_pollFreq = atoi(argv[++i]);
|
||||
}
|
||||
else if (app().isArg(i, argc, argv, NULL, "--stop-on-desk-switch")) {
|
||||
app().argsBase().m_stopOnDeskSwitch = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue