| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
RetroClash.PS2
Documentation
samplePS2 :: forall dom. (HiddenClockResetEnable dom, KnownNat (ClockDivider dom (Microseconds 1))) => PS2 dom -> Signal dom (Maybe Bit) Source #
decodePS2 :: HiddenClockResetEnable dom => Signal dom (Maybe Bit) -> Signal dom (Maybe (Unsigned 8)) Source #
Constructors
| KeyPress | |
| KeyRelease |
Instances
| Eq ScanCode Source # | |
| Show ScanCode Source # | |
| Generic ScanCode Source # | |
| NFDataX ScanCode Source # | |
Defined in RetroClash.PS2 Methods deepErrorX :: String -> ScanCode # hasUndefined :: ScanCode -> Bool # ensureSpine :: ScanCode -> ScanCode # | |
| type Rep ScanCode Source # | |
Defined in RetroClash.PS2 type Rep ScanCode = D1 ('MetaData "ScanCode" "RetroClash.PS2" "retroclash-lib-0.1.2.1-3QYYIIVHJO83EmrUE6AW6v" 'False) (C1 ('MetaCons "ScanCode" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 KeyEvent) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 KeyCode))) | |
parseScanCode :: HiddenClockResetEnable dom => Signal dom (Maybe (Unsigned 8)) -> Signal dom (Maybe ScanCode) Source #