mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-16 07:20:52 +00:00
hid: move structs from hid_parse to hid
This commit is contained in:
parent
2901a9b7af
commit
4274fa7022
@ -45,6 +45,7 @@
|
||||
#define BTSTACK_HID_PARSER_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "hid.h"
|
||||
|
||||
#if defined __cplusplus
|
||||
extern "C" {
|
||||
@ -107,18 +108,6 @@ typedef enum {
|
||||
BTSTACK_HID_PARSER_COMPLETE,
|
||||
} btstack_hid_parser_state_t;
|
||||
|
||||
typedef enum {
|
||||
HID_REPORT_TYPE_RESERVED = 0,
|
||||
HID_REPORT_TYPE_INPUT,
|
||||
HID_REPORT_TYPE_OUTPUT,
|
||||
HID_REPORT_TYPE_FEATURE
|
||||
} hid_report_type_t;
|
||||
|
||||
typedef enum {
|
||||
HID_REPORT_ID_UNDECLARED,
|
||||
HID_REPORT_ID_VALID,
|
||||
HID_REPORT_ID_INVALID
|
||||
} hid_report_id_status_t;
|
||||
|
||||
typedef struct {
|
||||
|
||||
|
13
src/hid.h
13
src/hid.h
@ -92,6 +92,19 @@ typedef enum {
|
||||
HID_PROTOCOL_MODE_REPORT_WITH_FALLBACK_TO_BOOT
|
||||
} hid_protocol_mode_t;
|
||||
|
||||
typedef enum {
|
||||
HID_REPORT_TYPE_RESERVED = 0,
|
||||
HID_REPORT_TYPE_INPUT,
|
||||
HID_REPORT_TYPE_OUTPUT,
|
||||
HID_REPORT_TYPE_FEATURE
|
||||
} hid_report_type_t;
|
||||
|
||||
typedef enum {
|
||||
HID_REPORT_ID_UNDECLARED,
|
||||
HID_REPORT_ID_VALID,
|
||||
HID_REPORT_ID_INVALID
|
||||
} hid_report_id_status_t;
|
||||
|
||||
/* API_END */
|
||||
|
||||
#if defined __cplusplus
|
||||
|
Loading…
x
Reference in New Issue
Block a user