Home
last modified time | relevance | path

Searched refs:EV_KEY (Results 101 – 125 of 409) sorted by relevance

12345678910>>...17

/openbmc/linux/drivers/input/misc/
H A Dcpcap-pwrbutton.c72 input_set_capability(button->idev, EV_KEY, KEY_POWER); in cpcap_power_button_probe()
H A Dab8500-ponkey.c82 input_set_capability(input, EV_KEY, KEY_POWER); in ab8500_ponkey_probe()
H A De3x0-button.c83 input_set_capability(input, EV_KEY, KEY_POWER); in e3x0_button_probe()
H A Dxen-kbdfront.c109 input_event(dev, EV_KEY, key->keycode, value); in xenkbd_handle_key_event()
256 __set_bit(EV_KEY, kbd->evbit); in xenkbd_probe()
315 __set_bit(EV_KEY, ptr->evbit); in xenkbd_probe()
H A Dpcap_keys.c70 __set_bit(EV_KEY, input_dev->evbit); in pcap_keys_probe()
H A Dmax77650-onkey.c73 type = EV_KEY; in max77650_onkey_probe()
H A Datlas_btns.c80 __set_bit(EV_KEY, input_dev->evbit); in atlas_acpi_button_add()
H A Dda9052_onkey.c99 input_dev->evbit[0] = BIT_MASK(EV_KEY); in da9052_onkey_probe()
H A Dsgi_btns.c105 __set_bit(EV_KEY, input->evbit); in sgi_buttons_probe()
H A Dcobalt_btns.c97 __set_bit(EV_KEY, input->evbit); in cobalt_buttons_probe()
H A Dwm831x-on.c95 wm831x_on->dev->evbit[0] = BIT_MASK(EV_KEY); in wm831x_on_probe()
/openbmc/linux/drivers/input/
H A Dinput.c54 [EV_KEY] = KEY_MAX,
172 if (v->type == EV_KEY && v->value != 2) { in input_pass_values()
268 case EV_KEY: in input_get_disposition()
739 if (is_event_supported(EV_KEY, dev->evbit, EV_MAX)) { in input_dev_release_keys()
741 input_handle_event(dev, EV_KEY, code, 0); in input_dev_release_keys()
982 } else if (test_bit(EV_KEY, dev->evbit) && in input_set_keycode()
992 EV_KEY, old_keycode, 0); in input_set_keycode()
1218 if (test_bit(EV_KEY, dev->evbit)) in input_devices_seq_show()
1774 if (test_bit(EV_KEY, dev->evbit)) in input_dev_uevent()
2188 case EV_KEY: in input_set_capability()
[all …]
/openbmc/linux/drivers/mfd/
H A Ducb1x00-assabet.c51 buttons[i].type = EV_KEY; in ucb1x00_assabet_add()
/openbmc/linux/drivers/platform/x86/
H A Dadv_swbutton.c73 input_set_capability(input, EV_KEY, KEY_PROG1); in adv_swbutton_probe()
/openbmc/linux/drivers/platform/x86/intel/
H A Dmrfld_pwrbtn.c60 input_set_capability(input, EV_KEY, KEY_POWER); in mrfld_pwrbtn_probe()
/openbmc/linux/drivers/input/keyboard/
H A Dopencores-kbd.c77 __set_bit(EV_KEY, input->evbit); in opencores_kbd_probe()
H A Datakbd.c204 atakbd_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in atakbd_init()
/openbmc/linux/drivers/media/rc/
H A Dati_remote.c559 input_event(dev, EV_KEY, ati_remote_tbl[index].code, in ati_remote_input_report()
590 input_event(dev, EV_KEY, ati_remote_tbl[index].code, 1); in ati_remote_input_report()
591 input_event(dev, EV_KEY, ati_remote_tbl[index].code, 0); in ati_remote_input_report()
726 idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in ati_remote_input_init()
/openbmc/linux/drivers/input/touchscreen/
H A Dhp680_ts_input.c85 hp680_ts_dev->evbit[0] = BIT_MASK(EV_ABS) | BIT_MASK(EV_KEY); in hp680_ts_init()
/openbmc/linux/arch/x86/platform/geode/
H A Dalix.c50 .type = EV_KEY,
/openbmc/linux/Documentation/input/
H A Dinput-programming.rst44 button_dev->evbit[0] = BIT_MASK(EV_KEY);
84 accepted by this input device. Our example device can only generate EV_KEY
88 set_bit(EV_KEY, button_dev->evbit);
216 The most simple event type is EV_KEY, which is used for keys and buttons.
226 In addition to EV_KEY, there are two more basic event types: EV_REL and
234 Having the device report EV_REL buttons is as simple as with EV_KEY; simply
/openbmc/linux/drivers/hid/
H A Dhid-lenovo.c63 #define map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c))
707 if (usage->type == EV_KEY && usage->code == KEY_FN_ESC && value == 1) { in lenovo_event_tp10ubkbd()
735 if (usage->type == EV_KEY && usage->code == BTN_MIDDLE) { in lenovo_event_cptkbd()
742 EV_KEY, BTN_MIDDLE, 1); in lenovo_event_cptkbd()
745 EV_KEY, BTN_MIDDLE, 0); in lenovo_event_cptkbd()
754 if (usage->type == EV_KEY && usage->code == KEY_FN_ESC && value == 1) { in lenovo_event_cptkbd()
H A Dwacom_wac.c1959 case EV_KEY: in wacom_map_usage()
2063 wacom_map_usage(input, usage, field, EV_KEY, in wacom_wac_pad_usage_mapping()
2132 wacom_map_usage(input, usage, field, EV_KEY, in wacom_wac_pad_usage_mapping()
2283 input_set_capability(input, EV_KEY, BTN_STYLUS3); in wacom_set_barrel_switch3_usage()
2315 wacom_map_usage(input, usage, field, EV_KEY, in wacom_wac_pen_usage_mapping()
2328 input_set_capability(input, EV_KEY, BTN_TOOL_RUBBER); in wacom_wac_pen_usage_mapping()
2332 input_set_capability(input, EV_KEY, BTN_TOOL_PEN); in wacom_wac_pen_usage_mapping()
2362 input_set_capability(input, EV_KEY, BTN_TOOL_AIRBRUSH); in wacom_wac_pen_usage_mapping()
3747 input_dev->evbit[0] |= BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in wacom_setup_pen_input_capabilities()
3912 input_dev->evbit[0] |= BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in wacom_setup_touch_input_capabilities()
[all …]
/openbmc/linux/drivers/input/mouse/
H A Dpc110pad.c125 pc110pad_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in pc110pad_init()
/openbmc/linux/drivers/input/joystick/
H A Dsensehat-joystick.c89 __set_bit(EV_KEY, sensehat_joystick->keys_dev->evbit); in sensehat_joystick_probe()

12345678910>>...17