vial: process tap dance release early, fix https://github.com/vial-kb/vial-gui/issues/50

This commit is contained in:
Ilya Zhuravlev 2021-10-09 14:33:26 -04:00
parent ff4d778d68
commit f406892ec3
4 changed files with 36 additions and 1 deletions

View file

@ -20,12 +20,14 @@
#include <stdbool.h>
#include "dynamic_keymap_eeprom.h"
#include "action.h"
#define VIAL_PROTOCOL_VERSION ((uint32_t)0x00000004)
#define VIAL_RAW_EPSIZE 32
void vial_init(void);
void vial_handle_cmd(uint8_t *data, uint8_t length);
bool process_record_vial(uint16_t keycode, keyrecord_t *record);
#ifdef VIAL_ENCODERS_ENABLE
bool vial_encoder_update(uint8_t index, bool clockwise);