Add product ID for XREAL Air 2 Pros
This commit is contained in:
parent
43983153be
commit
20f01821a1
2 changed files with 3 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
#include <cstdint>
|
||||
#endif
|
||||
|
||||
#define NUM_SUPPORTED_PRODUCTS 2
|
||||
#define NUM_SUPPORTED_PRODUCTS 3
|
||||
|
||||
extern const uint16_t xreal_vendor_id;
|
||||
extern const uint16_t xreal_product_ids[NUM_SUPPORTED_PRODUCTS];
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
const uint16_t xreal_vendor_id = 0x3318;
|
||||
const uint16_t xreal_product_ids[NUM_SUPPORTED_PRODUCTS] = {
|
||||
0x0424, // XREAL Air
|
||||
0x0428 // XREAL Air 2
|
||||
0x0428, // XREAL Air 2
|
||||
0x0432 // XREAL Air 2 Pro
|
||||
};
|
||||
|
||||
bool is_xreal_product_id(uint16_t product_id) {
|
||||
|
|
Reference in a new issue