]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Update templates used for new_project.sh (#3558)
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>
Fri, 3 Aug 2018 17:00:06 +0000 (10:00 -0700)
committerDrashna Jaelre <drashna@live.com>
Fri, 3 Aug 2018 17:00:06 +0000 (10:00 -0700)
quantum/template/avr/config.h
quantum/template/avr/rules.mk
quantum/template/avr/template.h

index 6715b22cbcd34d101a02868e20d3b3f2f056cd2b..caa72af0c2f8960bd503e2e6a00d64d58a230ccb 100644 (file)
@@ -52,6 +52,14 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 // #define BACKLIGHT_BREATHING
 // #define BACKLIGHT_LEVELS 3
 
+// #define RGB_DI_PIN E2
+// #ifdef RGB_DI_PIN
+// #define RGBLIGHT_ANIMATIONS
+// #define RGBLED_NUM 16
+// #define RGBLIGHT_HUE_STEP 8
+// #define RGBLIGHT_SAT_STEP 8
+// #define RGBLIGHT_VAL_STEP 8
+// #endif
 
 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
 #define DEBOUNCING_DELAY 5
index d567544c724a3a0da1fdccd0b0dc4b154626364a..92f3a03a921a002fcf387ce6b3b505f8e3f7e3e9 100644 (file)
@@ -61,6 +61,7 @@ SLEEP_LED_ENABLE = no       # Breathing sleep LED during USB suspend
 # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
 NKRO_ENABLE = no            # USB Nkey Rollover
 BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality on B7 by default
+RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
 MIDI_ENABLE = no            # MIDI support (+2400 to 4200, depending on config)
 UNICODE_ENABLE = no         # Unicode
 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
index c3924ee71f2f37322aadb5e0bb84232289a447c7..031efc952910118d327379d2e494fdc828dbea2f 100644 (file)
 
 // This a shortcut to help you visually see your layout.
 // The following is an example using the Planck MIT layout
-// The first section contains all of the arguments
-// The second converts the arguments into a two-dimensional array
+// The first section contains all of the arguments representing the physical
+// layout of the board and position of the keys
+// The second converts the arguments into a two-dimensional array which 
+// represents the switch matrix. 
 #define LAYOUT( \
-    k00, k01, k02, \
-      k10,  k11   \
+    K00, K01, K02, \
+      K10,  K11   \
 ) \
 { \
-    { k00, k01,   k02 }, \
-    { k10, KC_NO, k11 }, \
+    { K00, K01,   K02 }, \
+    { K10, KC_NO, K11 }, \
 }
 
 #endif