Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Acidburn0zzz
gxr
Commits
5796161a
Commit
5796161a
authored
Aug 21, 2019
by
Lubosz Sarnecki
Browse files
context: Use defines for OpenVR constants.
parent
839e30b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/openvr-context.h
View file @
5796161a
...
...
@@ -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:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment