qmk-firmware/keyboards/yanghu/unicorne/info.json

63 lines
2.0 KiB
JSON
Raw Normal View History

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>
2021-11-05 10:10:15 +01:00
{
"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}
]
}
}
}