wiredopposite / OGX-Mini

RP2040 USB gamepad emulation for multiple platforms.
MIT License
109 stars 8 forks source link

PS4 Right Actuator #35

Open mrdude2478 opened 3 months ago

mrdude2478 commented 3 months ago

Describe the bug Tested with PS4 controller, Left rumble works great, however right motor only runs about half speed of the left motor.

What type of controller do you have the issue with? PS4 Dual Shock - USB\VID_054C&PID_09CC&REV_0100&MI_00

**What platform are you using the OGX-Mini on? OG Xbox

What board are you using? Pi Pico

Also PS button and touchpad for Dula shock 4 contoller are doing anything in OG Xbox mode , I have a Logitech Precision G-x3b12 and can restart the xbox with both triggers + Start + Back. Is there anyway to map a button combo like that to the PS button so I can quit out of game and restart the xbox?

I can change a line in OGX-Mini/blob/master/src/usbh/ps4/Dualshock4.cpp from:

if (ds4_data->ps)       gamepad.buttons.sys = true;

to 

if (ds4_data->ps)       (gamepad.buttons.back = true ,  gamepad.buttons.start = true);

But for some reason also adding - ds4_data->l2_trigger, ds4_data->r2_trigger - doesn't seem to press the left and right triggers.