Searched refs:ps_gamepad_hat_mapping (Results 1 – 1 of 1) sorted by relevance
535 static const struct {int x; int y; } ps_gamepad_hat_mapping[] = { variable1360 if (value >= ARRAY_SIZE(ps_gamepad_hat_mapping)) in dualsense_parse_report()1362 input_report_abs(ds->gamepad, ABS_HAT0X, ps_gamepad_hat_mapping[value].x); in dualsense_parse_report()1363 input_report_abs(ds->gamepad, ABS_HAT0Y, ps_gamepad_hat_mapping[value].y); in dualsense_parse_report()2283 if (value >= ARRAY_SIZE(ps_gamepad_hat_mapping)) in dualshock4_parse_report()2285 input_report_abs(ds4->gamepad, ABS_HAT0X, ps_gamepad_hat_mapping[value].x); in dualshock4_parse_report()2286 input_report_abs(ds4->gamepad, ABS_HAT0Y, ps_gamepad_hat_mapping[value].y); in dualshock4_parse_report()