mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2025-12-06 08:01:59 +01:00
Linux: Bounds check fixes (again)
This commit is contained in:
parent
02196352eb
commit
7bf9a5d428
|
|
@ -760,7 +760,6 @@ class LinuxNativeTypesMap {
|
|||
}
|
||||
if(retval == null) {
|
||||
retval = Component.Identifier.Axis.SLIDER_VELOCITY;
|
||||
INSTANCE.relAxesIDs[nativeID] = retval;
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
|
@ -779,7 +778,6 @@ class LinuxNativeTypesMap {
|
|||
}
|
||||
if(retval == null) {
|
||||
retval = Component.Identifier.Axis.SLIDER;
|
||||
INSTANCE.absAxesIDs[nativeID] = retval;
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
|
@ -798,7 +796,6 @@ class LinuxNativeTypesMap {
|
|||
}
|
||||
if(retval == null) {
|
||||
retval = Component.Identifier.Key.UNKNOWN;
|
||||
INSTANCE.buttonIDs[nativeID] = retval;
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue