aboutsummaryrefslogtreecommitdiff
path: root/keyboards/helix/rev2/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/helix/rev2/config.h')
-rw-r--r--keyboards/helix/rev2/config.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/helix/rev2/config.h b/keyboards/helix/rev2/config.h
index ec7445859..fe82ce140 100644
--- a/keyboards/helix/rev2/config.h
+++ b/keyboards/helix/rev2/config.h
@@ -16,8 +16,7 @@ You should have received a copy of the GNU General Public License
16along with this program. If not, see <http://www.gnu.org/licenses/>. 16along with this program. If not, see <http://www.gnu.org/licenses/>.
17*/ 17*/
18 18
19#ifndef REV2_CONFIG_H 19#pragma once
20#define REV2_CONFIG_H
21 20
22/* USB Device descriptor parameter */ 21/* USB Device descriptor parameter */
23#define VENDOR_ID 0xFEED 22#define VENDOR_ID 0xFEED
@@ -35,6 +34,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
35#define USE_SERIAL 34#define USE_SERIAL
36//#define USE_MATRIX_I2C 35//#define USE_MATRIX_I2C
37 36
37/* Soft Serial defines */
38#define SOFT_SERIAL_PIN D2
39#define SERIAL_USE_MULTI_TRANSACTION
40
38/* Select hand configuration */ 41/* Select hand configuration */
39#define MASTER_LEFT 42#define MASTER_LEFT
40// #define MASTER_RIGHT 43// #define MASTER_RIGHT
@@ -88,7 +91,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
88//#define RGBLIGHT_ANIMATIONS : see ./rules.mk: LED_ANIMATIONS = yes or no 91//#define RGBLIGHT_ANIMATIONS : see ./rules.mk: LED_ANIMATIONS = yes or no
89// see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes 92// see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes
90#ifdef RGBLED_BACK 93#ifdef RGBLED_BACK
91 #if HELIX_ROWS == 4 94 #if MATRIX_ROWS == 8 // HELIX_ROWS == 4
92 #define RGBLED_NUM 25 95 #define RGBLED_NUM 25
93 #else 96 #else
94 #define RGBLED_NUM 32 97 #define RGBLED_NUM 32
@@ -101,7 +104,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
101 #if RGBLED_NUM <= 6 104 #if RGBLED_NUM <= 6
102 #define RGBLIGHT_LIMIT_VAL 255 105 #define RGBLIGHT_LIMIT_VAL 255
103 #else 106 #else
104 #if HELIX_ROWS == 4 107 #if MATRIX_ROWS == 8 // HELIX_ROWS == 4
105 #define RGBLIGHT_LIMIT_VAL 130 108 #define RGBLIGHT_LIMIT_VAL 130
106 #else 109 #else
107 #define RGBLIGHT_LIMIT_VAL 120 110 #define RGBLIGHT_LIMIT_VAL 120
@@ -112,7 +115,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
112 #if RGBLED_NUM <= 6 115 #if RGBLED_NUM <= 6
113 #define RGBLIGHT_LIMIT_VAL 90 116 #define RGBLIGHT_LIMIT_VAL 90
114 #else 117 #else
115 #if HELIX_ROWS == 4 118 #if MATRIX_ROWS == 8 // HELIX_ROWS == 4
116 #define RGBLIGHT_LIMIT_VAL 45 119 #define RGBLIGHT_LIMIT_VAL 45
117 #else 120 #else
118 #define RGBLIGHT_LIMIT_VAL 35 121 #define RGBLIGHT_LIMIT_VAL 35
@@ -155,4 +158,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
155//#define NO_ACTION_MACRO 158//#define NO_ACTION_MACRO
156//#define NO_ACTION_FUNCTION 159//#define NO_ACTION_FUNCTION
157 160
158#endif