mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2026-01-13 20:30:01 +01:00
Fix return code for unknown controller buttons on linux controllers. Patch supplied by tctimmeh on JGO.
http://www.java-gaming.org/topics/updating-linux-stick-button-mappings/28838/view.html
This commit is contained in:
parent
29d8717a75
commit
a5c79be8d0
|
|
@ -841,7 +841,7 @@ class LinuxNativeTypesMap {
|
|||
//ignore, pretend it was null
|
||||
}
|
||||
if(retval == null) {
|
||||
retval = Component.Identifier.Key.UNKNOWN;
|
||||
retval = Component.Identifier.Button.UNKNOWN;
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue