From 8388ca81fbc6c0a840e81f6fd805b897d378556b Mon Sep 17 00:00:00 2001 From: cnlohr Date: Tue, 29 Nov 2016 03:03:34 -0500 Subject: Add a basic vive driver. Gotta figure out how to turn it on. --- test.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test.c (limited to 'test.c') diff --git a/test.c b/test.c new file mode 100644 index 0000000..b7f9627 --- /dev/null +++ b/test.c @@ -0,0 +1,22 @@ +#include +#include + + +#include + +int main() +{ + struct SurviveContext * ctx = survive_init( &ctx ); + + if( !ctx ) + { + fprintf( stderr, "Fatal.\n" ); + return 1; + } + + while(survive_poll(ctx) == 0) + { + + } +} + -- cgit v1.2.3