summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps
diff options
context:
space:
mode:
authorBrian Choromanski <BrianChoromanski@gmail.com>2018-03-09 13:31:42 -0500
committerJack Humbert <jack.humb@gmail.com>2018-03-09 13:31:42 -0500
commit8d6eadf26159dfe3a63d0bda15bdc68cab21ee36 (patch)
tree4820f3b2d097eaaede41ac1e0262882ec3eae412 /keyboards/planck/keymaps
parent0e6e059ef3cd88692348db1f6ef3de2b0349bfe6 (diff)
Patched some keyboards that won't compile (#2453)
Diffstat (limited to 'keyboards/planck/keymaps')
-rw-r--r--keyboards/planck/keymaps/aviator/config.h1
-rw-r--r--keyboards/planck/keymaps/aviator/keymap.c3
-rw-r--r--keyboards/planck/keymaps/khord/keymap.c2
-rw-r--r--keyboards/planck/keymaps/pvc/keymap.c2
-rw-r--r--keyboards/planck/keymaps/steno/rules.mk1
-rwxr-xr-xkeyboards/planck/keymaps/zrichard/keymap.c2
6 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/planck/keymaps/aviator/config.h b/keyboards/planck/keymaps/aviator/config.h
index 6bc53cf57b..81232367db 100644
--- a/keyboards/planck/keymaps/aviator/config.h
+++ b/keyboards/planck/keymaps/aviator/config.h
@@ -4,6 +4,7 @@
#include "config_common.h"
#define BACKLIGHT_BREATHING
+#define BREATHING_PERIOD 3
#ifdef AUDIO_ENABLE
#define STARTUP_SONG SONG(PLANCK_SOUND)
diff --git a/keyboards/planck/keymaps/aviator/keymap.c b/keyboards/planck/keymaps/aviator/keymap.c
index 97d2bd0637..8ce9a8e174 100644
--- a/keyboards/planck/keymaps/aviator/keymap.c
+++ b/keyboards/planck/keymaps/aviator/keymap.c
@@ -134,7 +134,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
set_single_persistent_default_layer(_DATA);
#ifdef BACKLIGHT_ENABLE
- breathing_speed_set(3);
breathing_enable();
#endif
}
@@ -146,7 +145,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
uint8_t default_layer = biton32(default_layer_state);
if (default_layer == _QWERTY) {
#ifdef BACKLIGHT_ENABLE
- breathing_speed_set(3);
breathing_enable();
#endif
}
@@ -167,7 +165,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
uint8_t default_layer = biton32(default_layer_state);
if (default_layer == _QWERTY) {
#ifdef BACKLIGHT_ENABLE
- breathing_speed_set(3);
breathing_enable();
#endif
}
diff --git a/keyboards/planck/keymaps/khord/keymap.c b/keyboards/planck/keymaps/khord/keymap.c
index c515a0d364..6429369099 100644
--- a/keyboards/planck/keymaps/khord/keymap.c
+++ b/keyboards/planck/keymaps/khord/keymap.c
@@ -138,7 +138,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
break;
case MACRO_BREATH_DEFAULT:
if (record->event.pressed) {
- breathing_defaults();
+ breathing_period_default();
}
break;
}
diff --git a/keyboards/planck/keymaps/pvc/keymap.c b/keyboards/planck/keymaps/pvc/keymap.c
index 820018af6d..a0981573ab 100644
--- a/keyboards/planck/keymaps/pvc/keymap.c
+++ b/keyboards/planck/keymaps/pvc/keymap.c
@@ -337,7 +337,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
case MACRO_BREATH_DEFAULT:
if (record->event.pressed)
{
- breathing_defaults();
+ breathing_period_default();
}
break;
diff --git a/keyboards/planck/keymaps/steno/rules.mk b/keyboards/planck/keymaps/steno/rules.mk
index 8bfc69499b..634a1c8878 100644
--- a/keyboards/planck/keymaps/steno/rules.mk
+++ b/keyboards/planck/keymaps/steno/rules.mk
@@ -2,6 +2,7 @@ ifndef QUANTUM_DIR
include ../../../../Makefile
endif
+EXTRAKEY_ENABLE = no
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
STENO_ENABLE = yes # Additional protocols for Stenography(+1700), requires VIRTSER
AUDIO_ENABLE = no # Audio output on port C6
diff --git a/keyboards/planck/keymaps/zrichard/keymap.c b/keyboards/planck/keymaps/zrichard/keymap.c
index cf4478cee0..bb4e19fa08 100755
--- a/keyboards/planck/keymaps/zrichard/keymap.c
+++ b/keyboards/planck/keymaps/zrichard/keymap.c
@@ -346,7 +346,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
case MACRO_BREATH_DEFAULT:
if (record->event.pressed)
{
- breathing_defaults();
+ breathing_period_default();
}
break;