Skip to content

PS4 Move Controller Initial Support#362

Merged
thp merged 18 commits into
masterfrom
cech-zcm2j
Jul 30, 2018
Merged

PS4 Move Controller Initial Support#362
thp merged 18 commits into
masterfrom
cech-zcm2j

Conversation

@thp
Copy link
Copy Markdown
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