mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-24 13:33:06 +00:00
389ff92cc1
* Makefile, Scripts: new linter * About: remove ID from IC * Firmware: remove double define for DIVC/DIVR * Scripts: check folder names too. Docker: replace syntax check with make lint. * Reformat Sources and Migrate to new file naming convention * Docker: symlink clang-format-12 to clang-format * Add coding style guide
23 lines
544 B
C
23 lines
544 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
#define HID_SVC_REPORT_MAP_MAX_LEN (120)
|
|
#define HID_SVC_REPORT_MAX_LEN (9)
|
|
#define HID_SVC_BOOT_KEYBOARD_INPUT_REPORT_MAX_LEN (8)
|
|
#define HID_SVC_REPORT_REF_LEN (2)
|
|
#define HID_SVC_INFO_LEN (4)
|
|
#define HID_SVC_CONTROL_POINT_LEN (1)
|
|
|
|
void hid_svc_start();
|
|
|
|
void hid_svc_stop();
|
|
|
|
bool hid_svc_is_started();
|
|
|
|
bool hid_svc_update_report_map(uint8_t* data, uint16_t len);
|
|
|
|
bool hid_svc_update_input_report(uint8_t* data, uint16_t len);
|
|
|
|
bool hid_svc_update_info(uint8_t* data, uint16_t len);
|