Skip to content

Finishing up support the the ZCM2 PSMove controller (with code cleanups)#373

Merged
thp merged 17 commits into
masterfrom
zcm2u
Oct 22, 2018
Merged

Finishing up support the the ZCM2 PSMove controller (with code cleanups)#373
thp merged 17 commits into
masterfrom
zcm2u

Conversation

@thp
Copy link
Copy Markdown
Owner

@thp thp commented Oct 22, 2018

This is basically #372 with some code-cleanups for merge.

HipsterSloth and others added 17 commits September 24, 2018 22:32
* Added "authenticate controller" step using BluetoothAuthenticateDeviceEx
* Parse gyro and accelerometer calibration values (new calibration format for ZCM2)
* Separated ZCM1 vs ZCM2 input packet handling cases
  - psmove_connect_internal (magnetometer initialization)
  - psmove_poll
  - psmove_get_ext_data
  - psmove_get_buttons
  - psmove_is_ext_connected
  - psmove_send_ext_data
  - psmove_get_temperature
  - psmove_get_trigger
  - psmove_get_half_frame
  - psmove_get_accelerometer
  - psmove_get_gyroscope
  - psmove_get_magnetometer
* psmove_orientation_new will default OrientationFusion_MadgwickIMU for the ZCM2 (since it doesn't have a magnetometer)
Handle unknown errors from BluetoothAuthenticateDeviceEx. Not handling these errors could cause a hang. Fixed an incorrect cast of the callback parameters in bluetooth_auth_callback.
Fixed bugs in bluetooth authentication of ZCM2U on Windows
Allow BluetoothAuthenticateDeviceEx errors to fall through again.
@thp thp merged commit eca8542 into master Oct 22, 2018
@thp thp deleted the zcm2u branch October 22, 2018 18:12
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