diff --git a/right/src/action.h b/right/src/action.h index 6ff2c79..b3c165e 100644 --- a/right/src/action.h +++ b/right/src/action.h @@ -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; diff --git a/right/src/buspal/bootloader_config.h b/right/src/buspal/bootloader_config.h index 21251ad..468cea4 100644 --- a/right/src/buspal/bootloader_config.h +++ b/right/src/buspal/bootloader_config.h @@ -1,6 +1,6 @@ #ifndef __BOOTLOADER_CONFIG_H__ #define __BOOTLOADER_CONFIG_H__ -#define ENABLE_BUSPAL +//#define ENABLE_BUSPAL #endif