Commit 5796161a authored by Lubosz Sarnecki's avatar Lubosz Sarnecki

context: Use defines for OpenVR constants.

parent 839e30b6
......@@ -24,9 +24,9 @@ G_BEGIN_DECLS
#define OPENVR_TYPE_CONTEXT openvr_context_get_type()
G_DECLARE_FINAL_TYPE (OpenVRContext, openvr_context, OPENVR, CONTEXT, GObject)
static const uint32_t OPENVR_DEVICE_INDEX_HMD = 0;
static const uint32_t OPENVR_DEVICE_INDEX_MAX = 64;
static const uint32_t OPENVR_PROPERTY_STRING_MAX = 32768;
#define OPENVR_DEVICE_INDEX_HMD 0
#define OPENVR_DEVICE_INDEX_MAX 64
#define OPENVR_PROPERTY_STRING_MAX 32768
/**
* OpenVRQuitEvent:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment