xbox :: PadConfig
xbox = PadConfig
    { padShortName = "xbox"
    , padName = "Generic X-Box pad"
    , buttonConfig = simpleButtonConfig
          [ (0, a)
          , (1, b)
          , (2, x)
          , (3, y)
          , (4, lb)
          , (5, rb)
          , (6, back)
          , (7, start)
          , (8, home)
          , (9, ls)
          , (10, rs)
          ]
    , dpadConfig = simpleDPadConfig 0
          [ (0, C)
          , (1, N)
          , (3, NE)
          , (2, E)
          , (6, SE)
          , (4, S)
          , (12, SW)
          , (8, W)
          , (9, NW)
          ]
    , axisConfig = simpleAxisConfig 
          [ (0, horizStickConfig leftStick)
          , (1, vertStickConfig leftStick)
          , (2, triggerConfig leftTrigger)
          , (3, horizStickConfig rightStick)
          , (4, vertStickConfig rightStick)
          , (5, triggerConfig rightTrigger)
          ]
    }
xbox :: PadConfig
xbox = PadConfig
    { padShortName = "xbox"
    , padName = "Generic X-Box pad"
    , buttonConfig = simpleButtonConfig
          [ (0, a)
          , (1, b)
          , (2, x)
          , (3, y)
          , (4, lb)
          , (5, rb)
          , (6, back)
          , (7, start)
          , (8, home)
          , (9, ls)
          , (10, rs)
          ]
    , dpadConfig = simpleDPadConfig 0
          [ (0, C)
          , (1, N)
          , (3, NE)
          , (2, E)
          , (6, SE)
          , (4, S)
          , (12, SW)
          , (8, W)
          , (9, NW)
          ]
    , axisConfig = simpleAxisConfig 
          [ (0, horizStickConfig leftStick)
          , (1, vertStickConfig leftStick)
          , (2, triggerConfig leftTrigger)
          , (3, horizStickConfig rightStick)
          , (4, vertStickConfig rightStick)
          , (5, triggerConfig rightTrigger)
          ]
    }
xbox = PadConfig
    { padShortName = "xbox"
    , padName = "Generic X-Box pad"
    , buttonConfig = simpleButtonConfig
          [ (0, a)
          , (1, b)
          , (2, x)
          , (3, y)
          , (4, lb)
          , (5, rb)
          , (6, back)
          , (7, start)
          , (8, home)
          , (9, ls)
          , (10, rs)
          ]
    , dpadConfig = simpleDPadConfig 0
          [ (0, C)
          , (1, N)
          , (3, NE)
          , (2, E)
          , (6, SE)
          , (4, S)
          , (12, SW)
          , (8, W)
          , (9, NW)
          ]
    , axisConfig = simpleAxisConfig 
          [ (0, horizStickConfig leftStick)
          , (1, vertStickConfig leftStick)
          , (2, triggerConfig leftTrigger)
          , (3, horizStickConfig rightStick)
          , (4, vertStickConfig rightStick)
          , (5, triggerConfig rightTrigger)
          ]
    }