diff options
author | cnlohr <lohr85@gmail.com> | 2018-06-23 14:27:27 -0400 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2018-06-23 14:27:27 -0400 |
commit | e8b268f4c0116b135400ef6cf3dc939481de119b (patch) | |
tree | 7dfc215d7cf3e7fecb2d68983d010aee2c2bbdef /src/survive_vive.c | |
parent | 1dea63123ca6735cee354f3eeae69e2e62d61e3b (diff) | |
download | libsurvive-e8b268f4c0116b135400ef6cf3dc939481de119b.tar.gz libsurvive-e8b268f4c0116b135400ef6cf3dc939481de119b.tar.bz2 |
Fix units for vive, but not switching scales to incremental.
Diffstat (limited to 'src/survive_vive.c')
-rwxr-xr-x | src/survive_vive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/survive_vive.c b/src/survive_vive.c index 37bec7e..b20052d 100755 --- a/src/survive_vive.c +++ b/src/survive_vive.c @@ -553,7 +553,7 @@ int survive_vive_send_magic(SurviveContext * ctx, void * drv, int magic_code, vo //From actual steam. if (sv->udev[USB_DEV_HMD]) { - static uint8_t vive_magic_power_on[64] = { 0x04, 0x78, 0x29, 0x38 }; + static uint8_t vive_magic_power_on[64] = { 0x04, 0x78, 0x29, 0x38, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01 }; r = update_feature_report( sv->udev[USB_DEV_HMD], 0, vive_magic_power_on, sizeof( vive_magic_power_on ) ); if( r != sizeof( vive_magic_power_on ) ) return 5; } |