mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
Enable Xinput by default
On Linux, enable Xinput support by default. The Xinput lightgun driver is the only reliable+accurate method to use lightguns on Linux, we should enable this by default to reduce the friction for Linux Lightgun users. This should have no effect on users of Windows/Mac etc.
This commit is contained in:
parent
b326f27629
commit
489087f173
2
makefile
2
makefile
@ -35,7 +35,7 @@
|
|||||||
# DONT_USE_NETWORK = 1
|
# DONT_USE_NETWORK = 1
|
||||||
# USE_QTDEBUG = 1
|
# USE_QTDEBUG = 1
|
||||||
# NO_X11 = 1
|
# NO_X11 = 1
|
||||||
# NO_USE_XINPUT = 0
|
# NO_USE_XINPUT = 1
|
||||||
# FORCE_DRC_C_BACKEND = 1
|
# FORCE_DRC_C_BACKEND = 1
|
||||||
|
|
||||||
# DEBUG = 1
|
# DEBUG = 1
|
||||||
|
@ -170,7 +170,11 @@ newoption {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if not _OPTIONS["NO_USE_XINPUT"] then
|
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
|
end
|
||||||
|
|
||||||
newoption {
|
newoption {
|
||||||
|
Loading…
Reference in New Issue
Block a user