diff options
Diffstat (limited to 'src/survive_cal.c')
-rwxr-xr-x[-rw-r--r--] | src/survive_cal.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/survive_cal.c b/src/survive_cal.c index f810098..1a3be2d 100644..100755 --- a/src/survive_cal.c +++ b/src/survive_cal.c @@ -114,9 +114,15 @@ void survive_cal_install( struct SurviveContext * ctx ) cd->hmd = survive_get_so_by_name( ctx, "HMD" ); if( !cd->hmd ) { - SV_ERROR( "Error: cannot find any devices labeled HMD. Required for calibration" ); - free( cd ); - return; + cd->hmd = survive_get_so_by_name( ctx, "TR0" ); + + if( !cd->hmd ) + { + SV_ERROR( "Error: cannot find any devices labeled HMD. Required for calibration" ); + free( cd ); + return; + } + SV_INFO( "HMD not found, calibrating using Tracker" ); } |