diff options
Diffstat (limited to 'keyboard/preonic/keymaps/default/keymap.c')
| -rw-r--r-- | keyboard/preonic/keymaps/default/keymap.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/keyboard/preonic/keymaps/default/keymap.c b/keyboard/preonic/keymaps/default/keymap.c index 784670784..3da69c215 100644 --- a/keyboard/preonic/keymaps/default/keymap.c +++ b/keyboard/preonic/keymaps/default/keymap.c | |||
| @@ -59,11 +59,11 @@ const uint16_t PROGMEM fn_actions[] = { | |||
| 59 | }; | 59 | }; |
| 60 | 60 | ||
| 61 | float start_up[][2] = { | 61 | float start_up[][2] = { |
| 62 | {440.0*pow(2.0,(67)/12.0), 600}, | 62 | {440.0*pow(2.0,(67)/12.0), 4}, |
| 63 | {440.0*pow(2.0,(64)/12.0), 400}, | 63 | {440.0*pow(2.0,(64)/12.0), 8}, |
| 64 | {440.0*pow(2.0,(55)/12.0), 400}, | 64 | {440.0*pow(2.0,(55)/12.0), 8}, |
| 65 | {440.0*pow(2.0,(60)/12.0), 400}, | 65 | {440.0*pow(2.0,(60)/12.0), 8}, |
| 66 | {440.0*pow(2.0,(64)/12.0), 1000}, | 66 | {440.0*pow(2.0,(64)/12.0), 10}, |
| 67 | }; | 67 | }; |
| 68 | 68 | ||
| 69 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 69 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| @@ -76,8 +76,10 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | |||
| 76 | #ifdef BACKLIGHT_ENABLE | 76 | #ifdef BACKLIGHT_ENABLE |
| 77 | backlight_step(); | 77 | backlight_step(); |
| 78 | #endif | 78 | #endif |
| 79 | audio_toggle(); | ||
| 79 | } else { | 80 | } else { |
| 80 | unregister_code(KC_RSFT); | 81 | unregister_code(KC_RSFT); |
| 82 | play_notes(&start_up, 5, false); | ||
| 81 | } | 83 | } |
| 82 | break; | 84 | break; |
| 83 | } | 85 | } |
