mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-28 01:18:31 +00:00
d/wmr: Add PID of HP Reverb G2 Omnicept edition
The Omnicept edition has several additional sensors, but the base functionality is identical to that of the Reverb G2. Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2395>
This commit is contained in:
parent
8c16c8ffde
commit
529aa5b092
|
@ -59,6 +59,7 @@ enum wmr_headset_type
|
|||
#define VR1000_PID 0x0367
|
||||
#define REVERB_G1_PID 0x0c6a
|
||||
#define REVERB_G2_PID 0x0580
|
||||
#define REVERB_G2_OMNICEPT_PID 0x0680
|
||||
#define REVERB_G2_CONTROLLER_PID 0x066a /* On 0x045e Microsoft VID */
|
||||
|
||||
#define LENOVO_VID 0x17ef
|
||||
|
|
|
@ -85,6 +85,7 @@ check_and_get_interface(struct xrt_prober_device *device,
|
|||
switch (device->product_id) {
|
||||
case REVERB_G1_PID: *out_hmd_type = WMR_HEADSET_REVERB_G1; return true;
|
||||
case REVERB_G2_PID: *out_hmd_type = WMR_HEADSET_REVERB_G2; return true;
|
||||
case REVERB_G2_OMNICEPT_PID: *out_hmd_type = WMR_HEADSET_REVERB_G2; return true;
|
||||
case VR1000_PID: *out_hmd_type = WMR_HEADSET_HP_VR1000; return true;
|
||||
default: U_LOG_IFL_T(log_level, "No matching PID!"); return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue