Browse Source

Bumped keymap to support latest release of QMK. Re-enabled process_record_user content as well.

master
Eddie Ehlin 1 year ago
parent
commit
a5e8be0c76
  1. 1
      compiled-keymaps/checksums.md
  2. BIN
      compiled-keymaps/planck_rev6_0xedd1e-20210816.bin
  3. 3
      keymap/0xedd1e/config.h
  4. 8
      keymap/0xedd1e/keymap.c

1
compiled-keymaps/checksums.md

@ -5,3 +5,4 @@ SHA256sums: @@ -5,3 +5,4 @@ SHA256sums:
158c969dd56f9db82102cfe0553da958e1cde0bca173e881e7ce5f1f30a9fdc7 planck_rev6_0xedd1e-20210122.bin
ebe204911bb2c3503ff10d30fa7980a04bfa2d59eb9aa67cff772e1f33365a6c planck_rev6_0xedd1e-20210125.bin
66f8107875ffdab38806b1793e5c30e3f7768608813ff9bcc0cc6f04e2411c59 planck_rev6_0xedd1e-20210301.bin
44a0aad45fa687e21c79b31c1c603abfed06a27bb665386bffff27e4abc9537d planck_rev6_0xedd1e-20210816.bin

BIN
compiled-keymaps/planck_rev6_0xedd1e-20210816.bin

Binary file not shown.

3
keymap/0xedd1e/config.h

@ -14,9 +14,6 @@ @@ -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
*/

8
keymap/0xedd1e/keymap.c

@ -123,11 +123,10 @@ layer_state_t layer_state_set_user(layer_state_t state) { @@ -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) { @@ -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; @@ -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) { @@ -190,6 +189,7 @@ void encoder_update(bool clockwise) {
#endif
}
}
return true;
}
void dip_switch_update_user(uint8_t index, bool active) {

Loading…
Cancel
Save