@@ -14,12 +14,12 @@ type KeyCode = Int
1414-- `{ x = 1, y = 1 }` when pressing the up and right arrows.
1515-- `{ x = 0, y =-1 }` when pressing the down, left, and right arrows.
1616arrows : Signal { x:Int, y:Int }
17−arrows = N.directions 37 39 38 40
17+arrows = N.directions 38 40 37 39
1818
1919-- Just like the arrows signal, but this uses keys w, a, s, and d,
2020-- which are common controls for many computer games.
2121wasd : Signal { x:Int, y:Int }
22−wasd = N.directions 65 68 87 83
22+wasd = N.directions 87 83 65 68
2323
2424-- Custom key directions so that you can support different locales.
2525-- The plan is to have a locale independent version of this function