diff options
Diffstat (limited to 'keyboards/amj96/config.h')
-rw-r--r-- | keyboards/amj96/config.h | 88 |
1 files changed, 33 insertions, 55 deletions
diff --git a/keyboards/amj96/config.h b/keyboards/amj96/config.h index 4a0eef0d9..5de56683a 100644 --- a/keyboards/amj96/config.h +++ b/keyboards/amj96/config.h | |||
@@ -39,20 +39,50 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) |
40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) |
41 | * | 41 | * |
42 | */ | 42 | */ |
43 | #define UNUSED_PINS | 43 | #define UNUSED_PINS |
44 | 44 | ||
45 | /* COL2ROW, ROW2COL*/ | 45 | /* COL2ROW, ROW2COL*/ |
46 | #define DIODE_DIRECTION COL2ROW | 46 | #define DIODE_DIRECTION COL2ROW |
47 | 47 | ||
48 | //#define BACKLIGHT_PIN B7 | ||
49 | //#define BACKLIGHT_LEVELS 3 | ||
50 | //#define BACKLIGHT_BREATHING | ||
51 | |||
52 | #define RGB_DI_PIN D3 | ||
53 | #ifdef RGB_DI_PIN | ||
54 | # define RGBLED_NUM 16 | ||
55 | //# define RGBLIGHT_HUE_STEP 8 | ||
56 | //# define RGBLIGHT_SAT_STEP 8 | ||
57 | //# define RGBLIGHT_VAL_STEP 8 | ||
58 | //# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
59 | //# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
60 | /*== all animations enable ==*/ | ||
61 | # define RGBLIGHT_ANIMATIONS | ||
62 | /*== or choose animations ==*/ | ||
63 | //# define RGBLIGHT_EFFECT_BREATHING | ||
64 | //# define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
65 | //# define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
66 | //# define RGBLIGHT_EFFECT_SNAKE | ||
67 | //# define RGBLIGHT_EFFECT_KNIGHT | ||
68 | //# define RGBLIGHT_EFFECT_CHRISTMAS | ||
69 | //# define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
70 | //# define RGBLIGHT_EFFECT_RGB_TEST | ||
71 | //# define RGBLIGHT_EFFECT_ALTERNATING | ||
72 | /*== customize breathing effect ==*/ | ||
73 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
74 | //# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
75 | /*==== use exp() and sin() ====*/ | ||
76 | //# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
77 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
78 | #endif | ||
79 | |||
48 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 80 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
49 | #define DEBOUNCE 5 | 81 | #define DEBOUNCE 5 |
50 | 82 | ||
51 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | 83 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
52 | //#define MATRIX_HAS_GHOST | 84 | //#define MATRIX_HAS_GHOST |
53 | 85 | ||
54 | /* number of backlight levels */ | ||
55 | |||
56 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 86 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
57 | #define LOCKING_SUPPORT_ENABLE | 87 | #define LOCKING_SUPPORT_ENABLE |
58 | /* Locking resynchronize hack */ | 88 | /* Locking resynchronize hack */ |
@@ -85,54 +115,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
85 | //#define FORCE_NKRO | 115 | //#define FORCE_NKRO |
86 | 116 | ||
87 | /* | 117 | /* |
88 | * Magic Key Options | ||
89 | * | ||
90 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
91 | * the keyboard. They are best used in combination with the HID Listen program, | ||
92 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
93 | * | ||
94 | * The options below allow the magic key functionality to be changed. This is | ||
95 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
96 | * | ||
97 | */ | ||
98 | |||
99 | /* control how magic key switches layers */ | ||
100 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
101 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
102 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
103 | |||
104 | /* override magic key keymap */ | ||
105 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
106 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
107 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
108 | //#define MAGIC_KEY_HELP1 H | ||
109 | //#define MAGIC_KEY_HELP2 SLASH | ||
110 | //#define MAGIC_KEY_DEBUG D | ||
111 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
112 | //#define MAGIC_KEY_DEBUG_KBD K | ||
113 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
114 | //#define MAGIC_KEY_VERSION V | ||
115 | //#define MAGIC_KEY_STATUS S | ||
116 | //#define MAGIC_KEY_CONSOLE C | ||
117 | //#define MAGIC_KEY_LAYER0_ALT1 ESC | ||
118 | //#define MAGIC_KEY_LAYER0_ALT2 GRAVE | ||
119 | //#define MAGIC_KEY_LAYER0 0 | ||
120 | //#define MAGIC_KEY_LAYER1 1 | ||
121 | //#define MAGIC_KEY_LAYER2 2 | ||
122 | //#define MAGIC_KEY_LAYER3 3 | ||
123 | //#define MAGIC_KEY_LAYER4 4 | ||
124 | //#define MAGIC_KEY_LAYER5 5 | ||
125 | //#define MAGIC_KEY_LAYER6 6 | ||
126 | //#define MAGIC_KEY_LAYER7 7 | ||
127 | //#define MAGIC_KEY_LAYER8 8 | ||
128 | //#define MAGIC_KEY_LAYER9 9 | ||
129 | //#define MAGIC_KEY_BOOTLOADER PAUSE | ||
130 | //#define MAGIC_KEY_LOCK CAPS | ||
131 | //#define MAGIC_KEY_EEPROM E | ||
132 | //#define MAGIC_KEY_NKRO N | ||
133 | //#define MAGIC_KEY_SLEEP_LED Z | ||
134 | |||
135 | /* | ||
136 | * Feature disable options | 118 | * Feature disable options |
137 | * These options are also useful to firmware size reduction. | 119 | * These options are also useful to firmware size reduction. |
138 | */ | 120 | */ |
@@ -149,7 +131,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
149 | //#define NO_ACTION_ONESHOT | 131 | //#define NO_ACTION_ONESHOT |
150 | #define NO_ACTION_MACRO | 132 | #define NO_ACTION_MACRO |
151 | #define NO_ACTION_FUNCTION | 133 | #define NO_ACTION_FUNCTION |
152 | |||
153 | #define RGBLIGHT_ANIMATIONS | ||
154 | #define RGBLED_NUM 16 | ||
155 | #define RGB_DI_PIN D3 | ||