Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keymaps to momokai keyboards that switches debounce to asym_eager_defer_pk #23164

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
stashing changes to write keymap.json documentation
  • Loading branch information
peepeetee committed Feb 28, 2024
commit a3dc8332c9167fbc65ad733e3996eff40beae1b9
3 changes: 0 additions & 3 deletions keyboards/momokai/aurora/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"bootmagic": {
"matrix": [1, 0]
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"direct": [
["NO_PIN", "B0", "NO_PIN" ],
Expand Down
18 changes: 18 additions & 0 deletions keyboards/momokai/aurora/keymaps/asym_eager_defer_pk/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_MUTE,
KC_Z, KC_X, KC_C,
KC_GRV, KC_ESC, KC_F2
),
};

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
};
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"build": {
"debounce_type": "asym_eager_defer_pk"
},
}
4 changes: 4 additions & 0 deletions keyboards/momokai/aurora/keymaps/asym_eager_defer_pk/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
VIA_ENABLE = yes
LTO_ENABLE = yes

ENCODER_MAP_ENABLE = yes
Loading