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 Source

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 Source

A combination of some modifiers and a key.

Constructors

Combo !(Set Key) !Key 

Instances

data Event Source

An event.

Constructors

Press 
Release 

newtype KeyCode Source

Key code.

Constructors

KeyCode Int 

newtype Device Source

Device identifier.

Constructors

Device Int 

Instances