kmonad-0.4.1: Advanced keyboard remapping utility

Copyright(c) David Janssen 2019
LicenseMIT
Maintainerjanssen.dhj@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

KMonad.Keyboard.Keycode

Contents

Description

Keycodes are represented as a large enum lining up the keycodes defined in the Linux headers.

Synopsis

The core Keycode type

Keycodes are defined as a large ADT that mimics the keycodes from the Linux headers: https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h.

Anywhere there are missing regions in the linux headers, we've defined MissingXX values for the ADT.

Calling toEnum on a Linux keycode value should produce the corresponding Keycode value and vice-versa.

data Keycode Source #

The Keycode datatype, as an Enum of all the values a Keycode can take.

Constructors

KeyReserved 
KeyEsc 
Key1 
Key2 
Key3 
Key4 
Key5 
Key6 
Key7 
Key8 
Key9 
Key0 
KeyMinus 
KeyEqual 
KeyBackspace 
KeyTab 
KeyQ 
KeyW 
KeyE 
KeyR 
KeyT 
KeyY 
KeyU 
KeyI 
KeyO 
KeyP 
KeyLeftBrace 
KeyRightBrace 
KeyEnter 
KeyLeftCtrl 
KeyA 
KeyS 
KeyD 
KeyF 
KeyG 
KeyH 
KeyJ 
KeyK 
KeyL 
KeySemicolon 
KeyApostrophe 
KeyGrave 
KeyLeftShift 
KeyBackslash 
KeyZ 
KeyX 
KeyC 
KeyV 
KeyB 
KeyN 
KeyM 
KeyComma 
KeyDot 
KeySlash 
KeyRightShift 
KeyKpAsterisk 
KeyLeftAlt 
KeySpace 
KeyCapsLock 
KeyF1 
KeyF2 
KeyF3 
KeyF4 
KeyF5 
KeyF6 
KeyF7 
KeyF8 
KeyF9 
KeyF10 
KeyNumLock 
KeyScrollLock 
KeyKp7 
KeyKp8 
KeyKp9 
KeyKpMinus 
KeyKp4 
KeyKp5 
KeyKp6 
KeyKpPlus 
KeyKp1 
KeyKp2 
KeyKp3 
KeyKp0 
KeyKpDot 
Missing84 
KeyZenkakuHankaku 
Key102nd 
KeyF11 
KeyF12 
KeyRo 
KeyKatakana 
KeyHiragana 
KeyHenkan 
KeyKatakanaHiragana 
KeyMuhenkan 
KeyKpjpcomma 
KeyKpEnter 
KeyRightCtrl 
KeyKpSlash 
KeySysRq 
KeyRightAlt 
KeyLinefeed 
KeyHome 
KeyUp 
KeyPageUp 
KeyLeft 
KeyRight 
KeyEnd 
KeyDown 
KeyPageDown 
KeyInsert 
KeyDelete 
KeyMacro 
KeyMute 
KeyVolumeDown 
KeyVolumeUp 
KeyPower 
KeyKpEqual 
KeyKpPlusMinus 
KeyPause 
KeyScale 
KeyKpComma 
KeyHangeul 
KeyHanja 
KeyYen 
KeyLeftMeta 
KeyRightMeta 
KeyCompose 
KeyStop 
KeyAgain 
KeyProps 
KeyUndo 
KeyFront 
KeyCopy 
KeyOpen 
KeyPaste 
KeyFind 
KeyCut 
KeyHelp 
KeyMenu 
KeyCalc 
KeySetup 
KeySleep 
KeyWakeUp 
KeyFile 
KeySendFile 
KeyDeleteFile 
KeyXfer 
KeyProg1 
KeyProg2 
KeyWww 
KeyMsDos 
KeyCoffee 
KeyDirection 
KeyCycleWindows 
KeyMail 
KeyBookmarks 
KeyComputer 
KeyBack 
KeyForward 
KeyCloseCd 
KeyEjectCd 
KeyEjectCloseCd 
KeyNextSong 
KeyPlayPause 
KeyPreviousSong 
KeyStopCd 
KeyRecord 
KeyRewind 
KeyPhone 
KeyIso 
KeyConfig 
KeyHomepage 
KeyRefresh 
KeyExit 
KeyMove 
KeyEdit 
KeyScrollUp 
KeyScrollDown 
KeyKpLeftParen 
KeyKpRightParen 
KeyNew 
KeyRedo 
KeyF13 
KeyF14 
KeyF15 
KeyF16 
KeyF17 
KeyF18 
KeyF19 
KeyF20 
KeyF21 
KeyF22 
KeyF23 
KeyF24 
Missing195 
Missing196 
Missing197 
Missing198 
Missing199 
KeyPlayCd 
KeyPauseCd 
KeyProg3 
KeyProg4 
KeyDashboard 
KeySuspend 
KeyClose 
KeyPlay 
KeyFastForward 
KeyBassBoost 
KeyPrint 
KeyHp 
KeyCamera 
KeySound 
KeyQuestion 
KeyEmail 
KeyChat 
KeySearch 
KeyConnect 
KeyFinance 
KeySport 
KeyShop 
KeyAlterase 
KeyCancel 
KeyBrightnessDown 
KeyBrightnessUp 
KeyMedia 
KeySwitchVideoMode 
KeyKbdIllumToggle 
KeyKbdIllumDown 
KeyKbdIllumUp 
KeySend 
KeyReply 
KeyForwardMail 
KeySave 
KeyDocuments 
KeyBattery 
KeyBluetooth 
KeyWlan 
KeyUwb 
KeyUnknown 
KeyVideoNext 
KeyVideoPrev 
KeyBrightnessCycle 
KeyBrightnessZero 
KeyDisplayOff 
KeyWimax 
Missing247 
Missing248 
Missing249 
Missing250 
Missing251 
Missing252 
Missing253 
Missing254 
Missing255 
Instances
Bounded Keycode Source # 
Instance details

Defined in KMonad.Keyboard.Keycode

Enum Keycode Source # 
Instance details

Defined in KMonad.Keyboard.Keycode

Eq Keycode Source # 
Instance details

Defined in KMonad.Keyboard.Keycode

Methods

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

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

Ord Keycode Source # 
Instance details

Defined in KMonad.Keyboard.Keycode

Show Keycode Source # 
Instance details

Defined in KMonad.Keyboard.Keycode

Generic Keycode Source # 
Instance details

Defined in KMonad.Keyboard.Keycode

Associated Types

type Rep Keycode :: Type -> Type #

Methods

from :: Keycode -> Rep Keycode x #

to :: Rep Keycode x -> Keycode #

Hashable Keycode Source # 
Instance details

Defined in KMonad.Keyboard.Keycode

Methods

hashWithSalt :: Int -> Keycode -> Int #

hash :: Keycode -> Int #

Display Keycode Source # 
Instance details

Defined in KMonad.Keyboard.Keycode

type Rep Keycode Source # 
Instance details

Defined in KMonad.Keyboard.Keycode

type Rep Keycode = D1 (MetaData "Keycode" "KMonad.Keyboard.Keycode" "kmonad-0.4.1-FPseCbFTtIEC38tuwaAvvU" False) ((((((((C1 (MetaCons "KeyReserved" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyEsc" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Key1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Key2" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Key3" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Key4" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Key5" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Key6" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "Key7" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Key8" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Key9" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Key0" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyMinus" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyEqual" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyBackspace" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyTab" PrefixI False) (U1 :: Type -> Type))))) :+: ((((C1 (MetaCons "KeyQ" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyW" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyE" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyR" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyT" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyY" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyU" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyI" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyO" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyP" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyLeftBrace" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyRightBrace" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyEnter" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyLeftCtrl" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyA" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyS" PrefixI False) (U1 :: Type -> Type)))))) :+: (((((C1 (MetaCons "KeyD" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyF" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyG" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyH" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyJ" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyK" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyL" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeySemicolon" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyApostrophe" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyGrave" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyLeftShift" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyBackslash" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyZ" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyX" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyC" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyV" PrefixI False) (U1 :: Type -> Type))))) :+: ((((C1 (MetaCons "KeyB" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyN" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyM" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyComma" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyDot" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeySlash" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyRightShift" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKpAsterisk" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyLeftAlt" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeySpace" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyCapsLock" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyF1" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyF2" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyF3" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyF4" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyF5" PrefixI False) (U1 :: Type -> Type))))))) :+: ((((((C1 (MetaCons "KeyF6" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyF7" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyF8" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyF9" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyF10" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyNumLock" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyScrollLock" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKp7" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyKp8" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKp9" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyKpMinus" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKp4" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyKp5" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKp6" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyKpPlus" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKp1" PrefixI False) (U1 :: Type -> Type))))) :+: ((((C1 (MetaCons "KeyKp2" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKp3" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyKp0" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKpDot" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Missing84" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyZenkakuHankaku" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Key102nd" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyF11" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyF12" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyRo" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyKatakana" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyHiragana" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyHenkan" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKatakanaHiragana" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyMuhenkan" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKpjpcomma" PrefixI False) (U1 :: Type -> Type)))))) :+: (((((C1 (MetaCons "KeyKpEnter" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyRightCtrl" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyKpSlash" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeySysRq" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyRightAlt" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyLinefeed" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyHome" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyUp" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyPageUp" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyLeft" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyRight" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyEnd" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyDown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyPageDown" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyInsert" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyDelete" PrefixI False) (U1 :: Type -> Type))))) :+: ((((C1 (MetaCons "KeyMacro" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyMute" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyVolumeDown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyVolumeUp" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyPower" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKpEqual" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyKpPlusMinus" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyPause" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyScale" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKpComma" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyHangeul" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyHanja" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyYen" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyLeftMeta" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyRightMeta" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyCompose" PrefixI False) (U1 :: Type -> Type)))))))) :+: (((((((C1 (MetaCons "KeyStop" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyAgain" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyProps" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyUndo" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyFront" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyCopy" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyOpen" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyPaste" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyFind" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyCut" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyHelp" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyMenu" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyCalc" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeySetup" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeySleep" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyWakeUp" PrefixI False) (U1 :: Type -> Type))))) :+: ((((C1 (MetaCons "KeyFile" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeySendFile" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyDeleteFile" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyXfer" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyProg1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyProg2" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyWww" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyMsDos" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyCoffee" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyDirection" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyCycleWindows" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyMail" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyBookmarks" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyComputer" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyBack" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyForward" PrefixI False) (U1 :: Type -> Type)))))) :+: (((((C1 (MetaCons "KeyCloseCd" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyEjectCd" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyEjectCloseCd" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyNextSong" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyPlayPause" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyPreviousSong" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyStopCd" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyRecord" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyRewind" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyPhone" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyIso" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyConfig" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyHomepage" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyRefresh" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyExit" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyMove" PrefixI False) (U1 :: Type -> Type))))) :+: ((((C1 (MetaCons "KeyEdit" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyScrollUp" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyScrollDown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKpLeftParen" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyKpRightParen" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyNew" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyRedo" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyF13" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyF14" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyF15" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyF16" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyF17" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyF18" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyF19" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyF20" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyF21" PrefixI False) (U1 :: Type -> Type))))))) :+: ((((((C1 (MetaCons "KeyF22" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyF23" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyF24" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Missing195" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Missing196" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Missing197" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Missing198" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Missing199" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyPlayCd" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyPauseCd" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyProg3" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyProg4" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyDashboard" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeySuspend" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyClose" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyPlay" PrefixI False) (U1 :: Type -> Type))))) :+: ((((C1 (MetaCons "KeyFastForward" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyBassBoost" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyPrint" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyHp" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyCamera" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeySound" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyQuestion" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyEmail" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyChat" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeySearch" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyConnect" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyFinance" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeySport" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyShop" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyAlterase" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyCancel" PrefixI False) (U1 :: Type -> Type)))))) :+: (((((C1 (MetaCons "KeyBrightnessDown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyBrightnessUp" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyMedia" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeySwitchVideoMode" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyKbdIllumToggle" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyKbdIllumDown" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyKbdIllumUp" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeySend" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "KeyReply" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyForwardMail" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeySave" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyDocuments" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyBattery" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyBluetooth" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyWlan" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyUwb" PrefixI False) (U1 :: Type -> Type))))) :+: ((((C1 (MetaCons "KeyUnknown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyVideoNext" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyVideoPrev" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyBrightnessCycle" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "KeyBrightnessZero" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KeyDisplayOff" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "KeyWimax" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Missing247" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "Missing248" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Missing249" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Missing250" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Missing251" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Missing252" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Missing253" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Missing254" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Missing255" PrefixI False) (U1 :: Type -> Type)))))))))

Naming utilities to refer to Keycodes

 

keyNames :: MultiMap Keycode Text Source #

A collection of Keycode to Text mappings