diff options
Diffstat (limited to 'keyboards/anavi/arrows/keymaps')
-rw-r--r-- | keyboards/anavi/arrows/keymaps/default/keymap.c | 20 | ||||
-rw-r--r-- | keyboards/anavi/arrows/keymaps/default/rules.mk | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/anavi/arrows/keymaps/default/keymap.c b/keyboards/anavi/arrows/keymaps/default/keymap.c new file mode 100644 index 0000000000..59ff1d5cf9 --- /dev/null +++ b/keyboards/anavi/arrows/keymaps/default/keymap.c @@ -0,0 +1,20 @@ +// Copyright 2023 Leon Anavi <leon@anavi.org> +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +enum layer_names { + _BASE +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [_BASE] = LAYOUT( + KC_MUTE, + KC_UP, + KC_RIGHT, KC_DOWN, KC_LEFT) +}; + +const uint16_t PROGMEM backlight_combo[] = {KC_UP, KC_DOWN, COMBO_END}; +combo_t key_combos[] = { + COMBO(backlight_combo, BL_STEP) +}; diff --git a/keyboards/anavi/arrows/keymaps/default/rules.mk b/keyboards/anavi/arrows/keymaps/default/rules.mk new file mode 100644 index 0000000000..2553d273ca --- /dev/null +++ b/keyboards/anavi/arrows/keymaps/default/rules.mk @@ -0,0 +1 @@ +COMBO_ENABLE = yes # Enables combo keys |