Add test actions.

This commit is contained in:
László Monda
2017-04-28 16:24:19 +02:00
parent f46832d840
commit aaaeab0498
2 changed files with 13 additions and 1 deletions

View File

@@ -49,6 +49,15 @@ enum {
MOUSE_SCROLL_RIGHT = (1 << 3),
};
typedef enum {
TestAction_DisableUsb,
TestAction_DisableI2c,
TestAction_DisableKeyMatrixScan,
TestAction_DisableLedSdb,
TestAction_DisableLedFetPwm,
TestAction_DisableLedDriverPwm,
} test_action_t;
#define MOUSE_WHEEL_SPEED 1
#define MOUSE_WHEEL_DIVISOR 4
@@ -79,6 +88,9 @@ typedef struct {
struct {
uint16_t macroId;
} __attribute__ ((packed)) playMacro;
struct {
test_action_t testAction;
} __attribute__ ((packed)) test;
};
} __attribute__ ((packed)) key_action_t;

View File

@@ -1,6 +1,6 @@
#ifndef __BOOTLOADER_CONFIG_H__
#define __BOOTLOADER_CONFIG_H__
#define ENABLE_BUSPAL
//#define ENABLE_BUSPAL
#endif