netwire-input-javascript-0.0.1: JavaScript instance of netwire-input
FRP.Netwire.Input.JavaScript.Key
data Key Source #
Constructors
Instances
Methods
(==) :: Key -> Key -> Bool #
(/=) :: Key -> Key -> Bool #
showsPrec :: Int -> Key -> ShowS #
show :: Key -> String #
showList :: [Key] -> ShowS #
keyIsPressed :: Key -> JSInputT m Bool #
releaseKey :: Key -> JSInputT m () #
data MouseButton Source #
(==) :: MouseButton -> MouseButton -> Bool #
(/=) :: MouseButton -> MouseButton -> Bool #
showsPrec :: Int -> MouseButton -> ShowS #
show :: MouseButton -> String #
showList :: [MouseButton] -> ShowS #
setCursorMode :: CursorMode -> JSInputT m () #
mbIsPressed :: MouseButton -> JSInputT m Bool #
releaseButton :: MouseButton -> JSInputT m () #
cursor :: JSInputT m (Float, Float) #
scroll :: JSInputT m (Double, Double) #
fromKey :: Key -> [Int] Source #
fromMouseButton :: MouseButton -> Int Source #