@@ -8,7 +8,7 @@ Elm.Native.Keyboard = function(elm) {
88 var NList = Elm.Native.List(elm);
99
1010 var keysDown = Signal.constant(NList.Nil);
11− var charPressed = Signal.constant('\0');
11+ var lastKey = Signal.constant('\0');
1212
1313 function down(e) {
1414 if (NList.member(e.keyCode)(keysDown.value)) return;
@@ -27,7 +27,7 @@ Elm.Native.Keyboard = function(elm) {
2727 if (!hasListener) elm.node.removeEventListener('blur', blur);
2828 }
2929 function press(e) {
30− var hasListener = elm.notify(charPressed.id, e.charCode || e.keyCode);
30+ var hasListener = elm.notify(lastKey.id, e.charCode || e.keyCode);
3131 if (!hasListener) elm.node.removeEventListener('keypress', press);
3232 }
3333
@@ -66,7 +66,7 @@ Elm.Native.Keyboard = function(elm) {
6666 isDown:is,
6767 directions:F4(dir),
6868 keysDown:keysDown,
69− lastPressed:charPressed
69+ lastKey:lastKey
7070 };
7171
7272};