#define USE_LEGACY_KEYMAP | #define USE_LEGACY_KEYMAP | ||||
/* mouse keys */ | |||||
#ifdef MOUSEKEY_ENABLE | |||||
# define MOUSEKEY_DELAY_TIME 192 | |||||
#endif | |||||
/* ADB port setting */ | /* ADB port setting */ | ||||
#define ADB_PORT PORTD | #define ADB_PORT PORTD | ||||
#define ADB_PIN PIND | #define ADB_PIN PIND |
) | ) | ||||
/* mouse keys */ | |||||
#ifdef MOUSEKEY_ENABLE | |||||
# define MOUSEKEY_DELAY_TIME 255 | |||||
#endif | |||||
/* Asynchronous USART | /* Asynchronous USART | ||||
* 8-data bit, non parity, 1-stop bit, no flow control | * 8-data bit, non parity, 1-stop bit, no flow control | ||||
*/ | */ |
) | ) | ||||
/* mouse keys */ | |||||
#ifdef MOUSEKEY_ENABLE | |||||
# define MOUSEKEY_DELAY_TIME 255 | |||||
#endif | |||||
#ifdef PS2_USE_USART | #ifdef PS2_USE_USART | ||||
#if defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__) | #if defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__) | ||||
/* XCK for clock line and RXD for data line */ | /* XCK for clock line and RXD for data line */ |
#define LAYER_SEND_FN_TERM 300 | #define LAYER_SEND_FN_TERM 300 | ||||
/* mouse keys */ | |||||
#ifdef MOUSEKEY_ENABLE | |||||
# define MOUSEKEY_DELAY_TIME 192 | |||||
#endif | |||||
#endif | #endif |
/* key combination for command */ | /* key combination for command */ | ||||
#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) | #define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) | ||||
/* mouse keys */ | |||||
#ifdef MOUSEKEY_ENABLE | |||||
# define MOUSEKEY_DELAY_TIME 255 | |||||
#endif | |||||
/* pins for Software UART */ | /* pins for Software UART */ | ||||
#define SUART_IN_PIN PINC | #define SUART_IN_PIN PINC | ||||
#define SUART_IN_BIT 5 | #define SUART_IN_BIT 5 |
/* key combination for command */ | /* key combination for command */ | ||||
#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) | #define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) | ||||
/* mouse keys */ | |||||
#ifdef MOUSEKEY_ENABLE | |||||
# define MOUSEKEY_DELAY_TIME 100 | |||||
#endif | |||||
#endif | #endif |