1 |
|
2 | var keyboard = {
|
3 | prevent: [8,9,191],
|
4 | left10: [37,'shiftKey'],
|
5 | left: [37],
|
6 | up10: [38,'shiftKey'],
|
7 | up: [38],
|
8 | right10: [39,'shiftKey'],
|
9 | right: [39],
|
10 | down10: [40,'shiftKey'],
|
11 | down: [40],
|
12 | selectBack: [9,'shiftKey'],
|
13 | selectNext: [9],
|
14 | escape: [27],
|
15 | delete: [[8],[46]],
|
16 | redo: [90,'shiftKey','ctrlKey'],
|
17 | undo: [90,'ctrlKey'],
|
18 | rotateBack: [191,'shiftKey'],
|
19 | rotateNext: [191],
|
20 | variationBack: [190,'shiftKey'],
|
21 | variationNext: [190],
|
22 | mirror: [188],
|
23 | fillBack: [78,'shiftKey'],
|
24 | fillNext: [78],
|
25 | recenter: [36,'ctrlKey'],
|
26 | }
|