Searched refs:gamepad (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-playstation.c | 148 struct input_dev *gamepad; member 361 struct input_dev *gamepad; member 508 * Common gamepad buttons across DualShock 3 / 4 and DualSense. 706 struct input_dev *gamepad; in ps_gamepad_create() local 710 gamepad = ps_allocate_input_dev(hdev, NULL); in ps_gamepad_create() 711 if (IS_ERR(gamepad)) in ps_gamepad_create() 712 return ERR_CAST(gamepad); in ps_gamepad_create() 714 input_set_abs_params(gamepad, ABS_X, 0, 255, 0, 0); in ps_gamepad_create() 715 input_set_abs_params(gamepad, ABS_Y, 0, 255, 0, 0); in ps_gamepad_create() 716 input_set_abs_params(gamepad, ABS_ in ps_gamepad_create() [all...] |
/kernel/linux/linux-5.10/drivers/input/misc/ |
H A D | ims-pcu.c | 110 struct ims_pcu_gamepad *gamepad; member 264 struct ims_pcu_gamepad *gamepad = pcu->gamepad; in ims_pcu_gamepad_report() local 265 struct input_dev *input = gamepad->input; in ims_pcu_gamepad_report() 286 struct ims_pcu_gamepad *gamepad; in ims_pcu_setup_gamepad() local 290 gamepad = kzalloc(sizeof(struct ims_pcu_gamepad), GFP_KERNEL); in ims_pcu_setup_gamepad() 292 if (!gamepad || !input) { in ims_pcu_setup_gamepad() 294 "Not enough memory for gamepad device\n"); in ims_pcu_setup_gamepad() 299 gamepad->input = input; in ims_pcu_setup_gamepad() 301 snprintf(gamepad in ims_pcu_setup_gamepad() 343 struct ims_pcu_gamepad *gamepad = pcu->gamepad; ims_pcu_destroy_gamepad() local [all...] |
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | ims-pcu.c | 110 struct ims_pcu_gamepad *gamepad; member 264 struct ims_pcu_gamepad *gamepad = pcu->gamepad; in ims_pcu_gamepad_report() local 265 struct input_dev *input = gamepad->input; in ims_pcu_gamepad_report() 286 struct ims_pcu_gamepad *gamepad; in ims_pcu_setup_gamepad() local 290 gamepad = kzalloc(sizeof(struct ims_pcu_gamepad), GFP_KERNEL); in ims_pcu_setup_gamepad() 292 if (!gamepad || !input) { in ims_pcu_setup_gamepad() 294 "Not enough memory for gamepad device\n"); in ims_pcu_setup_gamepad() 299 gamepad->input = input; in ims_pcu_setup_gamepad() 301 snprintf(gamepad in ims_pcu_setup_gamepad() 343 struct ims_pcu_gamepad *gamepad = pcu->gamepad; ims_pcu_destroy_gamepad() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/hid/ |
H A D | Makefile | 10 TEST_PROGS += hid-gamepad.sh
|
Completed in 8 milliseconds