Merge pull request #109 from lalalademaxiya1/bluetooth_playground

Deleted VIA_QMK_RGBLIGHT_ENABLE
This commit is contained in:
lalalademaxiya1 2023-03-17 10:08:56 +08:00 committed by GitHub
commit 3928ffcaa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 144 additions and 165 deletions

View File

@ -38,10 +38,6 @@
# define CAPS_LOCK_INDEX 46
# define LOW_BAT_IND_INDEX 77
# ifdef VIA_ENABLE
# define VIA_QMK_RGBLIGHT_ENABLE
# endif
/* RGB Matrix Animation modes. Explicitly enabled
* For full list of effects, see:
* https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
@ -99,6 +95,7 @@
// # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
/* Set LED driver current */
# define CKLED2001_CURRENT_TUNE {0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38}
# define CKLED2001_CURRENT_TUNE \
{ 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38 }
#endif

View File

@ -69,6 +69,7 @@
# define PHASE_CHANNEL MSKPHASE_6CHANNEL
/* Set LED driver current */
# define CKLED2001_CURRENT_TUNE { 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60 }
# define CKLED2001_CURRENT_TUNE \
{ 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60 }
#endif

View File

@ -38,10 +38,6 @@
# define CAPS_LOCK_INDEX 46
# define LOW_BAT_IND_INDEX 78
# ifdef VIA_ENABLE
# define VIA_QMK_RGBLIGHT_ENABLE
# endif
/* RGB Matrix Animation modes. Explicitly enabled
* For full list of effects, see:
* https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
@ -99,6 +95,7 @@
// # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
/* Set LED driver current */
# define CKLED2001_CURRENT_TUNE {0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38}
# define CKLED2001_CURRENT_TUNE \
{ 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38 }
#endif

View File

@ -9,7 +9,7 @@
"device_version": "1.0.0"
},
"layouts": {
"LAYOUT_ansi_85": {
"LAYOUT_iso_85": {
"layout": [
{"matrix":[0, 0], "x":0, "y":0},
{"matrix":[0, 1], "x":1, "y":0},

View File

@ -69,6 +69,7 @@
# define PHASE_CHANNEL MSKPHASE_6CHANNEL
/* Set LED driver current */
# define CKLED2001_CURRENT_TUNE { 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60 }
# define CKLED2001_CURRENT_TUNE \
{ 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60 }
#endif

View File

@ -9,7 +9,7 @@
"device_version": "1.0.0"
},
"layouts": {
"LAYOUT_ansi_85": {
"LAYOUT_iso_85": {
"layout": [
{"matrix":[0, 0], "x":0, "y":0},
{"matrix":[0, 1], "x":1, "y":0},

View File

@ -9,7 +9,7 @@
"device_version": "1.0.0"
},
"layouts": {
"LAYOUT_ansi_84": {
"LAYOUT_ansi_100": {
"layout": [
{"matrix":[0, 0], "x":0, "y":0},
{"matrix":[0, 1], "x":1, "y":0},

View File

@ -9,7 +9,7 @@
"device_version": "1.0.0"
},
"layouts": {
"LAYOUT_ansi_84": {
"LAYOUT_ansi_100": {
"layout": [
{"matrix":[0, 0], "x":0, "y":0},
{"matrix":[0, 1], "x":1, "y":0},

View File

@ -38,10 +38,6 @@
# define CAPS_LOCK_INDEX 30
# define LOW_BAT_IND_INDEX 61
# ifdef VIA_ENABLE
# define VIA_QMK_RGBLIGHT_ENABLE
# endif
/* RGB Matrix Animation modes. Explicitly enabled
* For full list of effects, see:
* https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
@ -99,6 +95,7 @@
// # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
/* Set LED driver current */
# define CKLED2001_CURRENT_TUNE {0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38}
# define CKLED2001_CURRENT_TUNE \
{ 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38 }
#endif

View File

@ -35,10 +35,6 @@
# define CAPS_LOCK_INDEX 30
# define LOW_BAT_IND_INDEX 62
# ifdef VIA_ENABLE
# define VIA_QMK_RGBLIGHT_ENABLE
# endif
/* RGB Matrix Animation modes. Explicitly enabled
* For full list of effects, see:
* https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
@ -96,6 +92,7 @@
// # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
/* Set LED driver current */
# define CKLED2001_CURRENT_TUNE {0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38}
# define CKLED2001_CURRENT_TUNE \
{ 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38 }
#endif

View File

@ -38,10 +38,6 @@
# define CAPS_LOCK_INDEX 30
# define LOW_BAT_IND_INDEX 61
# ifdef VIA_ENABLE
# define VIA_QMK_RGBLIGHT_ENABLE
# endif
/* RGB Matrix Animation modes. Explicitly enabled
* For full list of effects, see:
* https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
@ -99,6 +95,7 @@
// # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
/* Set LED driver current */
# define CKLED2001_CURRENT_TUNE {0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38}
# define CKLED2001_CURRENT_TUNE \
{ 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38 }
#endif

View File

@ -34,10 +34,6 @@
/* Turn off backlight on low brightness to save power */
# define RGB_MATRIX_BRIGHTNESS_TURN_OFF_VAL 32
# ifdef VIA_ENABLE
# define VIA_QMK_RGBLIGHT_ENABLE
# endif
/* RGB Matrix Animation modes. Explicitly enabled
* For full list of effects, see:
* https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
@ -95,6 +91,7 @@
// # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
/* Set LED driver current */
# define CKLED2001_CURRENT_TUNE {0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38}
# define CKLED2001_CURRENT_TUNE \
{ 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38 }
#endif

View File

@ -31,10 +31,6 @@
/* Turn off backlight on low brightness to save power */
# define RGB_MATRIX_BRIGHTNESS_TURN_OFF_VAL 32
# ifdef VIA_ENABLE
# define VIA_QMK_RGBLIGHT_ENABLE
# endif
/* RGB Matrix Animation modes. Explicitly enabled
* For full list of effects, see:
* https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
@ -91,6 +87,7 @@
// # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
/* Set LED driver current */
# define CKLED2001_CURRENT_TUNE {0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38}
# define CKLED2001_CURRENT_TUNE \
{ 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38 }
#endif

View File

@ -142,10 +142,9 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
}
#ifdef KC_BLUETOOTH_ENABLE
void encoder0_pad_cb(void *param) {
static void encoder0_pad_cb(void *param) {
(void)param;
encoder_insert_state();
encoder_inerrupt_read(0);
}
#endif

View File

@ -141,10 +141,9 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
}
#ifdef KC_BLUETOOTH_ENABLE
void encoder0_pad_cb(void *param) {
static void encoder0_pad_cb(void *param) {
(void)param;
encoder_insert_state();
encoder_inerrupt_read(0);
}
#endif