osdkeys-0.0: Show keys pressed with an on-screen display (Linux only)

Safe HaskellNone
LanguageHaskell98

OSDKeys.Types

Description

All types.

Synopsis

Documentation

data State #

Key processing state.

Constructors

State 

Fields

  • stateModifiers :: !(Set Key)

    Perhaps on some systems order of key press matters, but this type assumes it doesn't.

  • stateCombos :: !(Seq Combo)

    A sequence of key combinations e.g. "a" "C-f", "Alt-DEL", etc.

data Combo #

A combination of some modifiers and a key.

Constructors

Combo !(Set Key) !Key 

Instances

data Event #

An event.

Constructors

Press 
Release 

newtype Device #

Device identifier.

Constructors

Device Int 

data Key #

Well-typed key.

Instances

Eq Key # 

Methods

(==) :: Key -> Key -> Bool #

(/=) :: Key -> Key -> Bool #

Ord Key # 

Methods

compare :: Key -> Key -> Ordering #

(<) :: Key -> Key -> Bool #

(<=) :: Key -> Key -> Bool #

(>) :: Key -> Key -> Bool #

(>=) :: Key -> Key -> Bool #

max :: Key -> Key -> Key #

min :: Key -> Key -> Key #

Show Key # 

Methods

showsPrec :: Int -> Key -> ShowS #

show :: Key -> String #

showList :: [Key] -> ShowS #