Browse Source

Fix m0110 keymaps

gh-pages
Jun Wako 8 years ago
parent
commit
c3b978a9eb
2 changed files with 7 additions and 1 deletions
  1. 1
    1
      editor/m0110/keymap_editor.js
  2. 6
    0
      editor/m0110/m0110.js

+ 1
- 1
editor/m0110/keymap_editor.js 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]);
});



+ 6
- 0
editor/m0110/m0110.js 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) */

Loading…
Cancel
Save