summaryrefslogtreecommitdiff
path: root/keyboards/yanghu/unicorne/info.json
diff options
context:
space:
mode:
authorYang Hu <hueyhy@gmail.com>2021-11-05 02:10:15 -0700
committerGitHub <noreply@github.com>2021-11-05 20:10:15 +1100
commitad6d85ef5a77f0fb810f5c850c24499a4886e458 (patch)
treef3909737414bb25f9fed6301a6f837189c0c4b04 /keyboards/yanghu/unicorne/info.json
parent8f2ffea656c3abcfd0150bb67fa01e5d4cbafd14 (diff)
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 <drashna@live.com> * Update keyboards/yanghu/unicorne/keymaps/default/oled.c Wrap `oled.c` with ifdef. Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/yanghu/unicorne/keymaps/default/oled.c Co-authored-by: Drashna Jaelre <drashna@live.com> * move oled code to unicorne.c, and set weakly. * Update keyboards/yanghu/unicorne/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/yanghu/unicorne/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/yanghu/unicorne/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/yanghu/unicorne/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/yanghu/unicorne/unicorne.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/yanghu/unicorne/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/yanghu/unicorne/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/yanghu/unicorne/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/yanghu/unicorne/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/yanghu/unicorne/keymaps/default/oled.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/yanghu/unicorne/f411/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/yanghu/unicorne/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * 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 <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> * Apply suggestions from code review: change OLED driver macro. Use `OLED_ENABLE` instead of `OLED_DRIVER_ENABLE`. Co-authored-by: Jonathan Rascher <jon@bcat.name> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Jonathan Rascher <jon@bcat.name>
Diffstat (limited to 'keyboards/yanghu/unicorne/info.json')
-rw-r--r--keyboards/yanghu/unicorne/info.json62
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}
+ ]
+ }
+ }
+}