summaryrefslogtreecommitdiff
path: root/keyboards/winry/winry315/keymaps/via/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/winry/winry315/keymaps/via/config.h')
-rw-r--r--keyboards/winry/winry315/keymaps/via/config.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/keyboards/winry/winry315/keymaps/via/config.h b/keyboards/winry/winry315/keymaps/via/config.h
new file mode 100644
index 0000000000..5fc0e02531
--- /dev/null
+++ b/keyboards/winry/winry315/keymaps/via/config.h
@@ -0,0 +1,15 @@
+// Copyright 2022 Sergey Vlasov (@sigprof)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define DYNAMIC_KEYMAP_LAYER_COUNT 8
+
+// Enable a limited form of RGB Matrix support in VIA (requires redefining the
+// effect list in the VIA JSON, which then becomes not 100% compatible with the
+// RGBLIGHT firmwares).
+#define VIA_QMK_RGBLIGHT_ENABLE
+
+// Enable the workaround for the speed parameter mismatch between RGBLIGHT and
+// RGB Matrix, so that the speed slider in VIA behaves in a more useful way.
+#define VIA_CUSTOM_LIGHTING_ENABLE