summaryrefslogtreecommitdiff
path: root/keyboard/planck/keymaps
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-08-29 11:54:38 -0400
committerJack Humbert <jack.humb@gmail.com>2015-08-29 11:54:38 -0400
commit91176d854b8c9e49e88d494ba02c8e9c54fec914 (patch)
treee21a68fbcd4e1d2c9d1b0d0d74d8ab47140d4847 /keyboard/planck/keymaps
parentd63c2e3995ae464c4266a7bd348ffb2f43cf7377 (diff)
speaker working, midi out
Diffstat (limited to 'keyboard/planck/keymaps')
-rw-r--r--keyboard/planck/keymaps/keymap_lock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboard/planck/keymaps/keymap_lock.c b/keyboard/planck/keymaps/keymap_lock.c
index 98a88eb396..4c4845963f 100644
--- a/keyboard/planck/keymaps/keymap_lock.c
+++ b/keyboard/planck/keymaps/keymap_lock.c
@@ -2,6 +2,7 @@
#include "backlight.h"
#include "action_layer.h"
#include "keymap_midi.h"
+#include "beeps.h"
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = { /* Qwerty */
@@ -58,15 +59,22 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
switch(id) {
case 0:
if (record->event.pressed) {
+ // play_note(440, 20);
// register_code(KC_RSFT);
backlight_set(BACKLIGHT_LEVELS);
default_layer_and(0);
default_layer_or((1<<5));
+ // note(0+12, 20);
+ // note(0+24, 20);
} else {
// unregister_code(KC_RSFT);
+ // stop_note();
backlight_set(0);
default_layer_and(0);
default_layer_or(0);
+ // note(0+24, 20);
+ // note(0, 20);
+ // play_note(4, 20);
}
break;
}