Support differing HID interface IDs between products
This commit is contained in:
parent
28eb02d94d
commit
fc9eb2d898
4 changed files with 44 additions and 5 deletions
|
@ -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
|
||||
|
|
Reference in a new issue