Searched refs:key_press (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/hid/ |
H A D | hidmap.c | 131 if (hm->key_press == NULL) { in hidmap_support_key() 132 hm->key_press = malloc(howmany(KEY_CNT, 8), M_DEVBUF, in hidmap_support_key() 140 if (isset(hm->key_press, key)) { in hidmap_support_key() 145 setbit(hm->key_press, key); in hidmap_support_key() 154 setbit(value != 0 ? hm->key_press : hm->key_rel, key); in hidmap_push_key() 166 if (hm->key_press[j] != hm->key_rel[j]) { in hidmap_sync_keys() 168 press = isset(hm->key_press, i); in hidmap_sync_keys() 175 bzero(hm->key_press, howmany(KEY_CNT, 8)); in hidmap_sync_keys() 712 bzero(hm->key_press, howmany(KEY_CNT, 8)); in hidmap_parse_hid_descr() 825 free(hm->key_press, M_DEVBUF); in hidmap_detach()
|
H A D | hidmap.h | 206 uint8_t *key_press; member
|