Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: support the DS3 pressure-sensitive buttons in the GUI/auto mapping #12071

Open
checktext00 opened this issue Dec 9, 2024 · 4 comments
Labels
Enhancement / Feature Request FR: Awaiting Consideration The feature request is awaiting a team members consideration.

Comments

@checktext00
Copy link

checktext00 commented Dec 9, 2024

Description

Add an option to the GUI to support the PS3 DS3 controller's pressure sensitive buttons (4 shoulder, 4 d-pad, 4 face buttons).
PCSX2 already supports it but I had to manually edit my .ini file. Also add support for automatic mapping of these settings when a DS3 is detected. Maybe you could add a list of all detected inputs from an input source the way Dolphin emulator does it, then people can just pick which button to assign from that list. Thanks

my .ini:

[Pad1]
Type = DualShock2
Up = SDL-0/FullAxis18
Right = SDL-0/FullAxis21
Down = SDL-0/FullAxis19
Left = SDL-0/FullAxis20
Triangle = SDL-0/FullAxis15
Circle = SDL-0/FullAxis13
Cross = SDL-0/FullAxis12
Square = SDL-0/FullAxis14
Select = SDL-0/Back
Start = SDL-0/Start
L1 = SDL-0/FullAxis16
L2 = SDL-0/+LeftTrigger
R1 = SDL-0/FullAxis17
R2 = SDL-0/+RightTrigger
L3 = SDL-0/LeftStick
R3 = SDL-0/RightStick
LUp = SDL-0/-LeftY
LRight = SDL-0/+LeftX
LDown = SDL-0/+LeftY
LLeft = SDL-0/-LeftX
RUp = SDL-0/-RightY
RRight = SDL-0/+RightX
RDown = SDL-0/+RightY
RLeft = SDL-0/-RightX
LargeMotor = SDL-0/LargeMotor
SmallMotor = SDL-0/SmallMotor

my controller settings GUI:
Image

edit: I should mention my settings are on macOS 11 using a USB wired DS3 controller

Reason

it allows people to have plug-and-play pressure sensitive buttons using the DS3 (the most logical controller choice for PCSX2), useful for games like Metal Gear Solid, or driving slowly in GTA

Examples

Dolphin's detected controller inputs list:
Image

@checktext00 checktext00 added Enhancement / Feature Request FR: Awaiting Consideration The feature request is awaiting a team members consideration. labels Dec 9, 2024
@StillPlay2
Copy link

I've tried out your ini & I'm not getting it to work on Gran Turismo 4 as you cannot move around the menus with the directional buttons nor can you select anything.

@checktext00
Copy link
Author

checktext00 commented Dec 20, 2024

I've tried out your ini & I'm not getting it to work on Gran Turismo 4 as you cannot move around the menus with the directional buttons nor can you select anything.

are you using macOS 11 with a wired USB controller? how do you normally connect? for me, this setup works in every game I've played (GTA3, GTA:SA for example) and the PS2 BIOS but I haven't tested Gran Turismo 4. Does it work for you in the PS2 BIOS?

another troubleshooting option is to download Dolphin and see if all your buttons are recognized there as both on/off binary (aka digital) buttons and as full axes (Dolphin > Controllers > Configure > select the DS3 from the drop-down, then right-click on a button mapping to get the full list of button/axis inputs)

@StillPlay2
Copy link

StillPlay2 commented Dec 20, 2024

I've tried out your ini & I'm not getting it to work on Gran Turismo 4 as you cannot move around the menus with the directional buttons nor can you select anything.

are you using macOS 11 with a wired USB controller? how do you normally connect? for me, this setup works in every game I've played (GTA3, GTA:SA for example) and the PS2 BIOS but I haven't tested Gran Turismo 4. Does it work for you in the PS2 BIOS?

another troubleshooting option is to download Dolphin and see if all your buttons are recognized there as both on/off binary (aka digital) buttons and as full axes (Dolphin > Controllers > Configure > select the DS3 from the drop-down, then right-click on a button mapping to get the full list of button/axis inputs)

Windows 10 with a wired PS3 Controller as the analog sticks work but not the directional keys or the face buttons. Anything where it says 'Full Axis' in Controller Menu is unresponsive.
It doesn't work in the BIOS neither.

@checktext00
Copy link
Author

Windows 10 with a wired PS3 Controller as the analog sticks work but not the directional keys or the face buttons. Anything where it says 'Full Axis' in Controller Menu is unresponsive. It doesn't work in the BIOS neither.

but my setup is only meant to work with macOS 11 wired USB I believe, for Windows you have to check how Windows sees your controller's inputs, which isn't currently possible in PCSX2, which is why I suggested the devs add the same functionality that Dolphin emulator has which allows this. You can just download Dolphin and see if it works there, then if it works in Dolphin you have to setup your PCSX2 .ini correctly and it should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement / Feature Request FR: Awaiting Consideration The feature request is awaiting a team members consideration.
Projects
None yet
Development

No branches or pull requests

2 participants