maclight-0.1.0.0: Control screen and keyboard backlights on MACs under Linux
Safe HaskellSafe-Inferred
LanguageHaskell98

Apple.Maclight

Documentation

getDirectory :: Light -> FilePath Source #

data Light Source #

Constructors

Screen 
Keyboard 

Instances

Instances details
Read Light Source # 
Instance details

Defined in Apple.Maclight

Methods

readsPrec :: Int -> ReadS Light

readList :: ReadS [Light]

readPrec :: ReadPrec Light

readListPrec :: ReadPrec [Light]

data Command Source #

Constructors

Up 
Down 
Max 
Off 
Set Int 

Instances

Instances details
Read Command Source # 
Instance details

Defined in Apple.Maclight

Methods

readsPrec :: Int -> ReadS Command

readList :: ReadS [Command]

readPrec :: ReadPrec Command

readListPrec :: ReadPrec [Command]

Show Command Source # 
Instance details

Defined in Apple.Maclight

Methods

showsPrec :: Int -> Command -> ShowS

show :: Command -> String

showList :: [Command] -> ShowS

Eq Command Source # 
Instance details

Defined in Apple.Maclight

Methods

(==) :: Command -> Command -> Bool

(/=) :: Command -> Command -> Bool

data Settings Source #

Constructors

Settings 

Fields