From 4fceca2f80e7c52b791039a48a3e6b01288e7e63 Mon Sep 17 00:00:00 2001 From: "Stefanos A." <stapostol@gmail.com> Date: Fri, 31 Jan 2014 16:37:36 +0100 Subject: [PATCH] [Input] Fixed compilation error --- Source/OpenTK/Input/JoystickState.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/OpenTK/Input/JoystickState.cs b/Source/OpenTK/Input/JoystickState.cs index ef18267f..6972bac9 100644 --- a/Source/OpenTK/Input/JoystickState.cs +++ b/Source/OpenTK/Input/JoystickState.cs @@ -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"); }