Lines Matching refs:kc
132 u32 kc; /* current input keycode */ member
1353 } else if (ictx->kc == KEY_CHANNELUP && (buf[2] & 0x40) != 0x40) { in imon_mouse_event()
1355 } else if (ictx->kc == KEY_CHANNELDOWN && (buf[2] & 0x40) != 0x40) { in imon_mouse_event()
1377 ictx->last_keycode = ictx->kc; in imon_mouse_event()
1427 ictx->kc = KEY_UNKNOWN; in imon_pad_to_keys()
1492 ictx->kc = KEY_UNKNOWN; in imon_pad_to_keys()
1524 ictx->kc = imon_remote_key_lookup(ictx, scancode); in imon_pad_to_keys()
1543 if (ictx->kc == KEY_RESERVED && buf[0] == 0x02 && buf[3] == 0x00) in imon_parse_press_type()
1544 ictx->kc = ictx->last_keycode; in imon_parse_press_type()
1547 else if (ictx->kc == KEY_RESERVED && buf[0] == 0x68 && buf[1] == 0x82 && in imon_parse_press_type()
1549 ictx->kc = ictx->last_keycode; in imon_parse_press_type()
1552 else if (ictx->kc == KEY_RESERVED && buf[0] == 0x01 && buf[1] == 0x00 && in imon_parse_press_type()
1554 ictx->kc = ictx->last_keycode; in imon_parse_press_type()
1562 } else if (ictx->kc == KEY_RESERVED) in imon_parse_press_type()
1588 u32 kc; in imon_incoming_packet() local
1603 kc = imon_panel_key_lookup(ictx, scancode); in imon_incoming_packet()
1611 kc = imon_mce_key_lookup(ictx, scancode); in imon_incoming_packet()
1614 kc = imon_remote_key_lookup(ictx, scancode); in imon_incoming_packet()
1620 if (kc == KEY_KEYBOARD && !ictx->release_code) { in imon_incoming_packet()
1621 ictx->last_keycode = kc; in imon_incoming_packet()
1634 ictx->kc = kc; in imon_incoming_packet()
1682 ictx->last_keycode = ictx->kc; in imon_incoming_packet()
1693 if (ictx->kc == KEY_MUTE || in imon_incoming_packet()
1695 if (ictx->kc == ictx->last_keycode && in imon_incoming_packet()
1703 kc = ictx->kc; in imon_incoming_packet()
1707 input_report_key(ictx->idev, kc, press_type); in imon_incoming_packet()
1711 input_report_key(ictx->idev, kc, 0); in imon_incoming_packet()
1715 ictx->last_keycode = kc; in imon_incoming_packet()
2057 u32 kc = key_table[i].keycode; in imon_init_idev() local
2058 __set_bit(kc, idev->keybit); in imon_init_idev()