Allow vial config to be done at a keyboard level

7 votes

Currently to support vial with a keyboard the following needs to be done
- Add VIAL_KEYBOARD_UID to the config.h in the keymap folder
- Add vial.json to the keymap folder

What would be nice to have is to be able to add a keyboard variant that contains both the vial.json and config.h.

For example currently when you've got 2 keymaps supporting VIAL it look like this.
This would require the vial.json and config.h to be created 2 times

<details><summary>Folder structure now</summary>
<pre>
keyboards/
├─ pieterv24/
│ ├─ testboard/
│ │ ├─ keymaps/
│ │ │ ├─ default/
│ │ │ │ ├─ keymap.c
│ │ │ ├─ pieterv24/
│ │ │ │ ├─ config.h
│ │ │ │ ├─ keymap.c
│ │ │ │ ├─ rules.mk
│ │ │ │ ├─ vial.json
│ │ │ ├─ vial/
│ │ │ │ ├─ keymap.c
│ │ │ │ ├─ rules.mk
│ │ │ │ ├─ vial.json
│ │ │ │ ├─ config.h
│ │ ├─ config.h
│ │ ├─ info.json
│ │ ├─ readme.md
│ │ ├─ rules.mk
│ │ ├─ testboard.c
│ │ ├─ testboard.h
</pre>
</details>

Under consideration Suggested by: Moderator Upvoted: 22 Sep, '22 Comments: 2

Comments: 2