Searched refs:lookup_keycode (Results 1 – 2 of 2) sorted by relevance
/btstack/example/ |
H A D | hid_keyboard_demo.c | 210 static bool lookup_keycode(uint8_t character, const uint8_t * table, int size, uint8_t * keycode){ in lookup_keycode() function 222 found = lookup_keycode(character, keytable_us_none, sizeof(keytable_us_none), keycode); in keycode_and_modifer_us_for_character() 227 found = lookup_keycode(character, keytable_us_shift, sizeof(keytable_us_shift), keycode); in keycode_and_modifer_us_for_character()
|
H A D | hog_keyboard_demo.c | 229 static int lookup_keycode(uint8_t character, const uint8_t * table, int size, uint8_t * keycode){ in lookup_keycode() function 241 found = lookup_keycode(character, keytable_us_none, sizeof(keytable_us_none), keycode); in keycode_and_modifer_us_for_character() 246 found = lookup_keycode(character, keytable_us_shift, sizeof(keytable_us_shift), keycode); in keycode_and_modifer_us_for_character()
|