mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-11 17:35:27 +00:00
e063e8245e
This adds a driver for the Vive family of devices based on Philipp Zabel's ouvrt. The driver currently only handles the IMU and main board report streams, but is able to acquire the JSON configuration and utilize it for IMU calibration as well as distortion configuration.
51 lines
729 B
Meson
51 lines
729 B
Meson
# Copyright 2019, Collabora, Ltd.
|
|
# SPDX-License-Identifier: BSL-1.0
|
|
|
|
driver_libs = []
|
|
driver_deps = []
|
|
|
|
if libusb.found()
|
|
driver_deps += [libusb]
|
|
endif
|
|
|
|
if libjpeg.found()
|
|
driver_deps += [libjpeg]
|
|
endif
|
|
|
|
if 'hdk' in drivers
|
|
driver_libs += [lib_drv_hdk]
|
|
endif
|
|
|
|
if 'hydra' in drivers
|
|
driver_libs += [lib_drv_hydra]
|
|
endif
|
|
|
|
if 'ohmd' in drivers
|
|
driver_libs += [lib_drv_ohmd]
|
|
endif
|
|
|
|
if 'psmv' in drivers
|
|
driver_libs += [lib_drv_psmv]
|
|
endif
|
|
|
|
if 'psvr' in drivers
|
|
driver_libs += [lib_drv_psvr]
|
|
endif
|
|
|
|
if 'v4l2' in drivers
|
|
driver_libs += [lib_drv_v4l2]
|
|
driver_deps += [v4l2]
|
|
endif
|
|
|
|
if 'vive' in drivers
|
|
driver_libs += [lib_drv_vive]
|
|
endif
|
|
|
|
subdir('common')
|
|
subdir('openxr')
|
|
subdir('cli')
|
|
|
|
if sdl2.found()
|
|
subdir('gui')
|
|
endif
|