You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
2.0 KiB

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>
2 years ago
  1. {
  2. "keyboard_name": "Unicorne",
  3. "url": "https://github.com/yanghu/unicorne",
  4. "maintainer": "yanghu",
  5. "layouts": {
  6. "LAYOUT_unicorne": {
  7. "layout": [
  8. {"label":"Tab", "x":0, "y":0.8},
  9. {"label":"Q", "x":1, "y":0.8},
  10. {"label":"W", "x":2, "y":0.1},
  11. {"label":"E", "x":3, "y":0},
  12. {"label":"R", "x":4, "y":0.1},
  13. {"label":"T", "x":5, "y":0.2},
  14. {"label":"Y", "x":9, "y":0.2},
  15. {"label":"U", "x":10, "y":0.1},
  16. {"label":"I", "x":11, "y":0},
  17. {"label":"O", "x":12, "y":0.1},
  18. {"label":"P", "x":13, "y":0.8},
  19. {"label":"Back Space", "x":14, "y":0.8},
  20. {"label":"Ctrl / Esc", "x":0, "y":1.8},
  21. {"label":"A", "x":1, "y":1.8},
  22. {"label":"S", "x":2, "y":1.1},
  23. {"label":"D", "x":3, "y":1},
  24. {"label":"F", "x":4, "y":1.1},
  25. {"label":"G", "x":5, "y":1.2},
  26. {"label":"H", "x":9, "y":1.2},
  27. {"label":"J", "x":10, "y":1.1},
  28. {"label":"K", "x":11, "y":1},
  29. {"label":"L", "x":12, "y":1.1},
  30. {"label":";", "x":13, "y":1.8},
  31. {"label":"'", "x":14, "y":1.8},
  32. {"label":"Shift", "x":0, "y":2.8},
  33. {"label":"Z", "x":1, "y":2.8},
  34. {"label":"X", "x":2, "y":2.1},
  35. {"label":"C", "x":3, "y":2},
  36. {"label":"V", "x":4, "y":2.1},
  37. {"label":"B", "x":5, "y":2.2},
  38. {"label":"N", "x":9, "y":2.2},
  39. {"label":"M", "x":10, "y":2.1},
  40. {"label":",", "x":11, "y":2},
  41. {"label":".", "x":12, "y":2.1},
  42. {"label":"/", "x":13, "y":2.8},
  43. {"label":"Shift / Enter", "x":14, "y":2.8},
  44. {"label":"Ctrl", "x":3, "y":3.7},
  45. {"label":"Alt", "x":4, "y":3.7},
  46. {"label":"Lower", "x":5, "y":3.7},
  47. {"label":"Enter", "x":6, "y":3.2, "h":1.5},
  48. {"label":"Backspace", "x":8, "y":3.2, "h":1.5},
  49. {"label":"Space", "x":9, "y":3.7},
  50. {"label":"Raise", "x":10, "y":3.7},
  51. {"label":"RGUI", "x":11, "y":3.7}
  52. ]
  53. }
  54. }
  55. }