Lines Matching refs:key_map
76 } key_map[] = { variable
186 for (x = 0; key_map[x].name != NULL; x++) in uinput_create()
187 ioctl(fd, UI_SET_KEYBIT, key_map[x].mapped_id); in uinput_create()
343 for (i = 0; key_map[i].name != NULL; i++) { in handle_rc_passthrough_cmd()
344 if (p_remote_cmd->rc_id == key_map[i].avrcp) { in handle_rc_passthrough_cmd()
345 BTIF_TRACE_DEBUG3("%s: %s %s", __FUNCTION__, key_map[i].name, status); in handle_rc_passthrough_cmd()
354 if ((key_map[i].release_quirk == 1) && (pressed == 0)) in handle_rc_passthrough_cmd()
357 __FUNCTION__, key_map[i].name); in handle_rc_passthrough_cmd()
361 send_key(uinput_fd, key_map[i].mapped_id, pressed); in handle_rc_passthrough_cmd()
363 if ((key_map[i].release_quirk == 1) && (pressed == 1)) in handle_rc_passthrough_cmd()
367 __FUNCTION__, key_map[i].name); in handle_rc_passthrough_cmd()
369 send_key(uinput_fd, key_map[i].mapped_id, 0); in handle_rc_passthrough_cmd()
376 if (key_map[i].name == NULL) in handle_rc_passthrough_cmd()