flaw-input/Flaw/Input/Sdl.hs

Summary

Maintainability
Test Coverage

Parse error
Open

      , SDL.controllerButtonEventButton = gamepadButtonFromSdlButton . fromIntegral -> button
Severity: Minor
Found in flaw-input/Flaw/Input/Sdl.hs by hlint

Found

{ SDL.eventType = eventType
        , SDL.controllerButtonEventWhich = joystickId
>       , SDL.controllerButtonEventButton = gamepadButtonFromSdlButton . fromIntegral -> button
        } -> when (button /= GamepadButtonUnknown) $ case eventType of
        SDL.SDL_CONTROLLERBUTTONDOWN -> addGamepadEvent joystickId $ GamepadButtonDownEvent button

remove it.

There are no issues that match your filters.

Category
Status