summaryrefslogtreecommitdiff
path: root/keyboards/handwired/steamvan/rev1/config.h
diff options
context:
space:
mode:
authorJohn M Daly <jmdaly@gmail.com>2020-01-12 22:48:24 -0500
committerJoel Challis <git@zvecr.com>2020-01-13 03:48:24 +0000
commitbe7d70b15c4b3db4ae2aa2ea7c67caa48c9ef50b (patch)
treecfae1f30cee0902555372421b75c76fddc10ceca /keyboards/handwired/steamvan/rev1/config.h
parentb89e35bdd33b3953711de8b0be64c76b64e9701b (diff)
Enable RGB underglow on the CO60 and SteamVan, switch backlight code to QMK built-in code (#7874)
* Add: RGB underglow support using SPI to SteamVan and CO60 * Update: Switch to QMK's baclight implementation for CO60 and SteamVan * Fix: Remove now unnecessary backlighting code from keyboard files
Diffstat (limited to 'keyboards/handwired/steamvan/rev1/config.h')
-rw-r--r--keyboards/handwired/steamvan/rev1/config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/handwired/steamvan/rev1/config.h b/keyboards/handwired/steamvan/rev1/config.h
index f10f42966b..f47dc90c19 100644
--- a/keyboards/handwired/steamvan/rev1/config.h
+++ b/keyboards/handwired/steamvan/rev1/config.h
@@ -57,9 +57,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Backlight configuration
* Backlight LEDs on B8
*/
-#define BACKLIGHT_LEVELS 24
+#define BACKLIGHT_PIN B8
#define BACKLIGHT_BREATHING
-#define BREATHING_PERIOD 6
+
+#define WS2812_SPI SPID1
+#define WS2812_SPI_MOSI_PAL_MODE 5
#define RGBLIGHT_ANIMATIONS