diff options
author | lokher <lokher@gmail.com> | 2022-09-13 11:24:05 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2022-09-13 11:24:05 +0800 |
commit | 9581289745736ce068a1040f44cec37a2ca8830d (patch) | |
tree | 24f644715a5fd6cc4d804d9604fb094307808b1b /keyboards/handwired/mutepad/keymaps | |
parent | fe13cedf8c09fa34d5cec4e4c624738095176625 (diff) |
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/handwired/mutepad/keymaps')
-rw-r--r-- | keyboards/handwired/mutepad/keymaps/default/keymap.c | 43 | ||||
-rw-r--r-- | keyboards/handwired/mutepad/keymaps/default/readme.md | 1 |
2 files changed, 0 insertions, 44 deletions
diff --git a/keyboards/handwired/mutepad/keymaps/default/keymap.c b/keyboards/handwired/mutepad/keymaps/default/keymap.c deleted file mode 100644 index d26e230e53..0000000000 --- a/keyboards/handwired/mutepad/keymaps/default/keymap.c +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Joshua Barber (@JoshwJB) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -// Defines names for use in layer keycodes and the keymap -enum layer_names { _BASE }; - -enum custom_keycodes { MUTE_GOOGLE_MEET = 0, MUTE_TEAMS = 1 }; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case MUTE_GOOGLE_MEET: - if (record->event.pressed) { - tap_code16(G(KC_D)); - } - break; - case MUTE_TEAMS: - if (record->event.pressed) { - tap_code16(C(S(KC_M))); - } - break; - } - - return true; -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Base */ - [_BASE] = LAYOUT(MUTE_TEAMS, KC_F23, KC_F24, KC_MPLY)}; - -#ifdef ENCODER_ENABLE - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (clockwise) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } - return true; -} - -#endif diff --git a/keyboards/handwired/mutepad/keymaps/default/readme.md b/keyboards/handwired/mutepad/keymaps/default/readme.md deleted file mode 100644 index c3c9ec6aec..0000000000 --- a/keyboards/handwired/mutepad/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for MutePad |