From c11fffea2ca9dd6bc38d0594cd2bdbecf36a3da1 Mon Sep 17 00:00:00 2001 From: Yoichiro Tanaka Date: Wed, 2 Mar 2022 09:01:26 +0900 Subject: [PATCH] Test the coord-mapping setting and fix the issue. --- boards/lunakey_pico/kb.py | 3 +-- boards/lunakey_pico/main.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/boards/lunakey_pico/kb.py b/boards/lunakey_pico/kb.py index e5eab7d..8542d2c 100644 --- a/boards/lunakey_pico/kb.py +++ b/boards/lunakey_pico/kb.py @@ -9,10 +9,9 @@ class KMKKeyboard(_KMKKeyboard): col_pins = (board.GP21, board.GP20, board.GP19, board.GP18, board.GP17, board.GP16) diode_orientation = DiodeOrientation.COLUMNS - # flake8: noqa coord_mapping = [ 0, 1, 2, 3, 4, 5, 29, 28, 27, 26, 25, 24, 6, 7, 8, 9, 10, 11, 35, 34, 33, 32, 31, 30, 12, 13, 14, 15, 16, 17, 41, 40, 39, 38, 37, 36, - 21, 22, 23, 47, 46, 45, + 20, 21, 22, 23, 47, 46, 45, 44, ] diff --git a/boards/lunakey_pico/main.py b/boards/lunakey_pico/main.py index 8def917..1f41899 100644 --- a/boards/lunakey_pico/main.py +++ b/boards/lunakey_pico/main.py @@ -76,7 +76,7 @@ keyboard.keymap = [ # ------+--------+--------+--------+--------+--------+ +--------+--------+--------+--------+--------+--------+ KC.LSFT, KC.Z, KC.X, KC.C, KC.V, KC.B, KC.N, KC.M, KC.COMM, KC.DOT, KC.SLSH, SF_MINS,\ # ------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+ - KC.LALT, KC.MHEN, LOWER, KC.SPC, KC.ENT, RAISE, KC.HENK, KC.RALT + KC.LALT, KC.LANG2,LOWER, KC.SPC, KC.ENT, RAISE, KC.LANG1,KC.RALT # ------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+ ], [ # LOWER