Added special char cmd

This commit is contained in:
2022-08-10 09:11:09 -07:00
parent 2545f15b30
commit 779965ff33
8 changed files with 131 additions and 33 deletions

View File

@ -102,6 +102,17 @@ void _hid_send_state(_hid_send_state_args args) {
}
void hid_send_special_char(uint16_t char_id) {
uint8_t packet[RAW_EPSIZE] = {
CMD_SPECIAL_CHAR,
(char_id >> 0) & 0xFF,
(char_id >> 8) & 0xFF
};
raw_hid_send(packet, RAW_EPSIZE);
}
#ifdef BETA_ENABLE_SPELLCHECK
void hid_send_word() {
uint8_t packet[RAW_EPSIZE] = {