XREAL Air 2 vendor/product IDs
This commit is contained in:
parent
b074ab72fc
commit
115610aac2
5 changed files with 59 additions and 7 deletions
15
interface_lib/include/hid_ids.h
Normal file
15
interface_lib/include/hid_ids.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef __cplusplus
|
||||
#include <stdbool.h>
|
||||
#endif
|
||||
|
||||
#ifndef __cplusplus
|
||||
#include <stdint.h>
|
||||
#else
|
||||
#include <cstdint>
|
||||
#endif
|
||||
|
||||
#define NUM_SUPPORTED_PRODUCTS 2
|
||||
|
||||
extern const uint16_t xreal_vendor_id;
|
||||
extern const uint16_t xreal_product_ids[NUM_SUPPORTED_PRODUCTS];
|
||||
bool is_xreal_product_id(uint16_t product_id);
|
Reference in a new issue