summaryrefslogtreecommitdiff
path: root/keyboards/keebio/iris/keymaps/pvinis/config.h
diff options
context:
space:
mode:
authorPavlos Vinieratos <pvinis@gmail.com>2020-04-13 20:59:04 +0200
committerGitHub <noreply@github.com>2020-04-13 11:59:04 -0700
commitf6b40da7f854d461f30a3e525f4e36e51dac5db4 (patch)
tree84f56671b52ae7a33913e672e22300ba90a63da5 /keyboards/keebio/iris/keymaps/pvinis/config.h
parent6fb048fdafe58897f64efa8c4b9455bbcb992110 (diff)
update pvinis keymap (#8746)
* update a bunch of stuff Better rules, better config, added encoders, lights, audio. * some fmt * more fmt
Diffstat (limited to 'keyboards/keebio/iris/keymaps/pvinis/config.h')
-rw-r--r--keyboards/keebio/iris/keymaps/pvinis/config.h36
1 files changed, 24 insertions, 12 deletions
diff --git a/keyboards/keebio/iris/keymaps/pvinis/config.h b/keyboards/keebio/iris/keymaps/pvinis/config.h
index b2fb43be91..9574f2a837 100644
--- a/keyboards/keebio/iris/keymaps/pvinis/config.h
+++ b/keyboards/keebio/iris/keymaps/pvinis/config.h
@@ -1,24 +1,36 @@
#pragma once
-
#ifdef PRODUCT
- #undef PRODUCT
- #define PRODUCT Iris Keyboard - pvinis
+# undef PRODUCT
+# define PRODUCT Iris Keyboard - pvinis
#endif
-
-// Use I2C or Serial, not both
+// Use I2C or Serial, not both.
#define USE_SERIAL
// #define USE_I2C
-
-// Select hand configuration
-#define MASTER_LEFT
-// #define MASTER_RIGHT
+// Select hand configuration.
+// #define MASTER_LEFT
+#define MASTER_RIGHT
// #define EE_HANDS
-
-// choose pin to use for audio. c6 is the one iris uses.
+// Choose pin to use for audio. C6 is the one iris uses.
#ifdef AUDIO_ENABLE
- #define C6_AUDIO
+# define C6_AUDIO
+# define STARTUP_SONG SONG(NO_SOUND) // No startup song.
+#endif
+
+#ifdef RGBLIGHT_ENABLE
+# undef RGBLED_NUM
+# define RGBLED_NUM 16
+#endif
+
+#ifdef ENCODER_ENABLE
+# define ENCODERS_PAD_A \
+ { F5 } // I connected the encoder to F4 and F5.
+# define ENCODERS_PAD_B \
+ { F4 }
+// #define ENCODERS_PAD_A_RIGHT { B5 }
+// #define ENCODERS_PAD_B_RIGHT { C6 }
+# define ENCODER_RESOLUTION 2
#endif