diff options
Diffstat (limited to 'plug/src/Montis/Core/KeyEvent.hs')
| -rw-r--r-- | plug/src/Montis/Core/KeyEvent.hs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/plug/src/Montis/Core/KeyEvent.hs b/plug/src/Montis/Core/KeyEvent.hs deleted file mode 100644 index cbdda4f..0000000 --- a/plug/src/Montis/Core/KeyEvent.hs +++ /dev/null @@ -1,22 +0,0 @@ -module Montis.Core.KeyEvent - ( KeyEvent (..), - KeyState (..), - ) -where - -import Data.Word (Word32) -import Foreign (Ptr) -import Montis.Foreign.WlRoots - -data KeyState = KeyPressed | KeyReleased deriving (Show, Read, Eq, Enum, Ord) - -data KeyEvent = KeyEvent - { timeMs :: Word32, - keycode :: Word32, - state :: KeyState, - modifiers :: Word32, - keysym :: Word32, - codepoint :: Char, - device :: Ptr WlrInputDevice - } - deriving (Show, Ord, Eq) |