diff options
author | Yang Hu <[email protected]> | 2021-11-05 02:10:15 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-11-05 20:10:15 +1100 |
commit | ad6d85ef5a77f0fb810f5c850c24499a4886e458 (patch) | |
tree | f3909737414bb25f9fed6301a6f837189c0c4b04 /keyboards/yanghu/unicorne/info.json | |
parent | 8f2ffea656c3abcfd0150bb67fa01e5d4cbafd14 (diff) | |
download | qmk_firmware-ad6d85ef5a77f0fb810f5c850c24499a4886e458.tar.gz qmk_firmware-ad6d85ef5a77f0fb810f5c850c24499a4886e458.zip |
Add a new keyboard "Unicorne" (#12993)
* Add keyboards/yanghu/unicorne initial files.
* add default keymap to yanghu/unicorne
* use slow i2c and enable internal pullup resistor
* add oled to default keymaps
* fix unicorne default keymap
* fix encoder pad direction
* fix marauder
* add led matrix configs.
* add encoder code to default keymap.
* fix encoder direction
* add readme, info.json and update copyright for c files.
* fix build error by clean up include in unicorne.c
* fix images in readme files
* Fix various issues in PR #12993 feedback.
* Added copyright in glcdfont, fix include in that file.
* Removed `_kc` layout and renamed layout with generic style.
* Moved capslock oled update to oled.c inside `oled_task_user()`.
* Update keyboards/yanghu/unicorne/keymaps/default/rules.mk
Always include oled.c
Co-authored-by: Drashna Jaelre <[email protected]>
* Update keyboards/yanghu/unicorne/keymaps/default/oled.c
Wrap `oled.c` with ifdef.
Co-authored-by: Drashna Jaelre <[email protected]>
* Update keyboards/yanghu/unicorne/keymaps/default/oled.c
Co-authored-by: Drashna Jaelre <[email protected]>
* move oled code to unicorne.c, and set weakly.
* Update keyboards/yanghu/unicorne/config.h
Co-authored-by: Drashna Jaelre <[email protected]>
* Update keyboards/yanghu/unicorne/keymaps/default/keymap.c
Co-authored-by: Drashna Jaelre <[email protected]>
* Update keyboards/yanghu/unicorne/keymaps/default/keymap.c
Co-authored-by: Drashna Jaelre <[email protected]>
* Update keyboards/yanghu/unicorne/keymaps/default/keymap.c
Co-authored-by: Drashna Jaelre <[email protected]>
* Update keyboards/yanghu/unicorne/unicorne.c
Co-authored-by: Drashna Jaelre <[email protected]>
* Update keyboards/yanghu/unicorne/readme.md
Co-authored-by: Ryan <[email protected]>
* Update keyboards/yanghu/unicorne/readme.md
Co-authored-by: Ryan <[email protected]>
* Update keyboards/yanghu/unicorne/readme.md
Co-authored-by: Ryan <[email protected]>
* Update keyboards/yanghu/unicorne/readme.md
Co-authored-by: Ryan <[email protected]>
* Update keyboards/yanghu/unicorne/keymaps/default/oled.c
Co-authored-by: Ryan <[email protected]>
* Update keyboards/yanghu/unicorne/f411/rules.mk
Co-authored-by: Ryan <[email protected]>
* Update keyboards/yanghu/unicorne/rules.mk
Co-authored-by: Ryan <[email protected]>
* remove oled.h
* remove include of oled.h after the file is deleted.
* Apply suggestions from code review: remove redundant macros and reformat.
Co-authored-by: Drashna Jaelre <[email protected]>
Co-authored-by: Ryan <[email protected]>
* Apply suggestions from code review: change OLED driver macro.
Use `OLED_ENABLE` instead of `OLED_DRIVER_ENABLE`.
Co-authored-by: Jonathan Rascher <[email protected]>
Co-authored-by: Drashna Jaelre <[email protected]>
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Jonathan Rascher <[email protected]>
Diffstat (limited to 'keyboards/yanghu/unicorne/info.json')
-rw-r--r-- | keyboards/yanghu/unicorne/info.json | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/keyboards/yanghu/unicorne/info.json b/keyboards/yanghu/unicorne/info.json new file mode 100644 index 0000000000..995bed8a03 --- /dev/null +++ b/keyboards/yanghu/unicorne/info.json @@ -0,0 +1,62 @@ +{ + "keyboard_name": "Unicorne", + "url": "https://github.com/yanghu/unicorne", + "maintainer": "yanghu", + "layouts": { + "LAYOUT_unicorne": { + "layout": [ + {"label":"Tab", "x":0, "y":0.8}, + {"label":"Q", "x":1, "y":0.8}, + {"label":"W", "x":2, "y":0.1}, + {"label":"E", "x":3, "y":0}, + {"label":"R", "x":4, "y":0.1}, + {"label":"T", "x":5, "y":0.2}, + + {"label":"Y", "x":9, "y":0.2}, + {"label":"U", "x":10, "y":0.1}, + {"label":"I", "x":11, "y":0}, + {"label":"O", "x":12, "y":0.1}, + {"label":"P", "x":13, "y":0.8}, + {"label":"Back Space", "x":14, "y":0.8}, + + {"label":"Ctrl / Esc", "x":0, "y":1.8}, + {"label":"A", "x":1, "y":1.8}, + {"label":"S", "x":2, "y":1.1}, + {"label":"D", "x":3, "y":1}, + {"label":"F", "x":4, "y":1.1}, + {"label":"G", "x":5, "y":1.2}, + + {"label":"H", "x":9, "y":1.2}, + {"label":"J", "x":10, "y":1.1}, + {"label":"K", "x":11, "y":1}, + {"label":"L", "x":12, "y":1.1}, + {"label":";", "x":13, "y":1.8}, + {"label":"'", "x":14, "y":1.8}, + + {"label":"Shift", "x":0, "y":2.8}, + {"label":"Z", "x":1, "y":2.8}, + {"label":"X", "x":2, "y":2.1}, + {"label":"C", "x":3, "y":2}, + {"label":"V", "x":4, "y":2.1}, + {"label":"B", "x":5, "y":2.2}, + + {"label":"N", "x":9, "y":2.2}, + {"label":"M", "x":10, "y":2.1}, + {"label":",", "x":11, "y":2}, + {"label":".", "x":12, "y":2.1}, + {"label":"/", "x":13, "y":2.8}, + {"label":"Shift / Enter", "x":14, "y":2.8}, + + {"label":"Ctrl", "x":3, "y":3.7}, + {"label":"Alt", "x":4, "y":3.7}, + {"label":"Lower", "x":5, "y":3.7}, + {"label":"Enter", "x":6, "y":3.2, "h":1.5}, + + {"label":"Backspace", "x":8, "y":3.2, "h":1.5}, + {"label":"Space", "x":9, "y":3.7}, + {"label":"Raise", "x":10, "y":3.7}, + {"label":"RGUI", "x":11, "y":3.7} + ] + } + } +} |