summaryrefslogtreecommitdiff
path: root/keyboards/westfoxtrot
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/westfoxtrot')
-rw-r--r--keyboards/westfoxtrot/aanzee/config.h5
-rw-r--r--keyboards/westfoxtrot/aanzee/info.json7
-rw-r--r--keyboards/westfoxtrot/cyclops/keymaps/peippo/keymap.c16
-rw-r--r--keyboards/westfoxtrot/cypher/rev1/keymaps/kwer/keymap.c19
-rw-r--r--keyboards/westfoxtrot/cypher/rev5/config.h5
-rw-r--r--keyboards/westfoxtrot/cypher/rev5/info.json8
-rw-r--r--keyboards/westfoxtrot/prophet/rules.mk2
7 files changed, 18 insertions, 44 deletions
diff --git a/keyboards/westfoxtrot/aanzee/config.h b/keyboards/westfoxtrot/aanzee/config.h
index 9a29563ec7..8418197eb6 100644
--- a/keyboards/westfoxtrot/aanzee/config.h
+++ b/keyboards/westfoxtrot/aanzee/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
- #define RGBLED_NUM 9
- #define RGBLIGHT_HUE_STEP 12
- #define RGBLIGHT_SAT_STEP 25
- #define RGBLIGHT_VAL_STEP 12
- #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/westfoxtrot/aanzee/info.json b/keyboards/westfoxtrot/aanzee/info.json
index 9dd3fcb2a4..2ad13e2cc7 100644
--- a/keyboards/westfoxtrot/aanzee/info.json
+++ b/keyboards/westfoxtrot/aanzee/info.json
@@ -22,6 +22,13 @@
"caps_lock": "B2",
"on_state": 0
},
+ "rgblight": {
+ "hue_steps": 12,
+ "saturation_steps": 25,
+ "brightness_steps": 12,
+ "led_count": 9,
+ "sleep": true
+ },
"ws2812": {
"pin": "E6"
},
diff --git a/keyboards/westfoxtrot/cyclops/keymaps/peippo/keymap.c b/keyboards/westfoxtrot/cyclops/keymaps/peippo/keymap.c
index 94d134d7c9..40f8c98344 100644
--- a/keyboards/westfoxtrot/cyclops/keymaps/peippo/keymap.c
+++ b/keyboards/westfoxtrot/cyclops/keymaps/peippo/keymap.c
@@ -61,19 +61,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RSFT, _______, KC_MPLY,
_______, _______, _______, _______, _______, _______, KC_MRWD, KC_MUTE, KC_MFFD),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
diff --git a/keyboards/westfoxtrot/cypher/rev1/keymaps/kwer/keymap.c b/keyboards/westfoxtrot/cypher/rev1/keymaps/kwer/keymap.c
index eed5e664a8..9763abe369 100644
--- a/keyboards/westfoxtrot/cypher/rev1/keymaps/kwer/keymap.c
+++ b/keyboards/westfoxtrot/cypher/rev1/keymaps/kwer/keymap.c
@@ -51,23 +51,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
};
-
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void led_set_user(uint8_t usb_led) {
+bool led_update_user(led_t led_state) {
// Insert custom handling for CAPS_LOCK, NUM_LOCK, SCROLL_LOCK here
- if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) {
+ if (led_state.num_lock) {
writePinHigh(F4);
writePinHigh(F1);
writePinHigh(F5);
@@ -76,4 +62,5 @@ void led_set_user(uint8_t usb_led) {
writePinLow(F1);
writePinLow(F5);
}
+ return false;
}
diff --git a/keyboards/westfoxtrot/cypher/rev5/config.h b/keyboards/westfoxtrot/cypher/rev5/config.h
index ed68bff9d4..d2a2e109d9 100644
--- a/keyboards/westfoxtrot/cypher/rev5/config.h
+++ b/keyboards/westfoxtrot/cypher/rev5/config.h
@@ -27,11 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define GRAVE_ESC_CTRL_OVERRIDE
- #define RGBLED_NUM 10
- #define RGBLIGHT_HUE_STEP 12
- #define RGBLIGHT_SAT_STEP 25
- #define RGBLIGHT_VAL_STEP 12
- #define RGBLIGHT_SLEEP
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/westfoxtrot/cypher/rev5/info.json b/keyboards/westfoxtrot/cypher/rev5/info.json
index d3f57b6e67..6cb14f3b0e 100644
--- a/keyboards/westfoxtrot/cypher/rev5/info.json
+++ b/keyboards/westfoxtrot/cypher/rev5/info.json
@@ -12,10 +12,18 @@
},
"diode_direction": "COL2ROW",
"backlight": {
+ "driver": "timer",
"pin": "D0",
"levels": 5,
"breathing": true
},
+ "rgblight": {
+ "hue_steps": 12,
+ "saturation_steps": 25,
+ "brightness_steps": 12,
+ "led_count": 10,
+ "sleep": true
+ },
"ws2812": {
"pin": "E6"
},
diff --git a/keyboards/westfoxtrot/prophet/rules.mk b/keyboards/westfoxtrot/prophet/rules.mk
index 1d3680aec1..14d4af4e14 100644
--- a/keyboards/westfoxtrot/prophet/rules.mk
+++ b/keyboards/westfoxtrot/prophet/rules.mk
@@ -11,5 +11,3 @@ SLEEP_LED_ENABLE = yes
BACKLIGHT_ENABLE = no
RGBLIGHT_ENABLE = no
-# Enter lower-power sleep mode when on the ChibiOS idle thread
-OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE