mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 08:45:37 +00:00
[Input] Fixed compilation error
This commit is contained in:
parent
5145ebceb7
commit
4fceca2f80
|
@ -244,12 +244,16 @@ namespace OpenTK.Input
|
||||||
{
|
{
|
||||||
case JoystickHat.Hat0:
|
case JoystickHat.Hat0:
|
||||||
hat0 = value;
|
hat0 = value;
|
||||||
|
break;
|
||||||
case JoystickHat.Hat1:
|
case JoystickHat.Hat1:
|
||||||
hat1 = value;
|
hat1 = value;
|
||||||
|
break;
|
||||||
case JoystickHat.Hat2:
|
case JoystickHat.Hat2:
|
||||||
hat2 = value;
|
hat2 = value;
|
||||||
|
break;
|
||||||
case JoystickHat.Hat3:
|
case JoystickHat.Hat3:
|
||||||
hat3 = value;
|
hat3 = value;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new ArgumentOutOfRangeException("hat");
|
throw new ArgumentOutOfRangeException("hat");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue