There is only one joystick
This commit is contained in:
parent
ab4be91d13
commit
5067551373
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ joystickConnect msg = do
|
|||
ident <- liftIO $ fromIntegral <$> SDL.getJoystickID joy
|
||||
liftIO $ logIO A.Debug $ "Joystick connected: " ++ show ident
|
||||
putAffection ud
|
||||
{ controls = Joystick joy
|
||||
{ controls = Joystick
|
||||
}
|
||||
) mjoy
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ data UserData = UserData
|
|||
data Controller
|
||||
= None
|
||||
| Keyboard
|
||||
| Joystick SDL.Joystick
|
||||
| Joystick
|
||||
deriving (Eq, Show)
|
||||
|
||||
data State
|
||||
|
|
Loading…
Reference in a new issue