Simon Hunt

Re-instate SHIFT as a valid keystroke.

Change-Id: Ib0da1aa56035919ed755d78e6aa38bf314c6d549
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
40 lookup; 40 lookup;
41 41
42 function matchSeq(key) { 42 function matchSeq(key) {
43 - if (!matching && key === 'shift') { 43 + if (!matching && key === 'shift-shift') {
44 matching = true; 44 matching = true;
45 return true; 45 return true;
46 } 46 }
...@@ -65,6 +65,7 @@ ...@@ -65,6 +65,7 @@
65 case 8: return 'delete'; 65 case 8: return 'delete';
66 case 9: return 'tab'; 66 case 9: return 'tab';
67 case 13: return 'enter'; 67 case 13: return 'enter';
68 + case 16: return 'shift';
68 case 27: return 'esc'; 69 case 27: return 'esc';
69 case 32: return 'space'; 70 case 32: return 'space';
70 case 37: return 'leftArrow'; 71 case 37: return 'leftArrow';
......