format code according to conventions [skip ci]
parent
0d189582c1
commit
f9c53ca71a
|
@ -22,22 +22,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include "keycode.h"
|
#include "keycode.h"
|
||||||
|
|
||||||
/* HID report IDs */
|
/* HID report IDs */
|
||||||
enum hid_report_ids {
|
enum hid_report_ids { REPORT_ID_KEYBOARD = 1, REPORT_ID_MOUSE, REPORT_ID_SYSTEM, REPORT_ID_CONSUMER, REPORT_ID_NKRO };
|
||||||
REPORT_ID_KEYBOARD = 1,
|
|
||||||
REPORT_ID_MOUSE,
|
|
||||||
REPORT_ID_SYSTEM,
|
|
||||||
REPORT_ID_CONSUMER,
|
|
||||||
REPORT_ID_NKRO
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Mouse buttons */
|
/* Mouse buttons */
|
||||||
enum 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) };
|
||||||
MOUSE_BTN1 = (1 << 0),
|
|
||||||
MOUSE_BTN2 = (1 << 1),
|
|
||||||
MOUSE_BTN3 = (1 << 2),
|
|
||||||
MOUSE_BTN4 = (1 << 3),
|
|
||||||
MOUSE_BTN5 = (1 << 4)
|
|
||||||
};
|
|
||||||
|
|
||||||
// clang-format off
|
// clang-format off
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue