Lines Matching refs:kc
144 u32 kc; /* current input keycode */ member
1360 } else if (ictx->kc == KEY_CHANNELUP && (buf[2] & 0x40) != 0x40) { in imon_mouse_event()
1362 } else if (ictx->kc == KEY_CHANNELDOWN && (buf[2] & 0x40) != 0x40) { in imon_mouse_event()
1384 ictx->last_keycode = ictx->kc; in imon_mouse_event()
1434 ictx->kc = KEY_UNKNOWN; in imon_pad_to_keys()
1499 ictx->kc = KEY_UNKNOWN; in imon_pad_to_keys()
1531 ictx->kc = imon_remote_key_lookup(ictx, scancode); in imon_pad_to_keys()
1550 if (ictx->kc == KEY_RESERVED && buf[0] == 0x02 && buf[3] == 0x00) in imon_parse_press_type()
1551 ictx->kc = ictx->last_keycode; in imon_parse_press_type()
1554 else if (ictx->kc == KEY_RESERVED && buf[0] == 0x68 && buf[1] == 0x82 && in imon_parse_press_type()
1556 ictx->kc = ictx->last_keycode; in imon_parse_press_type()
1559 else if (ictx->kc == KEY_RESERVED && buf[0] == 0x01 && buf[1] == 0x00 && in imon_parse_press_type()
1561 ictx->kc = ictx->last_keycode; in imon_parse_press_type()
1569 } else if (ictx->kc == KEY_RESERVED) in imon_parse_press_type()
1595 u32 kc; in imon_incoming_packet() local
1612 kc = imon_panel_key_lookup(ictx, scancode); in imon_incoming_packet()
1620 kc = imon_mce_key_lookup(ictx, scancode); in imon_incoming_packet()
1623 kc = imon_remote_key_lookup(ictx, scancode); in imon_incoming_packet()
1629 if (kc == KEY_KEYBOARD && !ictx->release_code) { in imon_incoming_packet()
1630 ictx->last_keycode = kc; in imon_incoming_packet()
1643 ictx->kc = kc; in imon_incoming_packet()
1686 ictx->last_keycode = ictx->kc; in imon_incoming_packet()
1697 if (ictx->kc == KEY_MUTE && ictx->kc == ictx->last_keycode) { in imon_incoming_packet()
1705 kc = ictx->kc; in imon_incoming_packet()
1709 input_report_key(ictx->idev, kc, press_type); in imon_incoming_packet()
1713 input_report_key(ictx->idev, kc, 0); in imon_incoming_packet()
1717 ictx->last_keycode = kc; in imon_incoming_packet()
2037 u32 kc = key_table[i].keycode; in imon_init_idev() local
2038 __set_bit(kc, idev->keybit); in imon_init_idev()