retroclash-lib-0.1.2.2: Code shared across the code samples in the book "Retrocomputing with Clash"
Safe HaskellSafe-Inferred
LanguageHaskell2010

RetroClash.PS2.ASCII

Documentation

data Side Source #

Constructors

OnLeft 
OnRight 

Instances

Instances details
Bounded Side Source # 
Instance details

Defined in RetroClash.PS2.ASCII

Enum Side Source # 
Instance details

Defined in RetroClash.PS2.ASCII

Methods

succ :: Side -> Side #

pred :: Side -> Side #

toEnum :: Int -> Side #

fromEnum :: Side -> Int #

enumFrom :: Side -> [Side] #

enumFromThen :: Side -> Side -> [Side] #

enumFromTo :: Side -> Side -> [Side] #

enumFromThenTo :: Side -> Side -> Side -> [Side] #

Generic Side Source # 
Instance details

Defined in RetroClash.PS2.ASCII

Associated Types

type Rep Side :: Type -> Type #

Methods

from :: Side -> Rep Side x #

to :: Rep Side x -> Side #

Show Side Source # 
Instance details

Defined in RetroClash.PS2.ASCII

Methods

showsPrec :: Int -> Side -> ShowS #

show :: Side -> String #

showList :: [Side] -> ShowS #

NFDataX Side Source # 
Instance details

Defined in RetroClash.PS2.ASCII

Eq Side Source # 
Instance details

Defined in RetroClash.PS2.ASCII

Methods

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

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

type Rep Side Source # 
Instance details

Defined in RetroClash.PS2.ASCII

type Rep Side = D1 ('MetaData "Side" "RetroClash.PS2.ASCII" "retroclash-lib-0.1.2.2-8zTx05WshYzIbWBY4X0pgW" 'False) (C1 ('MetaCons "OnLeft" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OnRight" 'PrefixI 'False) (U1 :: Type -> Type))

data Modifier Source #

Constructors

Shift 
Ctrl 
Alt 
Win 

Instances

Instances details
Bounded Modifier Source # 
Instance details

Defined in RetroClash.PS2.ASCII

Enum Modifier Source # 
Instance details

Defined in RetroClash.PS2.ASCII

Generic Modifier Source # 
Instance details

Defined in RetroClash.PS2.ASCII

Associated Types

type Rep Modifier :: Type -> Type #

Methods

from :: Modifier -> Rep Modifier x #

to :: Rep Modifier x -> Modifier #

Show Modifier Source # 
Instance details

Defined in RetroClash.PS2.ASCII

NFDataX Modifier Source # 
Instance details

Defined in RetroClash.PS2.ASCII

Eq Modifier Source # 
Instance details

Defined in RetroClash.PS2.ASCII

type Rep Modifier Source # 
Instance details

Defined in RetroClash.PS2.ASCII

type Rep Modifier = D1 ('MetaData "Modifier" "RetroClash.PS2.ASCII" "retroclash-lib-0.1.2.2-8zTx05WshYzIbWBY4X0pgW" 'False) ((C1 ('MetaCons "Shift" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Ctrl" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Alt" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Win" 'PrefixI 'False) (U1 :: Type -> Type)))