Lime-3DS-Emulator icon indicating copy to clipboard operation
Lime-3DS-Emulator copied to clipboard

Use DualShock 4/DualSense controller touchpad for bottom screen touch controls

Open helloiamarfy opened this issue 8 months ago • 7 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

What feature are you suggesting?

As the title says, I'd like to be able to use the touchpad on more recent PlayStation controllers as touch controls for the bottom screen. I'm unsure of exactly how feasible this is, but when searching how to get something like this working for Lime3DS I found someone talking about getting it to work but linked to a reddit post that is now deleted (I love the internet).

Why would this feature be useful?

It would leave less time spent using something that isn't your controller and remove reliance on other software to achieve the desired result (if that's even a thing in the first place). It's convenient and would give the touchpads on these controllers a purpose.

helloiamarfy avatar Mar 20 '25 05:03 helloiamarfy

I genuinely don't think this is even possible outside of the existing functionality of it working like an extra mouse for your entire computer

OpenSauce04 avatar Mar 20 '25 07:03 OpenSauce04

I genuinely don't think this is even possible outside of the existing functionality of it working like an extra mouse for your entire computer

SDL seems to have functions for getting touchpad x and y coordinates? Converting that to touch inputs should be possible I think, though it might be tricky depending on how those touch events are registered in code. I wouldn't close at this point, anyway.

https://wiki.libsdl.org/SDL3/SDL_GamepadTouchpadEvent

DavidRGriswold avatar Mar 20 '25 09:03 DavidRGriswold

I've never seen a program may any use of the PS4 touchpad outside of the aforementioned functionality of it working like an extra trackpad connected to your PC, but I'm willing to be proven wrong. I'll leave this open.

OpenSauce04 avatar Mar 20 '25 10:03 OpenSauce04

This will be doable. =)

Need to figure out UX for enabling it, but this should come sometime in the next couple of releases.

https://github.com/user-attachments/assets/75461877-7598-479c-bbca-87bc06d4f73a

DavidRGriswold avatar Mar 21 '25 09:03 DavidRGriswold

PR #777 enables this feature. People interested, feel free to test the build there and give feedback on if it works as expected.

DavidGriswoldTeacher avatar Mar 22 '25 17:03 DavidGriswoldTeacher

It's just like PlayStation TV

Gorilli09 avatar Apr 20 '25 19:04 Gorilli09

For any coming across this issue like myself, you might consider using DS4Windows as a temporary workaround if you have a PS4/PS5 controller and want to make use of the touchpad

Voltstriker avatar Apr 23 '25 16:04 Voltstriker

Hello, I am currently using the latest release (2122.1) on Windows 11, and looking for a way to enable the Dualsense touchpad in Azahar. I don't see anything on the UI that references this capability. Does the feature exist in the main branch in some capacity? Thank you for the great work!!

Fearium avatar Jul 30 '25 15:07 Fearium