aboutsummaryrefslogtreecommitdiff
path: root/keyboards/atomic/keymaps/pvc/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/atomic/keymaps/pvc/keymap.c')
-rw-r--r--keyboards/atomic/keymaps/pvc/keymap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/atomic/keymaps/pvc/keymap.c b/keyboards/atomic/keymaps/pvc/keymap.c
index 4a7cc863e..2e78e64b1 100644
--- a/keyboards/atomic/keymaps/pvc/keymap.c
+++ b/keyboards/atomic/keymaps/pvc/keymap.c
@@ -345,14 +345,14 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
345 case MACRO_BREATH_SPEED_INC: 345 case MACRO_BREATH_SPEED_INC:
346 if (record->event.pressed) 346 if (record->event.pressed)
347 { 347 {
348 breathing_speed_inc(1); 348 breathing_period_inc();
349 } 349 }
350 break; 350 break;
351 351
352 case MACRO_BREATH_SPEED_DEC: 352 case MACRO_BREATH_SPEED_DEC:
353 if (record->event.pressed) 353 if (record->event.pressed)
354 { 354 {
355 breathing_speed_dec(1); 355 breathing_period_dec();
356 } 356 }
357 break; 357 break;
358 358
@@ -374,7 +374,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
374 if (record->event.pressed) 374 if (record->event.pressed)
375 { 375 {
376 layer_on(LAYER_UPPER); 376 layer_on(LAYER_UPPER);
377 breathing_speed_set(2); 377 breathing_period_set(2);
378 breathing_pulse(); 378 breathing_pulse();
379 update_tri_layer(LAYER_LOWER, LAYER_UPPER, LAYER_ADJUST); 379 update_tri_layer(LAYER_LOWER, LAYER_UPPER, LAYER_ADJUST);
380 } 380 }
@@ -389,7 +389,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
389 if (record->event.pressed) 389 if (record->event.pressed)
390 { 390 {
391 layer_on(LAYER_LOWER); 391 layer_on(LAYER_LOWER);
392 breathing_speed_set(2); 392 breathing_period_set(2);
393 breathing_pulse(); 393 breathing_pulse();
394 update_tri_layer(LAYER_LOWER, LAYER_UPPER, LAYER_ADJUST); 394 update_tri_layer(LAYER_LOWER, LAYER_UPPER, LAYER_ADJUST);
395 } 395 }
@@ -403,13 +403,13 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
403 case MACRO_FUNCTION: 403 case MACRO_FUNCTION:
404 if (record->event.pressed) 404 if (record->event.pressed)
405 { 405 {
406 breathing_speed_set(3); 406 breathing_period_set(3);
407 breathing_enable(); 407 breathing_enable();
408 layer_on(LAYER_FUNCTION); 408 layer_on(LAYER_FUNCTION);
409 } 409 }
410 else 410 else
411 { 411 {
412 breathing_speed_set(1); 412 breathing_period_set(1);
413 breathing_self_disable(); 413 breathing_self_disable();
414 layer_off(LAYER_FUNCTION); 414 layer_off(LAYER_FUNCTION);
415 } 415 }