1
0

Fix m0110 keymaps

This commit is contained in:
Jun Wako 2015-07-12 07:32:36 +09:00
parent 03553cba5c
commit c3b978a9eb
2 changed files with 7 additions and 1 deletions

View File

@ -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]);
});

View File

@ -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) */