Initial Refleks Lite hardware and firmware release

This commit is contained in:
2026-09-03 16:38:04 +03:00
commit 6e552c2ef1
146 changed files with 92135 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
#ifndef USBD_DINPUT_H
#define USBD_DINPUT_H
#ifdef __cplusplus
extern "C" {
#endif
#include "usbd_core.h"
#define DINPUT_GAMEPAD_EPIN_ADDR 0x81U
#define DINPUT_SETUP_EPIN_ADDR 0x82U
#define DINPUT_SETUP_EPOUT_ADDR 0x02U
#define DINPUT_RAW_EPIN_ADDR 0x83U
#define DINPUT_EP_SIZE 64U
#define DINPUT_REPORT_SIZE 9U
#define USB_DINPUT_CONFIG_DESC_SIZ 91U
extern USBD_ClassTypeDef USBD_DINPUT;
uint8_t USBD_DINPUT_SendReport(USBD_HandleTypeDef *pdev,
uint8_t *report,
uint16_t len);
#ifdef __cplusplus
}
#endif
#endif /* USBD_DINPUT_H */