module Gamgine.State.MouseInfo (module II, MouseInfo(..)) where import qualified Graphics.UI.GLFW as GLFW import qualified Gamgine.Math.Vect as V import qualified Gamgine.State.InputInfo as II -- | info for the pressed/released mouse button data MouseInfo = MouseInfo { -- the pressed/released mouse button :: GLFW.MouseButton, -- if the button was pressed/released MouseInfo -> InputState status :: II.InputState, -- the current mouse position in world coordinates MouseInfo -> MousePos mousePos :: II.MousePos, -- if a modifier key is additionally pressed MouseInfo -> ModifierKeys modifiers :: GLFW.ModifierKeys }