Permalink
Browse files

[Input] Fixed compilation error

  • Loading branch information...
1 parent 5145ebc commit 4fceca2f80e7c52b791039a48a3e6b01288e7e63 @thefiddler thefiddler committed Jan 31, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 Source/OpenTK/Input/JoystickState.cs
@@ -244,12 +244,16 @@ internal void SetHat(JoystickHat hat, JoystickHatState value)
{
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");
}

0 comments on commit 4fceca2

Please sign in to comment.