mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-26 19:18:03 +06:00
Fix formatting for report.h (#8512)
This commit is contained in:
parent
675b153525
commit
f4799481cd
@ -21,13 +21,25 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "keycode.h"
|
#include "keycode.h"
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
|
|
||||||
/* HID report IDs */
|
/* HID report IDs */
|
||||||
enum hid_report_ids { REPORT_ID_KEYBOARD = 1, REPORT_ID_MOUSE, REPORT_ID_SYSTEM, REPORT_ID_CONSUMER, REPORT_ID_NKRO };
|
enum hid_report_ids {
|
||||||
|
REPORT_ID_KEYBOARD = 1,
|
||||||
|
REPORT_ID_MOUSE,
|
||||||
|
REPORT_ID_SYSTEM,
|
||||||
|
REPORT_ID_CONSUMER,
|
||||||
|
REPORT_ID_NKRO
|
||||||
|
};
|
||||||
|
|
||||||
/* Mouse buttons */
|
/* Mouse buttons */
|
||||||
enum mouse_buttons { MOUSE_BTN1 = (1 << 0), MOUSE_BTN2 = (1 << 1), MOUSE_BTN3 = (1 << 2), MOUSE_BTN4 = (1 << 3), MOUSE_BTN5 = (1 << 4) };
|
enum mouse_buttons {
|
||||||
|
MOUSE_BTN1 = (1 << 0),
|
||||||
// clang-format off
|
MOUSE_BTN2 = (1 << 1),
|
||||||
|
MOUSE_BTN3 = (1 << 2),
|
||||||
|
MOUSE_BTN4 = (1 << 3),
|
||||||
|
MOUSE_BTN5 = (1 << 4)
|
||||||
|
};
|
||||||
|
|
||||||
/* Consumer Page (0x0C)
|
/* Consumer Page (0x0C)
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user