1
0
Fork 0

Helix fix configrator problem (#3270)

* Fix problem with configrator

* Edit keyboard info
This commit is contained in:
MakotoKurauchi 2018-07-01 10:08:52 +09:00 committed by Drashna Jaelre
parent 87d9bb461b
commit c8e1397e08
4 changed files with 17 additions and 20 deletions

View file

@ -1,7 +1,7 @@
{ {
"keyboard_name": "Helix", "keyboard_name": "Helix",
"url": "", "url": "https://github.com/MakotoKurauchi/helix",
"maintainer": "qmk", "maintainer": "MakotoKurauchi",
"width": 15, "width": 15,
"height": 5, "height": 5,
"layouts": { "layouts": {

View file

@ -1,7 +1,7 @@
{ {
"keyboard_name": "Helix rev. 1", "keyboard_name": "Helix rev. 1",
"url": "", "url": "https://github.com/MakotoKurauchi/helix",
"maintainer": "qmk", "maintainer": "MakotoKurauchi",
"width": 13, "width": 13,
"height": 5, "height": 5,
"layouts": { "layouts": {
@ -11,4 +11,3 @@
} }
} }
} }

View file

@ -60,11 +60,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#if HELIX_ROWS == 4 #if HELIX_ROWS == 4
#define MATRIX_ROWS 8 #define MATRIX_ROWS 8
#define MATRIX_ROW_PINS { D4, C6, D7, E6 } #define MATRIX_ROW_PINS { D4, C6, D7, E6 }
#elif HELIX_ROWS == 5 #else
#define MATRIX_ROWS 10 #define MATRIX_ROWS 10
#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 }
#else
#error "expected HELIX_ROWS 4 or 5"
#endif #endif
// wiring of each half // wiring of each half
@ -104,7 +102,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGBLED_BACK #ifdef RGBLED_BACK
#if HELIX_ROWS == 4 #if HELIX_ROWS == 4
#define RGBLED_NUM 25 #define RGBLED_NUM 25
#elif HELIX_ROWS == 5 #else
#define RGBLED_NUM 32 #define RGBLED_NUM 32
#endif #endif
#else #else
@ -115,10 +113,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#if RGBLED_NUM <= 6 #if RGBLED_NUM <= 6
#define RGBLIGHT_LIMIT_VAL 255 #define RGBLIGHT_LIMIT_VAL 255
#else #else
#if HELIX_ROWS == 5 #if HELIX_ROWS == 4
#define RGBLIGHT_LIMIT_VAL 120
#else
#define RGBLIGHT_LIMIT_VAL 130 #define RGBLIGHT_LIMIT_VAL 130
#else
#define RGBLIGHT_LIMIT_VAL 120
#endif #endif
#endif #endif
#define RGBLIGHT_VAL_STEP 17 #define RGBLIGHT_VAL_STEP 17
@ -126,10 +124,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#if RGBLED_NUM <= 6 #if RGBLED_NUM <= 6
#define RGBLIGHT_LIMIT_VAL 90 #define RGBLIGHT_LIMIT_VAL 90
#else #else
#if HELIX_ROWS == 5 #if HELIX_ROWS == 4
#define RGBLIGHT_LIMIT_VAL 35
#else
#define RGBLIGHT_LIMIT_VAL 45 #define RGBLIGHT_LIMIT_VAL 45
#else
#define RGBLIGHT_LIMIT_VAL 35
#endif #endif
#endif #endif
#define RGBLIGHT_VAL_STEP 4 #define RGBLIGHT_VAL_STEP 4

View file

@ -1,7 +1,7 @@
{ {
"keyboard_name": "Helix rev. 2", "keyboard_name": "Helix rev. 2",
"url": "", "url": "https://github.com/MakotoKurauchi/helix",
"maintainer": "qmk", "maintainer": "MakotoKurauchi",
"width": 15, "width": 15,
"height": 5, "height": 5,
"layouts": { "layouts": {