@@ -78,11 +78,11 @@ middleButton = 1
7878rightButton :: Int
7979rightButton = 2
8080
81−wheelUp :: Int
82−wheelUp = 64
81+scrollUp :: Int
82+scrollUp = 64
8383
84−wheelDown :: Int
85−wheelDown = 65
84+scrollDown :: Int
85+scrollDown = 65
8686
8787hasBitSet :: Int -> Int -> Bool
8888hasBitSet val bit = val .&. bit > 0
@@ -106,8 +106,8 @@ getSGRButton mods =
106106 let buttonMap = [ (leftButton, BLeft)
107107 , (middleButton, BMiddle)
108108 , (rightButton, BRight)
109− , (wheelUp, BWheelUp)
110− , (wheelDown, BWheelDown)
109+ , (scrollUp, BScrollUp)
110+ , (scrollDown, BScrollDown)
111111 ]
112112 in case lookup (mods .&. buttonMask) buttonMap of
113113 Nothing -> failParse