Move backlight config to data driven (#19910)
This commit is contained in:
parent
ba7546a334
commit
314f6c1ddb
1003 changed files with 1873 additions and 1684 deletions
|
@ -23,7 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Backlight */
|
||||
#define BACKLIGHT_PIN B5 // Timer 1 on mega32u4
|
||||
#define BACKLIGHT_BREATHING
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
"pid": "0x0005",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B5",
|
||||
"breathing": true
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C7",
|
||||
"num_lock": "B6",
|
||||
|
|
|
@ -24,11 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Backlight */
|
||||
#define BACKLIGHT_PIN A1
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD2
|
||||
#define BACKLIGHT_PWM_CHANNEL 2
|
||||
#define BACKLIGHT_PAL_MODE 2
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it.
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0x000A",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "A1",
|
||||
"levels": 5,
|
||||
"breathing": true
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B5",
|
||||
"num_lock": "B6",
|
||||
|
|
|
@ -24,10 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
/* Backlight */
|
||||
#define BACKLIGHT_PIN B7 // Timer 1 on mega32u4
|
||||
#define BACKLIGHT_BREATHING
|
||||
|
||||
/* Underglow */
|
||||
#define RGB_DI_PIN E2
|
||||
#define RGBLED_NUM 40
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
"pid": "0x0002",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B7",
|
||||
"breathing": true
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"community_layouts": ["tkl_ansi", "tkl_iso"],
|
||||
|
|
|
@ -24,13 +24,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* COL2ROW, ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Backlight */
|
||||
#define BACKLIGHT_PIN A10
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD1
|
||||
#define BACKLIGHT_PWM_CHANNEL 3
|
||||
#define BACKLIGHT_PAL_MODE 6
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it.
|
||||
|
||||
/* Underglow */
|
||||
|
|
|
@ -7,6 +7,11 @@
|
|||
"pid": "0x0001",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "A10",
|
||||
"levels": 5,
|
||||
"breathing": true
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A9",
|
||||
"num_lock": "A8",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue