diff options
author | Florian Didron <fdidron@users.noreply.github.com> | 2022-05-31 19:03:21 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 19:03:21 +0900 |
commit | fc773ff0cf9c528773fa81be0fc8880ca5153d81 (patch) | |
tree | e917ed871290cc78cff818ee896b838d12ccc654 /keyboards/planck/ez | |
parent | 1fbd91aa106a4beb6ab84614dde14165a43f009a (diff) |
Reimplements Oryx's live training over raw hid (#345)
* feat: initial commit, random pairing sequence generation, host - board pairing handshakes
* feat: reimplements ory's live training over raw hid
* feat: adds planck / ergodox support
* chore: some code styling fixes
* fix: build smoke tests
* fix: code lint
* fix: disable console / command on moonlander, fixes build ci test
* fix: code lint
* fix: remove unused define(MATRIX_SIZE)
Diffstat (limited to 'keyboards/planck/ez')
-rw-r--r-- | keyboards/planck/ez/ez.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/planck/ez/ez.c b/keyboards/planck/ez/ez.c index c29f3cfa00..2e74ff860a 100644 --- a/keyboards/planck/ez/ez.c +++ b/keyboards/planck/ez/ez.c @@ -335,11 +335,11 @@ void dynamic_macro_record_end_user(int8_t direction) { void matrix_scan_kb(void) { #ifdef ORYX_ENABLE - if(webusb_state.pairing == true) { + if(rawhid_state.pairing == true) { if(loops == 0) { //lights off } - if(loops % WEBUSB_BLINK_STEPS == 0) { + if(loops % PAIRING_BLINK_STEPS == 0) { if(is_on) { planck_ez_left_led_on(); planck_ez_right_led_off(); @@ -350,8 +350,8 @@ void matrix_scan_kb(void) { } is_on ^= 1; } - if(loops > WEBUSB_BLINK_END * 2) { - webusb_state.pairing = false; + if(loops > PAIRING_BLINK_END * 2) { + rawhid_state.pairing = false; loops = 0; planck_ez_left_led_off(); planck_ez_right_led_off(); |