diff options
author | Gun Pinyo <gunpinyo@gmail.com> | 2017-10-31 05:39:33 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-10-31 05:39:33 +0100 |
commit | e555e42aae6dbed7ba0da78a3e05d25fc5da5214 (patch) | |
tree | 7232af4405d17592862e808e3c8ce196a24f3d98 | |
parent | 38da7795f4129ccf472ada352391e365acb3ae4b (diff) | |
download | qmk_firmware-e555e42aae6dbed7ba0da78a3e05d25fc5da5214.tar.gz qmk_firmware-e555e42aae6dbed7ba0da78a3e05d25fc5da5214.tar.xz |
add Thai layers for the GunP planck (#1910)
* Add a layout of planck named GunP, ready for pull request review.
* add Thai layers for the GunP planck
-rw-r--r-- | keyboards/planck/keymaps/gunp/keymap.c | 21 | ||||
-rw-r--r-- | keyboards/planck/keymaps/gunp/readme.md | 8 |
2 files changed, 25 insertions, 4 deletions
diff --git a/keyboards/planck/keymaps/gunp/keymap.c b/keyboards/planck/keymaps/gunp/keymap.c index 9d2fe3ecc..1826c1e15 100644 --- a/keyboards/planck/keymaps/gunp/keymap.c +++ b/keyboards/planck/keymaps/gunp/keymap.c @@ -116,12 +116,27 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { {XXXXXXX, KC_MAIL, S(KC_VOLD), KC_INS, S(KC_VOLU), KC_PSCR, MFN_R3}, {XXXXXXX, MUV_DE, MUV_IN, AU_ON, AU_OFF, RESET, MFN_R4}, }, +[LY_0011] = { + {UC(L'็'), UC(L'์'), UC(L'่'), UC(L'้'), UC(L'๊'), UC(L'๋'), MFN_R1}, + {UC(L'โ'), UC(L'แ'), UC(L'เ'), UC(L'า'), UC(L'ั'), UC(L'ะ'), MFN_R2}, + {UC(L'ไ'), UC(L'ใ'), UC(L'ิ'), UC(L'ี'), UC(L'ึ'), UC(L'ื'), MFN_R3}, + {UC(L'ๅ'), UC(L'ฺ'), UC(L'ํ'), UC(L'ุ'), UC(L'ู'), UC(L'ำ'), MFN_R4}, +}, +[LY_1011] = { + {UC(L'ฐ'), UC(L'ฎ'), UC(L'ฏ'), UC(L'ฮ'), UC(L'ข'), UC(L'ฃ'), MFN_R1}, + {UC(L'ถ'), UC(L'ด'), UC(L'ต'), UC(L'อ'), UC(L'ก'), UC(L'จ'), MFN_R2}, + {UC(L'ภ'), UC(L'บ'), UC(L'ป'), UC(L'ส'), UC(L'ห'), UC(L'ฉ'), MFN_R3}, + {UC(L'ฯ'), UC(L'ผ'), UC(L'ฝ'), UC(L'ศ'), UC(L'ษ'), UC(L'ๆ'), MFN_R4}, +}, +[LY_0111] = { + {UC(L'ฒ'), UC(L'ฤ'), UC(L'ฦ'), UC(L'ม'), UC(L'ค'), UC(L'ฅ'), MFN_R1}, + {UC(L'ณ'), UC(L'ร'), UC(L'ล'), UC(L'น'), UC(L'ว'), UC(L'ง'), MFN_R2}, + {UC(L'ญ'), UC(L'ช'), UC(L'ซ'), UC(L'ย'), UC(L'ท'), UC(L'ฑ'), MFN_R3}, + {UC(L'ฌ'), UC(L'ฬ'), UC(L'ฟ'), UC(L'พ'), UC(L'ธ'), UC(L'ฆ'), MFN_R4}, +}, [LY_0001] = UNUSED_LAYER -[LY_0011] = UNUSED_LAYER [LY_0101] = UNUSED_LAYER -[LY_0111] = UNUSED_LAYER [LY_1001] = UNUSED_LAYER -[LY_1011] = UNUSED_LAYER }; #ifdef AUDIO_ENABLE diff --git a/keyboards/planck/keymaps/gunp/readme.md b/keyboards/planck/keymaps/gunp/readme.md index 692bd3578..aef41bef6 100644 --- a/keyboards/planck/keymaps/gunp/readme.md +++ b/keyboards/planck/keymaps/gunp/readme.md @@ -15,4 +15,10 @@ {0| ∀ \ { ( [ < |0} {0| ⊚ 0 1 2 3 ┃ |0} {0| → - , .\' = |0} {0| & | @ ~ $ ^ |0} {0| ┏ ┓ 4 5 6 ┳ |0} {0| ∘ + ; :\" _ |0} {0| F1 ..... F6 |0} {0| ┗ ┛ ┫ ━ ┣ ╋ |0} {0| F7 .... F12 |0} - ``` + + {8| "with FN_ACD" |8} {8| "with FN_CD" |8} {8| "with FN_BCD" |8} + {0| ฐ ฎ ฏ ฮ ข ฃ |0} {0| ็ ์ ่ ้ ๊ ๋ |0} {0| ฒ ฤ ฦ ม ค ฅ |0} + {0| ถ ด ต อ ก จ |0} {0| โ แ เ า ั ะ |0} {0| ณ ร ล น ว ง |0} + {0| ภ บ ป ส ห ฉ |0} {0| ไ ใ ิ ี ึ ื |0} {0| ญ ช ซ ย ท ฑ |0} + {0| ฯ ผ ฝ ศ ษ ๆ |0} {0| ๅ ฺ ํ ุ ู ำ |0} {0| ฌ ฬ ฟ พ ธ ฆ |0} +``` |