[Input] Fixed compilation error

This commit is contained in:
Stefanos A. 2014-01-31 16:37:36 +01:00
parent 5145ebceb7
commit 4fceca2f80

View file

@ -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");
} }