ricardoquesada / bluepad32

Bluetooth gamepad, mouse and keyboard support for ESP32 and PicoW
https://bluepad32.readthedocs.io/
Other
566 stars 59 forks source link

Update ds4 parser #29

Closed Jaboop8 closed 1 year ago

Jaboop8 commented 1 year ago

Recreating PR against Dev. Contains PS4 Parser changes for Touchpad, Accelerometer and Gyro.

ricardoquesada commented 1 year ago

Thanks for the pull request.

I reviewed it and there are a few comments:

I was planning to have a "mouse" data structure... so if you could do the squashing plus expanding and populating the ds4_input_report_t and do the rest.

Thanks!

ste2425 commented 1 year ago

It would be great if this PR could make it in, or at least a part of it.

Having access to the track pad button on a DS4 at least would be better UX for acting like a start button.

Jaboop8 commented 1 year ago

@ste2425 Hoping to get back around to this project soon. I've been swamped with other projects lately. If you need it sooner though check out the changes to uni_hid_parser_ds4.c. They are pretty minimal changes to the parsing of the report to make sense of the touchpad data

ricardoquesada commented 1 year ago

gyro/accel for dualshock4 / dualsense support added in develop branch.

Closing this pull request.