mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2026-04-04 22:18:00 +00:00
Add an axis identifier for unknown axis types and get directx to use it
if it doesn't recognise an axis on construction.
This commit is contained in:
parent
1dc8f9ea11
commit
99e28a3d9d
2 changed files with 6 additions and 1 deletions
|
|
@ -472,7 +472,7 @@ final class IDirectInputDevice {
|
|||
case IDirectInputDevice.GUID_Button:
|
||||
return getNextButtonIdentifier();
|
||||
default:
|
||||
return null;
|
||||
return Component.Identifier.Axis.UNKNOWN;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue