Added special char cmd
This commit is contained in:
@ -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] = {
|
||||
|
Reference in New Issue
Block a user