Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data InputEvent
- data Key
- = Char Char
- | SpecialKey SpecialKey
- | Mouse Point
- data KeyState
- data SpecialKey
Documentation
A key.
Char Char | A key that can be represented by a character |
SpecialKey SpecialKey | A special key. |
Mouse Point | A mouse button. |
State of the key event.
data SpecialKey Source #
Special keys
KeyUnknown | |
KeySpace | |
KeyEsc | |
KeyUp | |
KeyDown | |
KeyLeft | |
KeyRight | |
KeyTab | |
KeyEnter | |
KeyBackspace | |
KeyShift | |
KeyCtrl | |
KeyAlt | |
KeyCaps |
Eq SpecialKey Source # | |
Ord SpecialKey Source # | |
Show SpecialKey Source # | |