Merge pull request #4913 from kiall/default-enable-xinput

Enable Xinput by default
This commit is contained in:
R. Belmont 2019-04-25 09:41:49 -04:00 committed by GitHub
commit d15ca02d0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -35,7 +35,7 @@
# DONT_USE_NETWORK = 1
# USE_QTDEBUG = 1
# NO_X11 = 1
# NO_USE_XINPUT = 0
# NO_USE_XINPUT = 1
# FORCE_DRC_C_BACKEND = 1
# DEBUG = 1

View File

@ -170,7 +170,11 @@ newoption {
}
if not _OPTIONS["NO_USE_XINPUT"] then
_OPTIONS["NO_USE_XINPUT"] = "1"
if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"]=="asmjs" then
_OPTIONS["NO_USE_XINPUT"] = "1"
else
_OPTIONS["NO_USE_XINPUT"] = "0"
end
end
newoption {