The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

meson: Tidy NorthStar driver selection code (NFC)

+1 -10
+1 -10
meson.build
··· 130 130 if 'ohmd' in drivers 131 131 openhmd_required = true 132 132 endif 133 - if 'ns' in drivers 134 - ns_required = true 135 - endif 136 133 if 'psvr' in drivers 137 134 hidapi_required = true 138 135 endif ··· 141 138 endif 142 139 143 140 if 'auto' in drivers 144 - drivers += ['dummy', 'hdk', 'hydra', 'psmv'] 141 + drivers += ['dummy', 'hdk', 'hydra', 'ns', 'psmv'] 145 142 endif 146 143 147 144 openhmd = dependency('openhmd', required: openhmd_required) 148 145 hidapi = dependency('hidapi-libusb', required: hidapi_required) 149 146 v4l2 = dependency('libv4l2', required: v4l2_required) 150 - 151 - if 'auto' in drivers or 'ns' in drivers 152 - if 'ns' not in drivers 153 - drivers += ['ns'] 154 - endif 155 - endif 156 147 157 148 if openhmd.found() and ('auto' in drivers or 'ohmd' in drivers) 158 149 if 'ohmd' not in drivers