diff options
author | Jack Humbert <jack.humb@gmail.com> | 2015-09-15 00:31:41 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2015-09-15 00:31:41 -0400 |
commit | febd7886a1c4a52b520da78d7cb133017841af71 (patch) | |
tree | e0b5f45d0603ada9c7f987c4d0f51ac92238a249 /keyboard/planck | |
parent | f610c65f1094d70d2c69c045fde0336a2b692878 (diff) |
unicode working, i think
Diffstat (limited to 'keyboard/planck')
-rw-r--r-- | keyboard/planck/keymap_common.c | 2 | ||||
-rw-r--r-- | keyboard/planck/keymaps/keymap_monkey.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboard/planck/keymap_common.c b/keyboard/planck/keymap_common.c index dd66391135..0cf3f31cbe 100644 --- a/keyboard/planck/keymap_common.c +++ b/keyboard/planck/keymap_common.c @@ -88,7 +88,7 @@ action_t action_for_key(uint8_t layer, keypos_t key) action_t action; action.code = ACTION_FUNCTION_OPT(keycode & 0xFF, (keycode & 0x0F00) >> 8); return action; - } else if (keycode >= 0x8000 && keycode < 0x9000) { + } else if (keycode >= 0x8000) { action_t action; uint16_t unicode = keycode & ~(0x8000); action.code = ACTION_FUNCTION_OPT(unicode & 0xFF, (unicode & 0xFF00) >> 8); diff --git a/keyboard/planck/keymaps/keymap_monkey.c b/keyboard/planck/keymaps/keymap_monkey.c index c0c4534081..21a2c146ab 100644 --- a/keyboard/planck/keymaps/keymap_monkey.c +++ b/keyboard/planck/keymaps/keymap_monkey.c @@ -11,7 +11,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [COLEMAK_LAYER] = { /* Colemak */ - {KC_TAB, UNI(0x0061), KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC}, + {KC_TAB, UNI(0x1961), KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC}, {KC_LCTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT}, {KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT}, {FUNC(5), KC_ESC, KC_LGUI, KC_LALT, FUNC(1), FUNC(6), FUNC(6), FUNC(2), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT} |