d53cecf3ba
Planning on having the compiler crawl through to determine dependencies, then compile everything in an appropriate order. This will also let me print out compiler progress in a reasonable order.
12 lines
No EOL
224 B
Elm
12 lines
No EOL
224 B
Elm
|
|
module Keyboard.Raw where
|
|
|
|
import Native.Keyboard.Raw
|
|
|
|
type KeyCode = Int
|
|
|
|
keysDown : Signal [KeyCode]
|
|
keysDown = Native.Keyboard.Raw.keysDown
|
|
|
|
charPressed : Signal (Maybe Char)
|
|
charPressed = Native.Keyboard.Raw.charPressed |