r57zone / DualShock4-emulator

DualShock4 emulation for Xbox controllers or keyboard and mouse / Эмуляция DualShock4 для Xbox контроллеров или клавиатуры и мыши
https://youtu.be/17hY1zTqoYQ
The Unlicense
189 stars 30 forks source link

[Enhancement] Map the Playstation button #29

Closed e-t-l closed 2 years ago

e-t-l commented 2 years ago

Hi, this is a fantastic program! Would it be possible to map the PS Button (y'know, the round one in the middle of the controller that opens the PS4's settings menu)?

Personally, I'm using a physical Xbox One controller, not keyboard/mouse, so if there's a way to map the central Xbox button to the central PS button, that would be ideal. Otherwise, it would work just to have some mappable button combination (e.g. I would probably use 123, since I never use the PS share menu anyway).

r57zone commented 2 years ago

Hi, I add this in the next releases

r57zone commented 2 years ago

Added in 1.7.3, now can press the PS button with using "F2" key or by pressing Back + LB (left bumper) on the controller. https://github.com/r57zone/DualShock4-emulator/releases

e-t-l commented 2 years ago

Thanks @r57zone, you're the best! If you can help me with this real quick, I saw that SHARE is bound by default to 123, which the ReadMe indicates should correspond to Back+Start on an Xbox controller. Since I would like Back+Start to trigger the PS Button like I mentioned in my original comment, I changed the ini file to this, and restarted:

;SHARE=123
TOUCHPAD=13
OPTIONS=9
;PS=113
PS=123    

However, when I press Back+Start, it still triggers the Share menu. Do you have any idea why?

r57zone commented 2 years ago

At the moment, changing the Xbox layout is not supported, maybe in the future I will add it. Alternatively, you can simply press F2 on your keyboard.

Currently, only changing the keyboard layout is supported.

e-t-l commented 2 years ago

Okay, I understand, thank you. I had thought that the Xbox input was mapped onto the keyboard input, and DS4Emulator interpreted them in the same way. Thanks for clarifying. It would be cool to see this change in the future! For now, I'll remember to use Back+LB.