mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 04:05:35 +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:
|
||||
hat0 = value;
|
||||
break;
|
||||
case JoystickHat.Hat1:
|
||||
hat1 = value;
|
||||
break;
|
||||
case JoystickHat.Hat2:
|
||||
hat2 = value;
|
||||
break;
|
||||
case JoystickHat.Hat3:
|
||||
hat3 = value;
|
||||
break;
|
||||
default:
|
||||
throw new ArgumentOutOfRangeException("hat");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue