Add HID IDs for XREAL Air 2 Ultra

This commit is contained in:
wheaney 2024-07-29 08:49:25 -07:00 committed by Jacki
parent 67b215bf04
commit 28eb02d94d
No known key found for this signature in database
GPG key ID: B404184796354C5E
2 changed files with 3 additions and 2 deletions

View file

@ -33,7 +33,7 @@
#include <cstdint>
#endif
#define NUM_SUPPORTED_PRODUCTS 3
#define NUM_SUPPORTED_PRODUCTS 4
#ifdef __cplusplus
extern "C" {

View file

@ -38,7 +38,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) {