Searched refs:keycode (Results 1 - 3 of 3) sorted by relevance
/device/soc/rockchip/common/vendor/drivers/input/ |
H A D | rockchip_pwm_remotectl.c | 47 int keycode;
member 64 int keycode;
member 107 ddata->keycode = remotectl_button[ddata->keynum].key_table[i].keycode;
in remotectl_keycode_lookup() 165 DBG("board[%d].keyCode[%d]=%d\n", boardnum, loop, remotectl_button[boardnum].key_table[loop].keycode);
in rk_remotectl_parse_ir_keys() 232 input_event(ddata->input, EV_KEY, ddata->keycode, 1);
in rk_pwm_remotectl_do_something() 256 input_event(ddata->input, EV_KEY, ddata->keycode, 0);
in rk_pwm_remotectl_do_something() 275 input_event(ddata->input, EV_KEY, ddata->keycode, 0);
in rk_pwm_remotectl_timer() 406 if (remotectl_button[j].key_table[i].keycode != KEY_POWER) {
in rk_pwm_pwrkey_wakeup_init() 528 if (remotectl_button[j].key_table[i].keycode ! in rk_pwm_sip_wakeup_init() 674 int keycode; rk_pwm_probe() local [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/input/remotectl/ |
H A D | rockchip_pwm_remotectl.c | 50 int keycode; member 67 int keycode; member 112 ddata->keycode = in remotectl_keycode_lookup() 113 remotectl_button[ddata->keynum].key_table[i].keycode; in remotectl_keycode_lookup() 175 remotectl_button[boardnum].key_table[loop].keycode); in rk_remotectl_parse_ir_keys() 244 ddata->keycode, 1); in rk_pwm_remotectl_do_something() 275 ddata->keycode, 0); in rk_pwm_remotectl_do_something() 294 input_event(ddata->input, EV_KEY, ddata->keycode, 0); in rk_pwm_remotectl_timer() 426 if (remotectl_button[j].key_table[i].keycode != KEY_POWER) in rk_pwm_pwrkey_wakeup_init() 543 if (remotectl_button[j].key_table[i].keycode in rk_pwm_sip_wakeup_init() 692 int keycode; rk_pwm_probe() local [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/hid/ |
H A D | hid-input.c | 69 static bool match_keycode(struct hid_usage *usage, unsigned int cur_idx, unsigned int keycode)
in match_keycode() argument 72 * We should exclude unmapped usages when doing lookup by keycode.
in match_keycode() 74 return (usage->type == EV_KEY && usage->code == keycode);
in match_keycode() 138 ke->keycode = usage->type == EV_KEY ? usage->code : KEY_RESERVED;
in hidinput_getkeycode() 157 usage->code = ke->keycode;
in hidinput_setkeycode() 161 dbg_hid("Assigned keycode %d to HID usage code %x\n", usage->code, usage->hid);
in hidinput_setkeycode() 164 * Set the keybit for the old keycode if the old keycode is used
in hidinput_setkeycode() 1875 * report constant 0. As all map to the same keycode, they'd confuse
in hidinput_hid_event() 1877 * skip the keycode translatio in hidinput_hid_event() [all...] |
Completed in 5 milliseconds