mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02:00
Fix XBox One controller detection.
This commit is contained in:
parent
dd8bbeb0e5
commit
34224c4f16
1 changed files with 1 additions and 1 deletions
|
@ -65,6 +65,6 @@ bool PluginUtils::isOculusTouchControllerAvailable() {
|
||||||
};
|
};
|
||||||
|
|
||||||
bool PluginUtils::isXboxControllerAvailable() {
|
bool PluginUtils::isXboxControllerAvailable() {
|
||||||
return isSubdeviceContainingNameAvailable("X360 Controller");
|
return isSubdeviceContainingNameAvailable("X360 Controller") || isSubdeviceContainingNameAvailable("XInput Controller");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue