mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-09 01:25:26 +00:00
Change: Remove unnecessary assignments from OS-X HID driver
This commit is contained in:
parent
d0880ab1e6
commit
77bbb99f72
|
@ -874,7 +874,7 @@ namespace OpenTK.Platform.MacOS
|
|||
case HIDUsageSim.Rudder:
|
||||
case HIDUsageSim.Throttle:
|
||||
short offset = GetJoystickAxis(val, elem);
|
||||
int axis = 0 + joy.Elements[cookie].Index;
|
||||
int axis = joy.Elements[cookie].Index;
|
||||
if (axis >= 0 && axis <= 64)
|
||||
{
|
||||
joy.State.SetAxis(axis, offset);
|
||||
|
|
Loading…
Reference in a new issue