aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/pvc/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/pvc/keymap.c')
-rw-r--r--keyboards/planck/keymaps/pvc/keymap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/planck/keymaps/pvc/keymap.c b/keyboards/planck/keymaps/pvc/keymap.c
index 60f6d925a..820018af6 100644
--- a/keyboards/planck/keymaps/pvc/keymap.c
+++ b/keyboards/planck/keymaps/pvc/keymap.c
@@ -323,14 +323,14 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
323 case MACRO_BREATH_SPEED_INC: 323 case MACRO_BREATH_SPEED_INC:
324 if (record->event.pressed) 324 if (record->event.pressed)
325 { 325 {
326 breathing_speed_inc(1); 326 breathing_period_inc();
327 } 327 }
328 break; 328 break;
329 329
330 case MACRO_BREATH_SPEED_DEC: 330 case MACRO_BREATH_SPEED_DEC:
331 if (record->event.pressed) 331 if (record->event.pressed)
332 { 332 {
333 breathing_speed_dec(1); 333 breathing_period_dec();
334 } 334 }
335 break; 335 break;
336 336
@@ -352,7 +352,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
352 if (record->event.pressed) 352 if (record->event.pressed)
353 { 353 {
354 layer_on(LAYER_UPPER); 354 layer_on(LAYER_UPPER);
355 breathing_speed_set(2); 355 breathing_period_set(2);
356 breathing_pulse(); 356 breathing_pulse();
357 update_tri_layer(LAYER_LOWER, LAYER_UPPER, LAYER_ADJUST); 357 update_tri_layer(LAYER_LOWER, LAYER_UPPER, LAYER_ADJUST);
358 } 358 }
@@ -367,7 +367,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
367 if (record->event.pressed) 367 if (record->event.pressed)
368 { 368 {
369 layer_on(LAYER_LOWER); 369 layer_on(LAYER_LOWER);
370 breathing_speed_set(2); 370 breathing_period_set(2);
371 breathing_pulse(); 371 breathing_pulse();
372 update_tri_layer(LAYER_LOWER, LAYER_UPPER, LAYER_ADJUST); 372 update_tri_layer(LAYER_LOWER, LAYER_UPPER, LAYER_ADJUST);
373 } 373 }
@@ -381,13 +381,13 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
381 case MACRO_FUNCTION: 381 case MACRO_FUNCTION:
382 if (record->event.pressed) 382 if (record->event.pressed)
383 { 383 {
384 breathing_speed_set(3); 384 breathing_period_set(3);
385 breathing_enable(); 385 breathing_enable();
386 layer_on(LAYER_FUNCTION); 386 layer_on(LAYER_FUNCTION);
387 } 387 }
388 else 388 else
389 { 389 {
390 breathing_speed_set(1); 390 breathing_period_set(1);
391 breathing_self_disable(); 391 breathing_self_disable();
392 layer_off(LAYER_FUNCTION); 392 layer_off(LAYER_FUNCTION);
393 } 393 }