aboutsummaryrefslogtreecommitdiffstats
path: root/keymap
diff options
context:
space:
mode:
Diffstat (limited to 'keymap')
-rw-r--r--keymap/0xedd1e/config.h3
-rw-r--r--keymap/0xedd1e/keymap.c8
2 files changed, 4 insertions, 7 deletions
diff --git a/keymap/0xedd1e/config.h b/keymap/0xedd1e/config.h
index 6fa31cc..9020d2b 100644
--- a/keymap/0xedd1e/config.h
+++ b/keymap/0xedd1e/config.h
@@ -14,9 +14,6 @@
* MIDI options
*/
-/* Prevent use of disabled MIDI features in the keymap */
-//#define MIDI_ENABLE_STRICT 1
-
/* enable basic MIDI features:
- MIDI notes can be sent when in Music mode is on
*/
diff --git a/keymap/0xedd1e/keymap.c b/keymap/0xedd1e/keymap.c
index 302779e..ddbbcf2 100644
--- a/keymap/0xedd1e/keymap.c
+++ b/keymap/0xedd1e/keymap.c
@@ -123,11 +123,10 @@ layer_state_t layer_state_set_user(layer_state_t state) {
}
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- /*
switch (keycode) {
case QWERTY:
if (record->event.pressed) {
- print("mode just switched to qwerty and this is a huge string\n");
+ print("Base layer set to: QWERTY\n");
set_single_persistent_default_layer(_QWERTY);
}
return false;
@@ -150,7 +149,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return false;
break;
}
- */
+
return true;
}
@@ -160,7 +159,7 @@ uint16_t muse_counter = 0;
uint8_t muse_offset = 70;
uint16_t muse_tempo = 50;
-void encoder_update(bool clockwise) {
+bool encoder_update(bool clockwise) {
if (muse_mode) {
if (IS_LAYER_ON(_RAISE)) {
if (clockwise) {
@@ -190,6 +189,7 @@ void encoder_update(bool clockwise) {
#endif
}
}
+ return true;
}
void dip_switch_update_user(uint8_t index, bool active) {