Support differing HID interface IDs between products

This commit is contained in:
wheaney 2024-07-30 10:28:41 -07:00 committed by Jacki
parent 28eb02d94d
commit fc9eb2d898
No known key found for this signature in database
GPG key ID: B404184796354C5E
4 changed files with 44 additions and 5 deletions

View file

@ -40,10 +40,13 @@ extern "C" {
#endif
extern const uint16_t xreal_vendor_id;
extern const uint16_t xreal_product_ids[NUM_SUPPORTED_PRODUCTS];
extern const uint16_t xreal_product_ids [NUM_SUPPORTED_PRODUCTS];
bool is_xreal_product_id(uint16_t product_id);
int xreal_imu_interface_id(uint16_t product_id);
int xreal_mcu_interface_id(uint16_t product_id);
#ifdef __cplusplus
} // extern "C"
#endif