Lines Matching refs:key_map
155 } key_map[] = { variable
305 for (x = 0; key_map[x].name != NULL; x++) in uinput_create()
306 ioctl(fd, UI_SET_KEYBIT, key_map[x].mapped_id); in uinput_create()
593 for (i = 0; key_map[i].name != NULL; i++) { in handle_rc_passthrough_cmd()
594 if (p_remote_cmd->rc_id == key_map[i].avrcp) { in handle_rc_passthrough_cmd()
595 BTIF_TRACE_DEBUG("%s: %s %s", __FUNCTION__, key_map[i].name, status); in handle_rc_passthrough_cmd()
604 if ((key_map[i].release_quirk == 1) && (pressed == 0)) in handle_rc_passthrough_cmd()
607 __FUNCTION__, key_map[i].name); in handle_rc_passthrough_cmd()
610 send_key(uinput_fd, key_map[i].mapped_id, pressed); in handle_rc_passthrough_cmd()
611 if ((key_map[i].release_quirk == 1) && (pressed == 1)) in handle_rc_passthrough_cmd()
615 __FUNCTION__, key_map[i].name); in handle_rc_passthrough_cmd()
616 send_key(uinput_fd, key_map[i].mapped_id, 0); in handle_rc_passthrough_cmd()
622 if (key_map[i].name == NULL) in handle_rc_passthrough_cmd()