Add HID IDs for XREAL Air 2 Ultra

This commit is contained in:
wheaney 2024-07-29 08:49:25 -07:00
parent 9d6b6ccc16
commit ce3f9f5493
2 changed files with 3 additions and 2 deletions

View file

@ -8,7 +8,7 @@
#include <cstdint>
#endif
#define NUM_SUPPORTED_PRODUCTS 3
#define NUM_SUPPORTED_PRODUCTS 4
extern const uint16_t xreal_vendor_id;
extern const uint16_t xreal_product_ids[NUM_SUPPORTED_PRODUCTS];

View file

@ -14,7 +14,8 @@ const uint16_t xreal_vendor_id = 0x3318;
const uint16_t xreal_product_ids[NUM_SUPPORTED_PRODUCTS] = {
0x0424, // XREAL Air
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) {