void send_chord(void) { for(uint8_t i = 0; i < 4; i++) { if(chord[i]) virtser_send(chord[i]); } virtser_send(0); }
void send_steno_state(uint8_t size, bool send_empty) { for (uint8_t i = 0; i < size; ++i) { if (state[i] || send_empty) { virtser_send(state[i]); } } steno_clear_state(); }
bool send_state_bolt(void) { send_steno_state(BOLT_STATE_SIZE, false); virtser_send(0); // terminating byte return false; }