Home
last modified time | relevance | path

Searched refs:input_set_capability (Results 1 – 25 of 182) sorted by relevance

12345678

/linux/drivers/input/joystick/
H A Dpsxpad-spi.c162 input_set_capability(pad->idev, EV_FF, FF_RUMBLE); in psxpad_spi_init_ff()
320 input_set_capability(idev, EV_KEY, BTN_DPAD_UP); in psxpad_spi_probe()
321 input_set_capability(idev, EV_KEY, BTN_DPAD_DOWN); in psxpad_spi_probe()
322 input_set_capability(idev, EV_KEY, BTN_DPAD_LEFT); in psxpad_spi_probe()
323 input_set_capability(idev, EV_KEY, BTN_DPAD_RIGHT); in psxpad_spi_probe()
324 input_set_capability(idev, EV_KEY, BTN_A); in psxpad_spi_probe()
325 input_set_capability(idev, EV_KEY, BTN_B); in psxpad_spi_probe()
326 input_set_capability(idev, EV_KEY, BTN_X); in psxpad_spi_probe()
327 input_set_capability(idev, EV_KEY, BTN_Y); in psxpad_spi_probe()
328 input_set_capability(idev, EV_KEY, BTN_TL); in psxpad_spi_probe()
[all …]
H A Dn64joy.c286 input_set_capability(dev, EV_KEY, BTN_DPAD_UP); in n64joy_probe()
287 input_set_capability(dev, EV_KEY, BTN_DPAD_DOWN); in n64joy_probe()
288 input_set_capability(dev, EV_KEY, BTN_DPAD_LEFT); in n64joy_probe()
289 input_set_capability(dev, EV_KEY, BTN_DPAD_RIGHT); in n64joy_probe()
291 input_set_capability(dev, EV_KEY, BTN_LEFT); in n64joy_probe()
292 input_set_capability(dev, EV_KEY, BTN_RIGHT); in n64joy_probe()
293 input_set_capability(dev, EV_KEY, BTN_FORWARD); in n64joy_probe()
294 input_set_capability(dev, EV_KEY, BTN_BACK); in n64joy_probe()
296 input_set_capability(dev, EV_KEY, BTN_START); in n64joy_probe()
297 input_set_capability(dev, EV_KEY, BTN_Z); in n64joy_probe()
[all …]
H A Dgamecon.c300 input_set_capability(dev, EV_FF, FF_RUMBLE); in gc_n64_init_ff()
844 input_set_capability(input_dev, EV_KEY, gc_n64_btn[i]); in gc_setup_pad()
861 input_set_capability(input_dev, EV_KEY, BTN_LEFT); in gc_setup_pad()
862 input_set_capability(input_dev, EV_KEY, BTN_RIGHT); in gc_setup_pad()
863 input_set_capability(input_dev, EV_REL, REL_X); in gc_setup_pad()
864 input_set_capability(input_dev, EV_REL, REL_Y); in gc_setup_pad()
869 input_set_capability(input_dev, EV_KEY, gc_snes_btn[i]); in gc_setup_pad()
874 input_set_capability(input_dev, EV_KEY, gc_snes_btn[i]); in gc_setup_pad()
878 input_set_capability(input_dev, EV_KEY, BTN_THUMB); in gc_setup_pad()
882 input_set_capability(input_dev, EV_KEY, BTN_TRIGGER); in gc_setup_pad()
[all …]
/linux/drivers/input/mouse/
H A Dlogips2pp.c277 input_set_capability(input_dev, EV_KEY, BTN_SIDE); in ps2pp_set_model_properties()
280 input_set_capability(input_dev, EV_KEY, BTN_EXTRA); in ps2pp_set_model_properties()
283 input_set_capability(input_dev, EV_KEY, BTN_TASK); in ps2pp_set_model_properties()
286 input_set_capability(input_dev, EV_KEY, BTN_FORWARD); in ps2pp_set_model_properties()
287 input_set_capability(input_dev, EV_KEY, BTN_BACK); in ps2pp_set_model_properties()
291 input_set_capability(input_dev, EV_REL, REL_WHEEL); in ps2pp_set_model_properties()
294 input_set_capability(input_dev, EV_REL, REL_HWHEEL); in ps2pp_set_model_properties()
436 input_set_capability(psmouse->dev, EV_KEY, BTN_MIDDLE); in ps2pp_detect()
H A Dgpio_mouse.c122 input_set_capability(input, EV_REL, REL_X); in gpio_mouse_probe()
123 input_set_capability(input, EV_REL, REL_Y); in gpio_mouse_probe()
125 input_set_capability(input, EV_KEY, BTN_LEFT); in gpio_mouse_probe()
127 input_set_capability(input, EV_KEY, BTN_MIDDLE); in gpio_mouse_probe()
129 input_set_capability(input, EV_KEY, BTN_RIGHT); in gpio_mouse_probe()
H A Dvmmouse.c438 input_set_capability(abs_dev, EV_KEY, BTN_LEFT); in vmmouse_init()
439 input_set_capability(abs_dev, EV_KEY, BTN_RIGHT); in vmmouse_init()
440 input_set_capability(abs_dev, EV_KEY, BTN_MIDDLE); in vmmouse_init()
441 input_set_capability(abs_dev, EV_ABS, ABS_X); in vmmouse_init()
442 input_set_capability(abs_dev, EV_ABS, ABS_Y); in vmmouse_init()
451 input_set_capability(rel_dev, EV_REL, REL_WHEEL); in vmmouse_init()
H A Dlifebook.c293 input_set_capability(dev2, EV_REL, REL_X); in lifebook_create_relative_device()
294 input_set_capability(dev2, EV_REL, REL_Y); in lifebook_create_relative_device()
295 input_set_capability(dev2, EV_KEY, BTN_LEFT); in lifebook_create_relative_device()
296 input_set_capability(dev2, EV_KEY, BTN_RIGHT); in lifebook_create_relative_device()
326 input_set_capability(dev1, EV_KEY, BTN_TOUCH); in lifebook_init()
H A Dsynaptics.c1268 input_set_capability(dev, EV_KEY, BTN_LEFT); in set_input_params()
1272 input_set_capability(dev, EV_KEY, BTN_RIGHT); in set_input_params()
1274 input_set_capability(dev, EV_KEY, BTN_MIDDLE); in set_input_params()
1279 input_set_capability(dev, EV_REL, REL_X); in set_input_params()
1280 input_set_capability(dev, EV_REL, REL_Y); in set_input_params()
1303 input_set_capability(dev, EV_KEY, BTN_TOOL_QUADTAP); in set_input_params()
1304 input_set_capability(dev, EV_KEY, BTN_TOOL_QUINTTAP); in set_input_params()
1334 input_set_capability(dev, EV_KEY, BTN_TOUCH); in set_input_params()
1335 input_set_capability(dev, EV_KEY, BTN_TOOL_FINGER); in set_input_params()
1338 input_set_capability(dev, EV_KEY, BTN_TOOL_DOUBLETAP); in set_input_params()
[all …]
/linux/drivers/hid/
H A Dhid-letsketch.c116 input_set_capability(input, EV_KEY, BTN_TOUCH); in letsketch_setup_input_tablet()
117 input_set_capability(input, EV_KEY, BTN_TOOL_PEN); in letsketch_setup_input_tablet()
118 input_set_capability(input, EV_KEY, BTN_STYLUS); in letsketch_setup_input_tablet()
119 input_set_capability(input, EV_KEY, BTN_STYLUS2); in letsketch_setup_input_tablet()
139 input_set_capability(input, EV_KEY, BTN_0 + i); in letsketch_setup_input_tablet_pad()
147 input_set_capability(input, EV_KEY, BTN_STYLUS); in letsketch_setup_input_tablet_pad()
H A Dhid-lg-g15.c739 input_set_capability(input, EV_KEY, KEY_KBD_LCD_MENU1 + i); in lg_g15_init_input_dev()
885 input_set_capability(input, EV_KEY, KEY_MACRO1 + i); in lg_g15_probe()
889 input_set_capability(input, EV_KEY, KEY_MACRO_PRESET1 + i); in lg_g15_probe()
890 input_set_capability(input, EV_KEY, KEY_MACRO_RECORD_START); in lg_g15_probe()
898 input_set_capability(input, EV_KEY, KEY_MUTE); in lg_g15_probe()
900 input_set_capability(input, EV_KEY, KEY_F20); in lg_g15_probe()
/linux/drivers/platform/surface/
H A Dsurfacepro3_button.c221 input_set_capability(input, EV_KEY, KEY_POWER); in surface_button_add()
222 input_set_capability(input, EV_KEY, KEY_LEFTMETA); in surface_button_add()
223 input_set_capability(input, EV_KEY, KEY_VOLUMEUP); in surface_button_add()
224 input_set_capability(input, EV_KEY, KEY_VOLUMEDOWN); in surface_button_add()
/linux/drivers/input/touchscreen/
H A Dipaq-micro-ts.c103 input_set_capability(ts->input, EV_KEY, BTN_TOUCH); in micro_ts_probe()
104 input_set_capability(ts->input, EV_ABS, ABS_X); in micro_ts_probe()
105 input_set_capability(ts->input, EV_ABS, ABS_Y); in micro_ts_probe()
H A Dsurface3_spi.c298 input_set_capability(input, EV_KEY, BTN_TOUCH); in surface3_spi_create_pen_input()
299 input_set_capability(input, EV_KEY, BTN_STYLUS); in surface3_spi_create_pen_input()
300 input_set_capability(input, EV_KEY, BTN_TOOL_PEN); in surface3_spi_create_pen_input()
301 input_set_capability(input, EV_KEY, BTN_TOOL_RUBBER); in surface3_spi_create_pen_input()
H A Dchipone_icn8505.c407 input_set_capability(input, EV_ABS, ABS_MT_POSITION_X); in icn8505_probe()
408 input_set_capability(input, EV_ABS, ABS_MT_POSITION_Y); in icn8505_probe()
409 input_set_capability(input, EV_KEY, KEY_LEFTMETA); in icn8505_probe()
H A Dimagis.c242 input_set_capability(input_dev, EV_ABS, ABS_MT_POSITION_X); in imagis_init_input_dev()
243 input_set_capability(input_dev, EV_ABS, ABS_MT_POSITION_Y); in imagis_init_input_dev()
261 input_set_capability(input_dev, EV_KEY, ts->keycodes[i]); in imagis_init_input_dev()
H A Dchipone_icn8318.c207 input_set_capability(input, EV_ABS, ABS_MT_POSITION_X); in icn8318_probe()
208 input_set_capability(input, EV_ABS, ABS_MT_POSITION_Y); in icn8318_probe()
/linux/drivers/input/misc/
H A Dadxl34x.c750 input_set_capability(input_dev, EV_REL, REL_X); in adxl34x_probe()
751 input_set_capability(input_dev, EV_REL, REL_Y); in adxl34x_probe()
752 input_set_capability(input_dev, EV_REL, REL_Z); in adxl34x_probe()
765 input_set_capability(input_dev, EV_KEY, pdata->ev_code_tap[ADXL_X_AXIS]); in adxl34x_probe()
766 input_set_capability(input_dev, EV_KEY, pdata->ev_code_tap[ADXL_Y_AXIS]); in adxl34x_probe()
767 input_set_capability(input_dev, EV_KEY, pdata->ev_code_tap[ADXL_Z_AXIS]); in adxl34x_probe()
771 input_set_capability(input_dev, EV_KEY, pdata->ev_code_ff); in adxl34x_probe()
775 input_set_capability(input_dev, EV_KEY, in adxl34x_probe()
848 input_set_capability(input_dev, EV_KEY, in adxl34x_probe()
853 input_set_capability(input_dev, EV_KEY, in adxl34x_probe()
H A Dhisi_powerkey.c87 input_set_capability(input, EV_KEY, KEY_POWER); in hi65xx_powerkey_probe()
88 input_set_capability(input, EV_KEY, KEY_RESTART); in hi65xx_powerkey_probe()
H A Dideapad_slidebar.c218 input_set_capability(slidebar_input_dev, EV_KEY, BTN_TOUCH); in ideapad_probe()
219 input_set_capability(slidebar_input_dev, EV_ABS, ABS_X); in ideapad_probe()
H A Dpwm-beeper.c178 input_set_capability(beeper->input, EV_SND, SND_TONE); in pwm_beeper_probe()
179 input_set_capability(beeper->input, EV_SND, SND_BELL); in pwm_beeper_probe()
/linux/drivers/platform/x86/
H A Dlenovo-wmi-camera.c87 input_set_capability(priv->idev, EV_KEY, KEY_CAMERA_ACCESS_ENABLE); in lenovo_wmi_probe()
88 input_set_capability(priv->idev, EV_KEY, KEY_CAMERA_ACCESS_DISABLE); in lenovo_wmi_probe()
H A Dfujitsu-tablet.c248 input_set_capability(idev, EV_KEY, fujitsu.config.keymap[i]); in input_fujitsu_setup()
250 input_set_capability(idev, EV_MSC, MSC_SCAN); in input_fujitsu_setup()
252 input_set_capability(idev, EV_SW, SW_DOCK); in input_fujitsu_setup()
253 input_set_capability(idev, EV_SW, SW_TABLET_MODE); in input_fujitsu_setup()
/linux/drivers/acpi/
H A Dbutton.c601 input_set_capability(input, EV_KEY, KEY_POWER); in acpi_button_add()
602 input_set_capability(input, EV_KEY, KEY_WAKEUP); in acpi_button_add()
606 input_set_capability(input, EV_KEY, KEY_SLEEP); in acpi_button_add()
610 input_set_capability(input, EV_SW, SW_LID); in acpi_button_add()
/linux/drivers/input/tests/
H A Dinput_test.c28 input_set_capability(input_dev, EV_KEY, BTN_LEFT); in input_test_init()
29 input_set_capability(input_dev, EV_KEY, BTN_RIGHT); in input_test_init()
/linux/drivers/extcon/
H A Dextcon-max77693.c1115 input_set_capability(info->dock, EV_KEY, KEY_VOLUMEUP); in max77693_muic_probe()
1116 input_set_capability(info->dock, EV_KEY, KEY_VOLUMEDOWN); in max77693_muic_probe()
1117 input_set_capability(info->dock, EV_KEY, KEY_PLAYPAUSE); in max77693_muic_probe()
1118 input_set_capability(info->dock, EV_KEY, KEY_PREVIOUSSONG); in max77693_muic_probe()
1119 input_set_capability(info->dock, EV_KEY, KEY_NEXTSONG); in max77693_muic_probe()

12345678