//#define NO_ACTION_KEYMAP | //#define NO_ACTION_KEYMAP | ||||
//#define NO_ACTION_OVERLAY | //#define NO_ACTION_OVERLAY | ||||
//#define NO_ACTION_TAPPING | //#define NO_ACTION_TAPPING | ||||
//#define NO_ACTION_ONESHOT | |||||
//#define NO_ACTION_MACRO | //#define NO_ACTION_MACRO | ||||
//#define NO_ACTION_FUNCTION | //#define NO_ACTION_FUNCTION | ||||
# Build Options | # Build Options | ||||
# comment out to disable the options. | # comment out to disable the options. | ||||
# | # | ||||
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | |||||
MOUSEKEY_ENABLE = yes # Mouse keys | MOUSEKEY_ENABLE = yes # Mouse keys | ||||
EXTRAKEY_ENABLE = yes # Audio control and System control | EXTRAKEY_ENABLE = yes # Audio control and System control | ||||
CONSOLE_ENABLE = yes # Console for debug | |||||
COMMAND_ENABLE = yes # Commands for debug and configuration | |||||
#NKRO_ENABLE = yes # USB Nkey Rollover | #NKRO_ENABLE = yes # USB Nkey Rollover | ||||
# Search Path | # Search Path | ||||
VPATH = $(TARGET_DIR) | |||||
VPATH += $(TARGET_DIR) | |||||
VPATH += $(TOP_DIR) | VPATH += $(TOP_DIR) | ||||
#include $(TOP_DIR)/protocol/iwrap.mk | #include $(TOP_DIR)/protocol/iwrap.mk |
MOUSEKEY_ENABLE = yes # Mouse keys | MOUSEKEY_ENABLE = yes # Mouse keys | ||||
EXTRAKEY_ENABLE = yes # Audio control and System control | EXTRAKEY_ENABLE = yes # Audio control and System control | ||||
CONSOLE_ENABLE = yes # Console for debug | CONSOLE_ENABLE = yes # Console for debug | ||||
COMMAND_ENABLE = yes # Commands for debug and configuration | |||||
#NKRO_ENABLE = yes # USB Nkey Rollover | #NKRO_ENABLE = yes # USB Nkey Rollover | ||||
# Build Options | # Build Options | ||||
# comment out to disable the options. | # comment out to disable the options. | ||||
# | |||||
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | |||||
MOUSEKEY_ENABLE = yes # Mouse keys | MOUSEKEY_ENABLE = yes # Mouse keys | ||||
#PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support | |||||
EXTRAKEY_ENABLE = yes # Audio control and System control | EXTRAKEY_ENABLE = yes # Audio control and System control | ||||
CONSOLE_ENABLE = yes # Console for debug | |||||
COMMAND_ENABLE = yes # Commands for debug and configuration | |||||
NKRO_ENABLE = yes # USB Nkey Rollover | NKRO_ENABLE = yes # USB Nkey Rollover | ||||
# Search Path | # Search Path | ||||
VPATH = $(TARGET_DIR) | |||||
VPATH = $(TOP_DIR) | |||||
VPATH += $(TARGET_DIR) | |||||
VPATH += $(TOP_DIR) | |||||
include $(TOP_DIR)/protocol/pjrc.mk | include $(TOP_DIR)/protocol/pjrc.mk | ||||
include $(TOP_DIR)/common.mk | include $(TOP_DIR)/common.mk |
# Build Options | # Build Options | ||||
# comment out to disable the options. | # comment out to disable the options. | ||||
# | # | ||||
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | |||||
MOUSEKEY_ENABLE = yes # Mouse keys | MOUSEKEY_ENABLE = yes # Mouse keys | ||||
EXTRAKEY_ENABLE = yes # Audio control and System control | EXTRAKEY_ENABLE = yes # Audio control and System control | ||||
CONSOLE_ENABLE = yes # Console for debug | |||||
COMMAND_ENABLE = yes # Commands for debug and configuration | |||||
#NKRO_ENABLE = yes # USB Nkey Rollover | #NKRO_ENABLE = yes # USB Nkey Rollover | ||||
# Search Path | # Search Path | ||||
VPATH = $(TARGET_DIR) | |||||
VPATH += $(TARGET_DIR) | |||||
VPATH += $(TOP_DIR) | VPATH += $(TOP_DIR) | ||||
include $(TOP_DIR)/protocol/vusb.mk | include $(TOP_DIR)/protocol/vusb.mk |
/* tap count needed for toggling a feature */ | /* tap count needed for toggling a feature */ | ||||
#define TAPPING_TOGGLE 5 | #define TAPPING_TOGGLE 5 | ||||
/* PS/2 mouse */ | |||||
#ifdef PS2_MOUSE_ENABLE | |||||
/* | /* | ||||
# define PS2_CLOCK_PORT PORTF | |||||
# define PS2_CLOCK_PIN PINF | |||||
# define PS2_CLOCK_DDR DDRF | |||||
# define PS2_CLOCK_BIT 0 | |||||
# define PS2_DATA_PORT PORTF | |||||
# define PS2_DATA_PIN PINF | |||||
# define PS2_DATA_DDR DDRF | |||||
# define PS2_DATA_BIT 1 | |||||
*/ | |||||
#endif | |||||
* Feature disable options | |||||
* These options are also useful to firmware size reduction. | |||||
*/ | |||||
/* disable debug print */ | |||||
//#define NO_DEBUG | |||||
/* disable print */ | |||||
//#define NO_PRINT | |||||
/* disable action features */ | |||||
//#define NO_ACTION_KEYMAP | |||||
//#define NO_ACTION_OVERLAY | |||||
//#define NO_ACTION_TAPPING | |||||
//#define NO_ACTION_ONESHOT | |||||
//#define NO_ACTION_MACRO | |||||
//#define NO_ACTION_FUNCTION | |||||
#endif | #endif |