diff options
| author | IBNobody <IBNobody@users.noreply.github.com> | 2016-05-03 12:56:40 -0500 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2016-05-03 13:56:40 -0400 |
| commit | 83e1cc241e3aabd69f6cdcd2581477d4b85bb8d3 (patch) | |
| tree | fd0c9714f93e1afec478ddc42a86a6823136ad5f /keyboard/planck | |
| parent | 2c070163ffffffde546fb00acaa2fbb96b93da64 (diff) | |
| download | qmk_firmware-83e1cc241e3aabd69f6cdcd2581477d4b85bb8d3.tar.gz qmk_firmware-83e1cc241e3aabd69f6cdcd2581477d4b85bb8d3.zip | |
Clarified audio.c (#302)
* Updated personal layouts
* tweaked personal
* Nightly - Audio Cleanup
Refactored the LUTs. Abstracted some of the registers out of audio to
use more functional names. Split audio into audio and audio_pwm. WIP
* nightly - collapsed code
* Added check for note playing to LEDs
Diffstat (limited to 'keyboard/planck')
| -rw-r--r-- | keyboard/planck/keymaps/pvc/config.h | 2 | ||||
| -rw-r--r-- | keyboard/planck/keymaps/pvc/keymap.c | 4 | ||||
| -rw-r--r-- | keyboard/planck/keymaps/pvc/makefile.mk | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/keyboard/planck/keymaps/pvc/config.h b/keyboard/planck/keymaps/pvc/config.h index 7d64f0977..d435cc795 100644 --- a/keyboard/planck/keymaps/pvc/config.h +++ b/keyboard/planck/keymaps/pvc/config.h | |||
| @@ -73,7 +73,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 73 | */ | 73 | */ |
| 74 | 74 | ||
| 75 | /* disable debug print */ | 75 | /* disable debug print */ |
| 76 | //#define NO_DEBUG | 76 | #define NO_DEBUG |
| 77 | 77 | ||
| 78 | /* disable print */ | 78 | /* disable print */ |
| 79 | //#define NO_PRINT | 79 | //#define NO_PRINT |
diff --git a/keyboard/planck/keymaps/pvc/keymap.c b/keyboard/planck/keymaps/pvc/keymap.c index 27850b215..830b00a4c 100644 --- a/keyboard/planck/keymaps/pvc/keymap.c +++ b/keyboard/planck/keymaps/pvc/keymap.c | |||
| @@ -96,7 +96,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 96 | 96 | ||
| 97 | [LAYER_QWERTY] = { /* QWERTY */ | 97 | [LAYER_QWERTY] = { /* QWERTY */ |
| 98 | { KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC }, | 98 | { KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC }, |
| 99 | { KC_BSPC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT }, | 99 | { KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT }, |
| 100 | { KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT }, | 100 | { KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT }, |
| 101 | { KC_LCTL, KC_LGUI, M_FUNCT, KC_LALT, M_RAISE, KC_SPC, KC_SPC, M_LOWER, KC_UP, KC_DOWN, KC_LEFT, KC_RGHT }, | 101 | { KC_LCTL, KC_LGUI, M_FUNCT, KC_LALT, M_RAISE, KC_SPC, KC_SPC, M_LOWER, KC_UP, KC_DOWN, KC_LEFT, KC_RGHT }, |
| 102 | }, | 102 | }, |
| @@ -115,7 +115,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 115 | 115 | ||
| 116 | [LAYER_COLEMAK] = { /* COLEMAK */ | 116 | [LAYER_COLEMAK] = { /* COLEMAK */ |
| 117 | { KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_ESC }, | 117 | { KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_ESC }, |
| 118 | { KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT }, | 118 | { KC_BSPC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT }, |
| 119 | { KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT }, | 119 | { KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT }, |
| 120 | { KC_LCTL, KC_LGUI, M_FUNCT, KC_LALT, M_RAISE, KC_SPC, KC_SPC, M_LOWER, KC_UP, KC_DOWN, KC_LEFT, KC_RGHT }, | 120 | { KC_LCTL, KC_LGUI, M_FUNCT, KC_LALT, M_RAISE, KC_SPC, KC_SPC, M_LOWER, KC_UP, KC_DOWN, KC_LEFT, KC_RGHT }, |
| 121 | }, | 121 | }, |
diff --git a/keyboard/planck/keymaps/pvc/makefile.mk b/keyboard/planck/keymaps/pvc/makefile.mk index 4b9e34c53..b3f1b9e51 100644 --- a/keyboard/planck/keymaps/pvc/makefile.mk +++ b/keyboard/planck/keymaps/pvc/makefile.mk | |||
| @@ -4,6 +4,7 @@ EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | |||
| 4 | CONSOLE_ENABLE = yes # Console for debug(+400) | 4 | CONSOLE_ENABLE = yes # Console for debug(+400) |
| 5 | COMMAND_ENABLE = yes # Commands for debug and configuration | 5 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 6 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 6 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 7 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 7 | MIDI_ENABLE = no # MIDI controls | 8 | MIDI_ENABLE = no # MIDI controls |
| 8 | AUDIO_ENABLE = no # Audio output on port C6 | 9 | AUDIO_ENABLE = no # Audio output on port C6 |
| 9 | UNICODE_ENABLE = no # Unicode | 10 | UNICODE_ENABLE = no # Unicode |
| @@ -13,4 +14,4 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with | |||
| 13 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 14 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 14 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 15 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 15 | 16 | ||
| 16 | CONFIG_H = keymaps/$(KEYMAP)/config.h | 17 | CONFIG_H = keymaps/$(KEYMAP)/config.h \ No newline at end of file |
