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