Searched refs:new_keys (Results 1 – 3 of 3) sorted by relevance
/btstack/example/ |
H A D | hid_host_demo.c | 232 uint8_t new_keys[NUM_KEYS]; in hid_host_handle_interrupt_report() local 233 memset(new_keys, 0, sizeof(new_keys)); in hid_host_handle_interrupt_report() 263 new_keys[new_keys_count++] = (uint8_t) usage; in hid_host_handle_interrupt_report() 288 memcpy(last_keys, new_keys, NUM_KEYS); in hid_host_handle_interrupt_report()
|
H A D | hog_host_demo.c | 180 uint8_t new_keys[NUM_KEYS]; in hid_handle_input_report() local 181 memset(new_keys, 0, sizeof(new_keys)); in hid_handle_input_report() 204 new_keys[new_keys_count++] = (uint8_t) usage; in hid_handle_input_report() 229 memcpy(last_keys, new_keys, NUM_KEYS); in hid_handle_input_report()
|
H A D | hog_boot_host_demo.c | 170 uint8_t new_keys[NUM_KEYS]; in handle_boot_keyboard_event() local 171 memset(new_keys, 0, sizeof(new_keys)); in handle_boot_keyboard_event() 184 new_keys[new_keys_count++] = usage; in handle_boot_keyboard_event() 211 memcpy(last_keys, new_keys, NUM_KEYS); in handle_boot_keyboard_event()
|