File tree 12 files changed +544
-543
lines changed
12 files changed +544
-543
lines changed Original file line number Diff line number Diff line change 6
6
// RGB Matrix
7
7
#ifdef RGB_MATRIX_ENABLE
8
8
9
- #ifdef SPLIT_KEYBOARD
9
+ # ifdef SPLIT_KEYBOARD
10
10
// 18 + 4 on each side
11
- #define DRIVER_LED_TOTAL 44
12
- #define RGB_MATRIX_LED_COUNT 44
13
- #define RGB_MATRIX_SPLIT { 22,22 }
14
- #else
15
- #define DRIVER_LED_TOTAL 22
16
- #define RGB_MATRIX_LED_COUNT 22
17
- #endif
11
+ # define DRIVER_LED_TOTAL 44
12
+ # define RGB_MATRIX_LED_COUNT 44
13
+ # define RGB_MATRIX_SPLIT \
14
+ { 22, 22 }
15
+ # else
16
+ # define DRIVER_LED_TOTAL 22
17
+ # define RGB_MATRIX_LED_COUNT 22
18
+ # endif
18
19
19
- #define RGB_MATRIX_KEYPRESSES
20
+ # define RGB_MATRIX_KEYPRESSES
20
21
21
22
#endif
22
23
23
24
// OLED
24
25
#ifdef OLED_ENABLE
25
26
/* B8, B9 instead of B6, B7 */
26
- #define I2C1_SCL_PIN B8
27
- #define I2C1_SDA_PIN B9
27
+ # define I2C1_SCL_PIN B8
28
+ # define I2C1_SDA_PIN B9
28
29
#endif
29
30
30
-
31
31
#ifdef SPLIT_KEYBOARD
32
- #ifdef HAPTIC_ENABLE
33
- #define SPLIT_HAPTIC_ENABLE
34
- #endif
32
+ # ifdef HAPTIC_ENABLE
33
+ # define SPLIT_HAPTIC_ENABLE
34
+ # endif
35
35
#endif
Original file line number Diff line number Diff line change 4
4
#pragma once
5
5
6
6
#ifdef OLED_ENABLE
7
- #define HAL_USE_I2C TRUE
7
+ # define HAL_USE_I2C TRUE
8
8
#endif
9
9
10
10
#ifdef RGB_MATRIX_ENABLE
11
- #define HAL_USE_PWM TRUE
11
+ # define HAL_USE_PWM TRUE
12
12
#endif
13
13
14
14
#ifdef SPLIT_KEYBOARD
15
- #define PAL_USE_CALLBACKS TRUE
16
- #define PAL_USE_WAIT TRUE
15
+ # define PAL_USE_CALLBACKS TRUE
16
+ # define PAL_USE_WAIT TRUE
17
17
#endif
18
18
19
19
#include_next <halconf.h>
Original file line number Diff line number Diff line change 4
4
#include "minif4_36.h"
5
5
6
6
#ifdef SPLIT_KEYBOARD
7
- #include "split_util.h"
7
+ # include "split_util.h"
8
8
#endif
9
9
10
10
void board_init (void ) {
Original file line number Diff line number Diff line change 4
4
#pragma once
5
5
6
6
#include "quantum.h"
7
-
Original file line number Diff line number Diff line change 5
5
6
6
// RGB Lighting
7
7
#ifdef RGBLIGHT_ENABLE
8
- #define DRIVER_LED_TOTAL 4
9
- #define RGBLED_NUM 4
10
- #define RGBLIGHT_LIMIT_VAL 80
11
- #define RGBLIGHT_DEFAULT_VAL 30
12
- #define RGBLIGHT_VAL_STEP 8
8
+ # define DRIVER_LED_TOTAL 4
9
+ # define RGBLED_NUM 4
10
+ # define RGBLIGHT_LIMIT_VAL 80
11
+ # define RGBLIGHT_DEFAULT_VAL 30
12
+ # define RGBLIGHT_VAL_STEP 8
13
13
#endif
14
14
15
15
#ifdef RGB_MATRIX_ENABLE
16
- #define DRIVER_LED_TOTAL 70
17
- #define RGBLED_NUM 70
18
- #define RGB_MATRIX_LED_COUNT 70
19
- #define RGB_MATRIX_KEYPRESSES
16
+ # define DRIVER_LED_TOTAL 70
17
+ # define RGBLED_NUM 70
18
+ # define RGB_MATRIX_LED_COUNT 70
19
+ # define RGB_MATRIX_KEYPRESSES
20
20
#endif
21
21
22
22
#ifdef RGB_MATRIX_ENABLE
23
- #ifdef RGBLIGHT_ENABLE
24
- #error "rgblight and rgb_matrix both enabled"
25
- #endif
23
+ # ifdef RGBLIGHT_ENABLE
24
+ # error "rgblight and rgb_matrix both enabled"
25
+ # endif
26
26
#endif
Original file line number Diff line number Diff line change 4
4
#pragma once
5
5
6
6
#ifdef RGBLIGHT_ENABLE
7
- #define HAL_USE_PWM TRUE
7
+ # define HAL_USE_PWM TRUE
8
8
#endif
9
9
10
10
#ifdef RGB_MATRIX_ENABLE
11
- #define HAL_USE_PWM TRUE
11
+ # define HAL_USE_PWM TRUE
12
12
#endif
13
13
14
14
#include_next <halconf.h>
You can’t perform that action at this time.
0 commit comments