1
0
Fork 0

Program Yoink! refactor (#11636)

* split config.h for each variant

* split rules.mk for each variant

* split source and header files for each variant

* move keymaps to the appropriate variant

* update keyboard readme

* update keymap readmes

* differentiate Staggered and Ortho USB Device Strings

* clean up formatting in info.json

* split info.json files for each variant

* break up the info.json for readability

* correct key positioning and board dimensions

* correct key object sequences

* add weak encoder function to keyboard level

Allows Configurator-compiled firmware to have encoder functionality.

* add variant-specific readme files and bootloader instructions
This commit is contained in:
James Young 2021-01-22 18:02:40 -08:00 committed by GitHub
parent 7e77c2361f
commit 3a7573436a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 489 additions and 286 deletions

View file

@ -15,3 +15,14 @@
*/
#include "program_yoink.h"
__attribute__ ((weak))
void encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
if (clockwise) {
tap_code(KC_VOLU);
} else {
tap_code(KC_VOLD);
}
}
}