vial/combo: prototype

This commit is contained in:
Ilya Zhuravlev
2021-07-03 23:12:12 -04:00
parent e0c7388e5d
commit 8ccef55b3e
5 changed files with 40 additions and 0 deletions

View File

@ -126,6 +126,10 @@ bool process_combo(uint16_t keycode, keyrecord_t *record) {
drop_buffer = false;
bool no_combo_keys_pressed = true;
if (keycode == KC_NO) {
return true;
}
if (keycode == CMB_ON && record->event.pressed) {
combo_enable();
return true;

View File

@ -16,6 +16,10 @@
#pragma once
#ifdef VIAL_ENABLE
#include "vial.h"
#endif
#include "progmem.h"
#include "quantum.h"
#include <stdint.h>