Add HID IDs for XREAL Air 2 Ultra
This commit is contained in:
parent
67b215bf04
commit
28eb02d94d
2 changed files with 3 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define NUM_SUPPORTED_PRODUCTS 3
|
#define NUM_SUPPORTED_PRODUCTS 4
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -38,7 +38,8 @@ const uint16_t xreal_vendor_id = 0x3318;
|
||||||
const uint16_t xreal_product_ids[NUM_SUPPORTED_PRODUCTS] = {
|
const uint16_t xreal_product_ids[NUM_SUPPORTED_PRODUCTS] = {
|
||||||
0x0424, // XREAL Air
|
0x0424, // XREAL Air
|
||||||
0x0428, // XREAL Air 2
|
0x0428, // XREAL Air 2
|
||||||
0x0432 // XREAL Air 2 Pro
|
0x0432, // XREAL Air 2 Pro
|
||||||
|
0x0426 // XREAL Air 2 Ultra
|
||||||
};
|
};
|
||||||
|
|
||||||
bool is_xreal_product_id(uint16_t product_id) {
|
bool is_xreal_product_id(uint16_t product_id) {
|
||||||
|
|
Reference in a new issue