Better support for DualShock4 on Sequoia

Hello !

I would like to know if a better support for the DualShock4 could be possible, with the recent macOS versions, like Sequoia ?

More specifically, if the TouchPad clic can be captured again by the Generic Device Analyzer, as well as the Home PS button ?

I said, captured again, because that was possible back then on older systems, like macOS Catalina 10.15.
The support by macOS wasn't the same of course, more basic, as the DS4 was probably seen as a simple HID.
Yet, the Analyser could log the hex byte from the TouchPad and PS.

Now that gaming controllers like the DualShock4 are fully and deeply supported by macOS, these bytes are missing for BTT.
I will guess that, some game-kit/controller-frameworks what so ever are now taking the priority over BTT.

I had a look over the various posts about Sony's controllers here, but didn't find any solutions nor scripts working.

If it helps, here hex bytes i could log so far :

BTT 4.926 -  Catalina 10.15.8 on a MacBookPro mid14

readUInt8
5x00			dPad-Up
5x02			dPad-Right
5x04			dPad-Down
5x06			dPad-Left
5x88			Triangle
5x48			Circle
5x28			Cross
5x18			Square
	
6x01			L1
6x02			R1
6x10			Share
6x20			Option
6x40			L3
6x80			R3
	
7x01			PS Home
7x02			TouchPad Clic
	
8x				L2
9x				R2

---------------------

BTT 6.565 - Sequoia 15.7.8 on a MacMini M4Pro 2024

readUInt8
0x - 2x			—

3x - 4x			jStick-L axis
5x - 6x			jStick-R axis

7x00			dPad-Up
7x02			dPad-Right
7x04			dPad-Down
7x06			dPad-Left
7x88			Triangle
7x48			Circle
7x28			Cross
7x18			Square

8x01			L1
8x02			R2
8x04			L2
8x08			R2
8x10			Share
8x20			Option
8x40			L3
8x80			R3

9x  			constant data

10x				L2 Trigger
11x				R2 Trigger

12x - 13x		Gyros
14x				—
15x - 26x		Gryro

27x - 34x		—

35x - 62x		TouchPad multi touch surface

63x - 73x		—

74x - 77x		constant data

?? 				PS Home 
?? 				TouchPad Click

Again, thank you for this incredible gem that is BetterTouch Tool !
I've been using it for almost ten years now. Between trackpads, keyboards and shortcuts, tablets, and many various bluetooth devices. :slight_smile: