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/clueboard/card/keymaps/default | |
parent | fe13cedf8c09fa34d5cec4e4c624738095176625 (diff) |
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/clueboard/card/keymaps/default')
-rw-r--r-- | keyboards/clueboard/card/keymaps/default/keymap.c | 59 | ||||
-rw-r--r-- | keyboards/clueboard/card/keymaps/default/readme.md | 3 | ||||
-rw-r--r-- | keyboards/clueboard/card/keymaps/default/rules.mk | 4 |
3 files changed, 0 insertions, 66 deletions
diff --git a/keyboards/clueboard/card/keymaps/default/keymap.c b/keyboards/clueboard/card/keymaps/default/keymap.c deleted file mode 100644 index 84b7d61ac9..0000000000 --- a/keyboards/clueboard/card/keymaps/default/keymap.c +++ /dev/null @@ -1,59 +0,0 @@ -#include QMK_KEYBOARD_H - -enum custom_keycodes { - SONG_SU = SAFE_RANGE, - SONG_SC, - SONG_GB -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - RGB_TOG, RGB_SAI, RGB_VAI, - RGB_HUD, RGB_HUI, - RGB_MOD, RGB_SAD, RGB_VAD, - BL_STEP, - SONG_SU,SONG_SC,SONG_GB - ) -}; - -#ifdef AUDIO_ENABLE - -float tone_startup[][2] = SONG(STARTUP_SOUND); -float tone_qwerty[][2] = SONG(QWERTY_SOUND); -float tone_dvorak[][2] = SONG(DVORAK_SOUND); -float tone_colemak[][2] = SONG(COLEMAK_SOUND); -float tone_plover[][2] = SONG(PLOVER_SOUND); -float tone_plover_gb[][2] = SONG(PLOVER_GOODBYE_SOUND); -float music_scale[][2] = SONG(MUSIC_SCALE_SOUND); - -float tone_goodbye[][2] = SONG(GOODBYE_SOUND); -#endif - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { -#ifdef AUDIO_ENABLE - case SONG_SU: - if (record->event.pressed) { - PLAY_SONG(tone_startup); - } - - return false; - - case SONG_SC: - if (record->event.pressed) { - PLAY_SONG(music_scale); - } - - return false; - - case SONG_GB: - if (record->event.pressed) { - PLAY_SONG(tone_goodbye); - } - - return false; -#endif - default: - return true; - } -} diff --git a/keyboards/clueboard/card/keymaps/default/readme.md b/keyboards/clueboard/card/keymaps/default/readme.md deleted file mode 100644 index 53ba902536..0000000000 --- a/keyboards/clueboard/card/keymaps/default/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# The default keymap for cluecard - -Note that this keymap has audio enabled, so the RGB mode button does not go through the different effects. So the LEDs will still show a static light, that is configurable with the hue, staturation and brightness buttons. You can of course also turn them on and off with the on/off button. diff --git a/keyboards/clueboard/card/keymaps/default/rules.mk b/keyboards/clueboard/card/keymaps/default/rules.mk deleted file mode 100644 index 55e9563d3e..0000000000 --- a/keyboards/clueboard/card/keymaps/default/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = no -NKRO_ENABLE = yes -AUDIO_ENABLE = no |