Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Add headphone volume to output report for DS4 v2 controllers #121

Closed
Ryochan7 opened this issue Sep 30, 2017 · 1 comment
Closed

Add headphone volume to output report for DS4 v2 controllers #121

Ryochan7 opened this issue Sep 30, 2017 · 1 comment
Assignees

Comments

@Ryochan7
Copy link
Owner

Ryochan7 commented Sep 30, 2017

As noted in an issue for the Jays2Kings version, the DS4 version 2 controller exposes the headphone jack directly to Windows when plugged into a PC via USB. I just bought a DS4 v2 for testing. Currently, DS4Windows will set the headphone volume to 0. The workaround that is used for the Sony dongle would allow headphone support to work. However, DS4Windows might have to know which version of the controller is being used in order to know if the volume level should be monitored. Setting the headphone volume level in the output packet for a version 1 controller connected via USB would probably be fine but that would require extra processing for something that the version 1 controller cannot support.

Jays2Kings#17

@Ryochan7 Ryochan7 self-assigned this Sep 30, 2017
@Ryochan7
Copy link
Owner Author

Ryochan7 commented Oct 2, 2017

Although the approach used is not very flexible, headphone volume support now works for DS4 v2 controllers connected via USB. For now, the VID and PID of a device is checked and only the currently known combination for the DS4 v2 is matched. Later on, an array or some other data structure might have to be used to let the application know which devices have support for the headphone jack on Windows.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant