ps2homebrew / Open-PS2-Loader

Game and app loader for Sony PlayStation 2
https://ps2homebrew.github.io/Open-PS2-Loader/
Academic Free License v3.0
2.18k stars 273 forks source link

[FR] [PADEMU]Emulate DualShock 2 using DualShock 1 in OPL #844

Open pietro1704 opened 1 year ago

pietro1704 commented 1 year ago

Discussed in https://github.com/ps2homebrew/Open-PS2-Loader/discussions/765

Originally posted by **GamerHack** September 22, 2022 Something I wonder is if it would be possible to emulate the functions of a DualShock 2 controller using DualShock 1 controllers as it has been done with other controllers, so I don't know if this would be possible and if so, implement it in a future version.
BDJoe360 commented 1 year ago

Similarly GP2042(https://github.com/FeralAI/GP2040) is a gamepad firmware for the Raspberry Pi Pico and other boards based on the RP2040 microcontroller.If you can increase your support for it, it will be a great blessing for players who like to play street bullies in the first year!

hardlevel commented 1 year ago

emulating dualshock 2 functions on a dualshock from ps1 console is the same of emulating a PS5 on a potato

how emulate the system of button pressure if dualshock doesn't have the hardware for that?

x1nf3ctAdusX commented 1 year ago

Emulate the functions of a new hardware , new tech with old hardware, old tech isn't possible anyway! Newer controllers (not all of them) can be able to emulate dualshock 2 functions as they existed previously to the controller, but the dualshock 2 functions doesn't exists when the original dualshock was created obviously!

Masamune3210 commented 1 year ago

abstraction layers are a thing, just return the pressure as 0 or max with a key combo or frankly, could probably just get away with constantly returning no pressure since so few games in the library actually bother to even use the analog buttons for anything other than a binary pressed|not pressed

rtxa commented 1 year ago

I think the main issue with adding compatibility for PlayStation 1 controller is that PADEMU is implemented for USB and Bluetooth, which means we need to find another way inside OPL code to add support for DS1 from the controller ports.

TiagoAndreAlmeida commented 1 year ago

i have a dualshock 1 with have great stick sensibility for fps games, but cannot play game like "bullet" or "gran turismo" because the game force to have dualshock 2, other not original joystick can be used but, have a bad sensibility on L and R stick. is a pain to play this games with this joysticks. i wonder that opl can only tell to game that is running: "hey this is a dualshock 2...." when i'm actually playing with a dualsock 1. dont need to emulater button sensibility.

Fierelier commented 3 months ago

I got myself a DualShock 1 to specifically play without the analog buttons (holding them in for a long time hurts my fingers). However, there are some games which will not work with a DS1. Need for Speed Underground and newer, for example. I can't accelerate using the X button. Need for Speed Undercover even tells me there is no controller plugged in.

So, this feature request is not really about getting the pressure sensitive functionality on DS1 controllers, but rather making the games playable on one.