diff options
author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-08-03 10:00:06 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-08-03 10:00:06 -0700 |
commit | ec26684491dc23cbc6ad186e0fe2003874febd36 (patch) | |
tree | c14482ddb211cf9dc3ac80e7064e456a0dc4728a | |
parent | ac46378ac62c4365b5b67e306522df77027355ea (diff) | |
download | qmk_firmware-ec26684491dc23cbc6ad186e0fe2003874febd36.tar.gz qmk_firmware-ec26684491dc23cbc6ad186e0fe2003874febd36.zip |
Update templates used for new_project.sh (#3558)
-rw-r--r-- | quantum/template/avr/config.h | 8 | ||||
-rw-r--r-- | quantum/template/avr/rules.mk | 1 | ||||
-rw-r--r-- | quantum/template/avr/template.h | 14 |
3 files changed, 17 insertions, 6 deletions
diff --git a/quantum/template/avr/config.h b/quantum/template/avr/config.h index 6715b22cb..caa72af0c 100644 --- a/quantum/template/avr/config.h +++ b/quantum/template/avr/config.h | |||
@@ -52,6 +52,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
52 | // #define BACKLIGHT_BREATHING | 52 | // #define BACKLIGHT_BREATHING |
53 | // #define BACKLIGHT_LEVELS 3 | 53 | // #define BACKLIGHT_LEVELS 3 |
54 | 54 | ||
55 | // #define RGB_DI_PIN E2 | ||
56 | // #ifdef RGB_DI_PIN | ||
57 | // #define RGBLIGHT_ANIMATIONS | ||
58 | // #define RGBLED_NUM 16 | ||
59 | // #define RGBLIGHT_HUE_STEP 8 | ||
60 | // #define RGBLIGHT_SAT_STEP 8 | ||
61 | // #define RGBLIGHT_VAL_STEP 8 | ||
62 | // #endif | ||
55 | 63 | ||
56 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 64 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
57 | #define DEBOUNCING_DELAY 5 | 65 | #define DEBOUNCING_DELAY 5 |
diff --git a/quantum/template/avr/rules.mk b/quantum/template/avr/rules.mk index d567544c7..92f3a03a9 100644 --- a/quantum/template/avr/rules.mk +++ b/quantum/template/avr/rules.mk | |||
@@ -61,6 +61,7 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
61 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 61 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
62 | NKRO_ENABLE = no # USB Nkey Rollover | 62 | NKRO_ENABLE = no # USB Nkey Rollover |
63 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | 63 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default |
64 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
64 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | 65 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) |
65 | UNICODE_ENABLE = no # Unicode | 66 | UNICODE_ENABLE = no # Unicode |
66 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 67 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
diff --git a/quantum/template/avr/template.h b/quantum/template/avr/template.h index c3924ee71..031efc952 100644 --- a/quantum/template/avr/template.h +++ b/quantum/template/avr/template.h | |||
@@ -20,15 +20,17 @@ | |||
20 | 20 | ||
21 | // This a shortcut to help you visually see your layout. | 21 | // This a shortcut to help you visually see your layout. |
22 | // The following is an example using the Planck MIT layout | 22 | // The following is an example using the Planck MIT layout |
23 | // The first section contains all of the arguments | 23 | // The first section contains all of the arguments representing the physical |
24 | // The second converts the arguments into a two-dimensional array | 24 | // layout of the board and position of the keys |
25 | // The second converts the arguments into a two-dimensional array which | ||
26 | // represents the switch matrix. | ||
25 | #define LAYOUT( \ | 27 | #define LAYOUT( \ |
26 | k00, k01, k02, \ | 28 | K00, K01, K02, \ |
27 | k10, k11 \ | 29 | K10, K11 \ |
28 | ) \ | 30 | ) \ |
29 | { \ | 31 | { \ |
30 | { k00, k01, k02 }, \ | 32 | { K00, K01, K02 }, \ |
31 | { k10, KC_NO, k11 }, \ | 33 | { K10, KC_NO, K11 }, \ |
32 | } | 34 | } |
33 | 35 | ||
34 | #endif | 36 | #endif |