mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2025-01-07 17:40:19 +06:00
Merge pull request #109 from lalalademaxiya1/bluetooth_playground
Deleted VIA_QMK_RGBLIGHT_ENABLE
This commit is contained in:
commit
3928ffcaa2
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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},
|
||||
|
@ -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
|
||||
|
@ -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},
|
||||
|
@ -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},
|
||||
|
@ -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},
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user