Revert lib/usbhost changes (#19165)
This commit is contained in:
parent
9b51f02f45
commit
cb57ec9c02
5 changed files with 5 additions and 5 deletions
|
@ -25,7 +25,7 @@ public:
|
|||
virtual void OnGamePadChanged(const GamePadEventData *evt);
|
||||
};
|
||||
|
||||
#define RPT_GAMEPAD_LEN sizeof(GamePadEventData)
|
||||
#define RPT_GAMEPAD_LEN sizeof(GamePadEventData)/sizeof(uint8_t)
|
||||
|
||||
class JoystickReportParser : public HIDReportParser
|
||||
{
|
||||
|
|
|
@ -38,7 +38,7 @@ public:
|
|||
virtual void OnScaleChanged(const ScaleEventData *evt);
|
||||
};
|
||||
|
||||
#define RPT_SCALE_LEN sizeof(ScaleEventData)
|
||||
#define RPT_SCALE_LEN sizeof(ScaleEventData)/sizeof(uint8_t)
|
||||
|
||||
class ScaleReportParser : public HIDReportParser
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue