summaryrefslogtreecommitdiff
path: root/keyboards/cluecard/keymaps
diff options
context:
space:
mode:
authorskullydazed <skullydazed@users.noreply.github.com>2017-10-17 18:05:21 -0700
committerGitHub <noreply@github.com>2017-10-17 18:05:21 -0700
commit3f3fa0791895f14370b4bb3e8512597688c45122 (patch)
treeac5672833f0d3a0d91798401d2ff3caa560904b2 /keyboards/cluecard/keymaps
parentad49db8cd2557b6c54531059d4d162623520bd17 (diff)
Reorganize clueboard into a single directory (#1855)
Diffstat (limited to 'keyboards/cluecard/keymaps')
-rw-r--r--keyboards/cluecard/keymaps/default/config.h8
-rw-r--r--keyboards/cluecard/keymaps/default/keymap.c63
-rw-r--r--keyboards/cluecard/keymaps/default/readme.md5
-rw-r--r--keyboards/cluecard/keymaps/default/rules.mk21
-rw-r--r--keyboards/cluecard/keymaps/rgb_effects/config.h12
-rw-r--r--keyboards/cluecard/keymaps/rgb_effects/keymap.c28
-rw-r--r--keyboards/cluecard/keymaps/rgb_effects/readme.md7
-rw-r--r--keyboards/cluecard/keymaps/rgb_effects/rules.mk21
8 files changed, 0 insertions, 165 deletions
diff --git a/keyboards/cluecard/keymaps/default/config.h b/keyboards/cluecard/keymaps/default/config.h
deleted file mode 100644
index 8893d122e0..0000000000
--- a/keyboards/cluecard/keymaps/default/config.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
-
-#include "../../config.h"
-
-// place overrides here
-
-#endif
diff --git a/keyboards/cluecard/keymaps/default/keymap.c b/keyboards/cluecard/keymaps/default/keymap.c
deleted file mode 100644
index cd87750a81..0000000000
--- a/keyboards/cluecard/keymaps/default/keymap.c
+++ /dev/null
@@ -1,63 +0,0 @@
-#include "cluecard.h"
-#ifdef AUDIO_ENABLE
- #include "audio.h"
-#endif
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = KEYMAP(
- RGB_TOG, RGB_SAI, RGB_VAI, \
- RGB_HUD, RGB_HUI, \
- RGB_MOD, RGB_SAD, RGB_VAD, \
- BL_STEP, \
- F(0), F(1), F(2) \
- )
-};
-
-#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
-
-const uint16_t PROGMEM fn_actions[] = {
- [0] = ACTION_FUNCTION(0),
- [1] = ACTION_FUNCTION(1),
- [2] = ACTION_FUNCTION(2)
-};
-
-void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
- if (record->event.pressed) {
- switch (id) {
- case 0:
- PLAY_SONG(tone_startup);
- break;
- case 1:
- PLAY_SONG(music_scale);
- break;
- case 2:
- PLAY_SONG(tone_goodbye);
- break;
- }
- }
-};
-
-void matrix_init_user(void) {
-}
-
-void matrix_scan_user(void) {
-
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void led_set_user(uint8_t usb_led) {
-}
diff --git a/keyboards/cluecard/keymaps/default/readme.md b/keyboards/cluecard/keymaps/default/readme.md
deleted file mode 100644
index fa4e8ccad4..0000000000
--- a/keyboards/cluecard/keymaps/default/readme.md
+++ /dev/null
@@ -1,5 +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/cluecard/keymaps/default/rules.mk b/keyboards/cluecard/keymaps/default/rules.mk
deleted file mode 100644
index 8ee841da02..0000000000
--- a/keyboards/cluecard/keymaps/default/rules.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# Build Options
-# change to "no" to disable the options, or define them in the Makefile in
-# the appropriate keymap folder that will get included automatically
-#
-BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
-MOUSEKEY_ENABLE = no # Mouse keys(+4700)
-EXTRAKEY_ENABLE = no # Audio control and System control(+450)
-CONSOLE_ENABLE = yes # Console for debug(+400)
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-MIDI_ENABLE = no # MIDI controls
-AUDIO_ENABLE = yes # Audio output on port C6
-UNICODE_ENABLE = no # Unicode
-BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
-RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
-SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
-
-ifndef QUANTUM_DIR
- include ../../../../Makefile
-endif
diff --git a/keyboards/cluecard/keymaps/rgb_effects/config.h b/keyboards/cluecard/keymaps/rgb_effects/config.h
deleted file mode 100644
index c6c9342c81..0000000000
--- a/keyboards/cluecard/keymaps/rgb_effects/config.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
-
-#include "../../config.h"
-
-// place overrides here
-#define RGBLIGHT_ANIMATIONS
-#define RGBLIGHT_EFFECT_SNAKE_LENGTH 3
-#define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
-#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 2
-
-#endif
diff --git a/keyboards/cluecard/keymaps/rgb_effects/keymap.c b/keyboards/cluecard/keymaps/rgb_effects/keymap.c
deleted file mode 100644
index 74c95ce8a8..0000000000
--- a/keyboards/cluecard/keymaps/rgb_effects/keymap.c
+++ /dev/null
@@ -1,28 +0,0 @@
-#include "cluecard.h"
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = KEYMAP(
- RGB_TOG, RGB_SAI, RGB_VAI, \
- RGB_HUD, RGB_HUI, \
- RGB_MOD, RGB_SAD, RGB_VAD, \
- BL_STEP, \
- KC_NO, KC_NO, KC_NO \
- )
-};
-
-const uint8_t RGBLED_SNAKE_INTERVALS[] PROGMEM = {255, 170, 85};
-const uint8_t RGBLED_KNIGHT_INTERVALS[] PROGMEM = {255, 170, 85};
-
-void matrix_init_user(void) {
-}
-
-void matrix_scan_user(void) {
-
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void led_set_user(uint8_t usb_led) {
-}
diff --git a/keyboards/cluecard/keymaps/rgb_effects/readme.md b/keyboards/cluecard/keymaps/rgb_effects/readme.md
deleted file mode 100644
index 949cac394e..0000000000
--- a/keyboards/cluecard/keymaps/rgb_effects/readme.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# RGB effect test keymap for cluecard
-
-This keymap is made for testing the RGB effects. Audio is disabled and the mode buttons goes through each
-effect. If you run HID-listen you will be able to see which effect is active. For a list of effects, check
-the `rgblight.c` file.
-
-The hue, saturation and brightness buttons will work depending on which effect is active.
diff --git a/keyboards/cluecard/keymaps/rgb_effects/rules.mk b/keyboards/cluecard/keymaps/rgb_effects/rules.mk
deleted file mode 100644
index 00670c0cf4..0000000000
--- a/keyboards/cluecard/keymaps/rgb_effects/rules.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# Build Options
-# change to "no" to disable the options, or define them in the Makefile in
-# the appropriate keymap folder that will get included automatically
-#
-BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
-MOUSEKEY_ENABLE = no # Mouse keys(+4700)
-EXTRAKEY_ENABLE = no # Audio control and System control(+450)
-CONSOLE_ENABLE = yes # Console for debug(+400)
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-MIDI_ENABLE = no # MIDI controls
-AUDIO_ENABLE = no # Audio output on port C6
-UNICODE_ENABLE = no # Unicode
-BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
-RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
-SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
-
-ifndef QUANTUM_DIR
- include ../../../../Makefile
-endif