Lines Matching refs:kc

132 	u32 kc;				/* current input keycode */  member
1348 } else if (ictx->kc == KEY_CHANNELUP && (buf[2] & 0x40) != 0x40) { in imon_mouse_event()
1350 } else if (ictx->kc == KEY_CHANNELDOWN && (buf[2] & 0x40) != 0x40) { in imon_mouse_event()
1372 ictx->last_keycode = ictx->kc; in imon_mouse_event()
1422 ictx->kc = KEY_UNKNOWN; in imon_pad_to_keys()
1487 ictx->kc = KEY_UNKNOWN; in imon_pad_to_keys()
1519 ictx->kc = imon_remote_key_lookup(ictx, scancode); in imon_pad_to_keys()
1538 if (ictx->kc == KEY_RESERVED && buf[0] == 0x02 && buf[3] == 0x00) in imon_parse_press_type()
1539 ictx->kc = ictx->last_keycode; in imon_parse_press_type()
1542 else if (ictx->kc == KEY_RESERVED && buf[0] == 0x68 && buf[1] == 0x82 && 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] == 0x01 && buf[1] == 0x00 && in imon_parse_press_type()
1549 ictx->kc = ictx->last_keycode; in imon_parse_press_type()
1557 } else if (ictx->kc == KEY_RESERVED) in imon_parse_press_type()
1583 u32 kc; in imon_incoming_packet() local
1598 kc = imon_panel_key_lookup(ictx, scancode); in imon_incoming_packet()
1606 kc = imon_mce_key_lookup(ictx, scancode); in imon_incoming_packet()
1609 kc = imon_remote_key_lookup(ictx, scancode); in imon_incoming_packet()
1615 if (kc == KEY_KEYBOARD && !ictx->release_code) { in imon_incoming_packet()
1616 ictx->last_keycode = kc; in imon_incoming_packet()
1629 ictx->kc = kc; in imon_incoming_packet()
1677 ictx->last_keycode = ictx->kc; in imon_incoming_packet()
1688 if (ictx->kc == KEY_MUTE || in imon_incoming_packet()
1690 if (ictx->kc == ictx->last_keycode && in imon_incoming_packet()
1698 kc = ictx->kc; in imon_incoming_packet()
1702 input_report_key(ictx->idev, kc, press_type); in imon_incoming_packet()
1706 input_report_key(ictx->idev, kc, 0); in imon_incoming_packet()
1710 ictx->last_keycode = kc; in imon_incoming_packet()
2052 u32 kc = key_table[i].keycode; in imon_init_idev() local
2053 __set_bit(kc, idev->keybit); in imon_init_idev()