mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 18:27:55 +00:00
initial implementation of VR
This commit is contained in:
10
sysconfig.h
10
sysconfig.h
@@ -224,6 +224,8 @@
|
||||
#define PSEUDOKEY_WHEELDOWN 2501
|
||||
#define PSEUDOKEY_WHEELUP 2502
|
||||
#define PSEUDOKEY_RELEASE 2503
|
||||
#define PSEUDOKEY_EXIT 2504
|
||||
#define PSEUDOKEY_MENU 2505
|
||||
|
||||
#ifndef CAP_PNG
|
||||
#define CAP_PNG (!ISMOBWEB)
|
||||
@@ -312,6 +314,10 @@
|
||||
#define CAP_RACING (!ISMOBWEB && !ISMINI)
|
||||
#endif
|
||||
|
||||
#ifndef CAP_VR
|
||||
#define CAP_VR ISSTEAM
|
||||
#endif
|
||||
|
||||
#ifndef CAP_LEGACY
|
||||
#define CAP_LEGACY 0
|
||||
#endif
|
||||
@@ -462,6 +468,10 @@ typedef unsigned GLuint;
|
||||
#include <new>
|
||||
#include <limits.h>
|
||||
|
||||
#if CAP_VR
|
||||
#include "openvr.h"
|
||||
#endif
|
||||
|
||||
#if CAP_VIDEO
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user