Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PS4 Move Controller Initial Support #362

Merged
merged 18 commits into from
Jul 30, 2018
Merged

PS4 Move Controller Initial Support #362

merged 18 commits into from
Jul 30, 2018

Conversation

thp
Copy link
Owner

@thp thp commented Jul 27, 2018

No description provided.

thp and others added 18 commits July 6, 2018 01:20
Both seem to do the same thing (setting LED color and rumble), but 0x06
also works with the CECH-ZCM2 models.
This agent simply answers any HCI PIN Code Request with the PIN code
'0000'.
Those values are stored in the HID report as two's complement. Also,
there are no longer values from two different half-frames.
This model does not have any magnetometers.
There are no half-frames in the HID input report anymore. Instead, the
second value reported for the trigger button seems to be a heavily
low-pass filtered version of the first one. We simply return the first
value for this new controller model.
Weird, GCC on Linux did not even issue a warning  ...
Instead, introduce a new function psmove_host_pair_custom_model() that
accepts the controller hardware model as additional argument. This keeps
the public API stable.
Add Linux support for PS4 Move controllers
@thp thp merged commit 8fa7f75 into master Jul 30, 2018
@thp thp deleted the cech-zcm2j branch July 30, 2018 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants