forked from 48productions/piuio-pico
-
Notifications
You must be signed in to change notification settings - Fork 1
/
usb_descriptors.h
34 lines (29 loc) · 1005 Bytes
/
usb_descriptors.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*******************************************************************************************/
/* SPDX-License-Identifier: MIT */
/* SPDX-FileCopyrightText: Copyright (c) 2023 48productions, therathatter, dj505, sugoku */
/* SPDX-FileCopyrightText: Copyright (c) 2019 Ha Thach (tinyusb.org) */
/* https://github.com/sugoku/piuio-pico-brokeIO */
/*******************************************************************************************/
#ifndef USB_DESCRIPTORS_H_
#define USB_DESCRIPTORS_H_
enum
{
REPORT_ID_KEYBOARD = 1,
REPORT_ID_MOUSE,
REPORT_ID_CONSUMER_CONTROL,
REPORT_ID_GAMEPAD,
REPORT_ID_COUNT
};
enum
{
INPUT_MODE_PIUIO,
INPUT_MODE_GAMEPAD,
INPUT_MODE_LXIO,
INPUT_MODE_KEYBOARD,
INPUT_MODE_XINPUT,
INPUT_MODE_SWITCH,
INPUT_MODE_GAMECUBE,
INPUT_MODE_SERIAL,
INPUT_MODE_COUNT
};
#endif /* USB_DESCRIPTORS_H_ */