diff --git a/editor/m0110/keymap_editor.js b/editor/m0110/keymap_editor.js index 544a4834..9aa618c3 100644 --- a/editor/m0110/keymap_editor.js +++ b/editor/m0110/keymap_editor.js @@ -43,7 +43,7 @@ $(function() { $(".layer").click(function(ev, ui) { var layer = parseInt($(this).attr('id').match(/layer-(\d+)/)[1]); editing_layer = layer; - load_keymap_on_keyboard(layer, keymaps[layer] || no_map()); + load_keymap_on_keyboard(layer, keymaps[layer]); }); diff --git a/editor/m0110/m0110.js b/editor/m0110/m0110.js index 515ff008..eae5d044 100644 --- a/editor/m0110/m0110.js +++ b/editor/m0110/m0110.js @@ -148,6 +148,12 @@ keymaps = [ [0x00,0x00,0x55,0x00,0x00,0x00,0x57,0x00,], [0x2E,0x00,0x00,0x00,0x00,0x54,0x00,0x00,], ], + no_map(), + no_map(), + no_map(), + no_map(), + no_map(), + no_map(), ]; /* Fn actions(32*2) */