-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathusb_gamepad.hpp
48 lines (38 loc) · 1.2 KB
/
usb_gamepad.hpp
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#pragma once
//=========================================================================//
/*! @file
@brief USB/GAMEPAD Class
@author 平松邦仁 ([email protected])
@copyright Copyright (C) 2022 Kunihito Hiramatsu @n
Released under the MIT license @n
https://github.com/hirakuni45/RX/blob/master/LICENSE
*/
//=========================================================================//
#include "tinyusb/src/class/hid/hid.h"
namespace usb {
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
/*!
@brief USB/GAMEPAD class
*/
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
class gamepad {
public:
//-----------------------------------------------------------------//
/*!
@brief コンストラクター
*/
//-----------------------------------------------------------------//
gamepad() noexcept { }
//-----------------------------------------------------------------//
/*!
@brief unmount(デバイスが、umount されたら呼ぶ)
*/
//-----------------------------------------------------------------//
void unmount() noexcept
{
}
void injection(const uint8_t* msg, uint16_t len) noexcept
{
}
};
}