Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
blender
monado-rpavlik
Commits
0fa7af1d
Commit
0fa7af1d
authored
Jun 21, 2019
by
Jakob Bornecrantz
Browse files
d/psvr: Set name of PSVR headset
parent
257cf6b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/xrt/drivers/psvr/psvr_device.c
View file @
0fa7af1d
...
...
@@ -687,6 +687,8 @@ psvr_device_create(struct hid_device_info *hmd_handle_info,
psvr
->
base
.
destroy
=
psvr_device_destroy
;
psvr
->
base
.
inputs
[
0
].
name
=
XRT_INPUT_GENERIC_HEAD_RELATION
;
snprintf
(
psvr
->
base
.
name
,
XRT_DEVICE_NAME_LEN
,
"PS VR Headset"
);
ret
=
open_hid
(
psvr
,
hmd_handle_info
,
&
psvr
->
hmd_handle
);
if
(
ret
!=
0
)
{
goto
cleanup
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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