Move USB_MAX_POWER_CONSUMPTION to data driven (#20648)

This commit is contained in:
Ryan 2023-05-01 17:37:12 +10:00 committed by GitHub
parent 12d42cedd2
commit 2944e93870
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
99 changed files with 90 additions and 226 deletions

View file

@ -54,9 +54,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define USB_MAX_POWER_CONSUMPTION 400
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -5,7 +5,8 @@
"usb": { "usb": {
"vid": "0x7033", "vid": "0x7033",
"pid": "0x4749", "pid": "0x4749",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 400
}, },
"indicators": { "indicators": {
"caps_lock": "B2", "caps_lock": "B2",

View file

@ -16,8 +16,6 @@
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x6B62", "vid": "0x6B62",
"pid": "0x8989", "pid": "0x8989",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "B0", "B1", "B2", "D5", "D6", "C5", "C4", "C3", "C2", "C1"], "cols": ["A0", "A1", "A2", "A3", "A4", "B0", "B1", "B2", "D5", "D6", "C5", "C4", "C3", "C2", "C1"],

View file

@ -19,6 +19,3 @@
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE
/* usb power settings */
#define USB_MAX_POWER_CONSUMPTION 100

View file

@ -1,7 +1,8 @@
{ {
"keyboard_name": "Chavdai40", "keyboard_name": "Chavdai40",
"usb": { "usb": {
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B8", "B4", "B3", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1"], "cols": ["B8", "B4", "B3", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1"],

View file

@ -19,6 +19,3 @@
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE
/* usb power settings */
#define USB_MAX_POWER_CONSUMPTION 100

View file

@ -1,7 +1,8 @@
{ {
"keyboard_name": "Chavdai40 rev2", "keyboard_name": "Chavdai40 rev2",
"usb": { "usb": {
"device_version": "0.0.2" "device_version": "0.0.2",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B7", "B4", "B3", "A8", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1"], "cols": ["B7", "B4", "B3", "A8", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1"],

View file

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x6B62", "vid": "0x6B62",
"pid": "0x1769", "pid": "0x1769",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["C0", "C1", "C2", "C3"], "cols": ["C0", "C1", "C2", "C3"],

View file

@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x6B62", "vid": "0x6B62",
"pid": "0x6869", "pid": "0x6869",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["A2", "B3", "A3", "B4", "A4", "D5", "D6", "C6", "C5", "C4", "C3", "C2", "C1", "C0", "D7"], "cols": ["A2", "B3", "A3", "B4", "A4", "D5", "D6", "C6", "C5", "C4", "C3", "C2", "C1", "C0", "D7"],

View file

@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0xFEED", "vid": "0xFEED",
"pid": "0xC18B", "pid": "0xC18B",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["A2", "B3", "A3", "B4", "A4", "D1", "D5", "D6", "A6", "A7", "C7", "C6", "C5", "C4", "D7", "C3", "C2", "C1", "C0", "D0"], "cols": ["A2", "B3", "A3", "B4", "A4", "D1", "D5", "D6", "A6", "A7", "C7", "C6", "C5", "C4", "D7", "C3", "C2", "C1", "C0", "D0"],

View file

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x16C0", "vid": "0x16C0",
"pid": "0x27DB", "pid": "0x27DB",
"device_version": "0.0.2" "device_version": "0.0.2",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "D7", "D6", "D5", "B2", "B1", "C0", "C1", "C2", "C3", "D1", "D0"], "cols": ["B0", "D7", "D6", "D5", "B2", "B1", "C0", "C1", "C2", "C3", "D1", "D0"],

View file

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x454C", "vid": "0x454C",
"pid": "0x0001", "pid": "0x0001",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["A2", "B3", "A3", "B4", "A4", "D5", "D6", "C6", "C5", "C4", "C3", "C2", "C1", "C0", "D7", "A5", "A6", "A7"], "cols": ["A2", "B3", "A3", "B4", "A4", "D5", "D6", "C6", "C5", "C4", "C3", "C2", "C1", "C0", "D7", "A5", "A6", "A7"],

View file

@ -43,5 +43,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* key combination for command */ /* key combination for command */
#define IS_COMMAND() (get_mods() == MOD_MASK_CTRL || get_mods() == MOD_MASK_SHIFT) #define IS_COMMAND() (get_mods() == MOD_MASK_CTRL || get_mods() == MOD_MASK_SHIFT)
#define USB_MAX_POWER_CONSUMPTION 500

View file

@ -51,5 +51,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
) )
#define USB_MAX_POWER_CONSUMPTION 500

View file

@ -55,5 +55,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
) )
#define USB_MAX_POWER_CONSUMPTION 500

View file

@ -49,5 +49,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* fix space cadet rollover issue */ /* fix space cadet rollover issue */
#define DISABLE_SPACE_CADET_ROLLOVER #define DISABLE_SPACE_CADET_ROLLOVER
#define USB_MAX_POWER_CONSUMPTION 500

View file

@ -32,5 +32,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define NO_ACTION_LAYER #define NO_ACTION_LAYER
#define NO_ACTION_TAPPING #define NO_ACTION_TAPPING
#define NO_ACTION_ONESHOT #define NO_ACTION_ONESHOT
#define USB_MAX_POWER_CONSUMPTION 100

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x4443", "vid": "0x4443",
"pid": "0x4D43", "pid": "0x4D43",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [

View file

@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LED_BRIGHTNESS_LO 15 #define LED_BRIGHTNESS_LO 15
#define LED_BRIGHTNESS_HI 255 #define LED_BRIGHTNESS_HI 255
#define USB_MAX_POWER_CONSUMPTION 500
#define MOUSEKEY_INTERVAL 20 #define MOUSEKEY_INTERVAL 20
#define MOUSEKEY_DELAY 0 #define MOUSEKEY_DELAY 0
#define MOUSEKEY_TIME_TO_MAX 5 #define MOUSEKEY_TIME_TO_MAX 5

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */ /* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE #define LOCKING_RESYNC_ENABLE
#define USB_MAX_POWER_CONSUMPTION 100
/* /*
* Feature disable options * Feature disable options
* These options are also useful to firmware size reduction. * These options are also useful to firmware size reduction.

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0xFEED", "vid": "0xFEED",
"pid": "0x0000", "pid": "0x0000",
"device_version": "0.0.2" "device_version": "0.0.2",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "D7", "D6", "D5", "B2", "B1", "C0", "C1", "C2", "C3", "D1"], "cols": ["B0", "D7", "D6", "D5", "B2", "B1", "C0", "C1", "C2", "C3", "D1"],

View file

@ -19,6 +19,5 @@
#define RGBLIGHT_HUE_STEP 10 #define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17 #define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17 #define RGBLIGHT_VAL_STEP 17
#define USB_MAX_POWER_CONSUMPTION 400
#define TAPPING_TERM 200 #define TAPPING_TERM 200

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0xFEED", "vid": "0xFEED",
"pid": "0x0007", "pid": "0x0007",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 400
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B4", "B6", "B2", "D7", "B1", "F7", "F6", "F5", "F4"], "cols": ["B4", "B6", "B2", "D7", "B1", "F7", "F6", "F5", "F4"],

View file

@ -34,8 +34,6 @@
/* fix space cadet rollover issue */ /* fix space cadet rollover issue */
#define DISABLE_SPACE_CADET_ROLLOVER #define DISABLE_SPACE_CADET_ROLLOVER
#define USB_MAX_POWER_CONSUMPTION 500
/* /*
* Feature disable options * Feature disable options
* These options are also useful to firmware size reduction. * These options are also useful to firmware size reduction.

View file

@ -1,21 +0,0 @@
/*
* Copyright 2021 JKDLAB. <jkdlab.co@gmail.com>
* Copyright 2021 Jaehee <ljh34210329@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
#pragma once
#define USB_MAX_POWER_CONSUMPTION 100

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x4934", "vid": "0x4934",
"pid": "0x0101", "pid": "0x0101",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["D1", "D2", "D3"], "cols": ["D1", "D2", "D3"],

View file

@ -48,7 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_ONESHOT //#define NO_ACTION_ONESHOT
/* USB config */ /* USB config */
#define USB_MAX_POWER_CONSUMPTION 100
#define USB_COUNT_SOF 0 #define USB_COUNT_SOF 0
#define USB_INTR_CFG_SET (1 << ISC01) #define USB_INTR_CFG_SET (1 << ISC01)
#define USB_INTR_ENABLE_BIT INT0 #define USB_INTR_ENABLE_BIT INT0

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0xFEED", "vid": "0xFEED",
"pid": "0x3942", "pid": "0x3942",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"processor": "atmega328p", "processor": "atmega328p",
"bootloader": "usbasploader", "bootloader": "usbasploader",

View file

@ -16,7 +16,5 @@
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
// Fix for volume controll with encoder (steadily in/decrease) // Fix for volume controll with encoder (steadily in/decrease)
#define TAP_CODE_DELAY 60 #define TAP_CODE_DELAY 60

View file

@ -4,7 +4,8 @@
"maintainer": "BenRoe", "maintainer": "BenRoe",
"usb": { "usb": {
"vid": "0x7983", "vid": "0x7983",
"pid": "0x5050" "pid": "0x5050",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "D7", "D6", "D5"], "cols": ["B0", "D7", "D6", "D5"],

View file

@ -1,5 +0,0 @@
#pragma once
// The Teensy 2++ consumes about 60 mA of current at its full speed of 16 MHz as
// per https://www.pjrc.com/teensy/low_power.html
#define USB_MAX_POWER_CONSUMPTION 100

View file

@ -4,7 +4,8 @@
"usb": { "usb": {
"vid": "0xFEED", "vid": "0xFEED",
"pid": "0x6060", "pid": "0x6060",
"device_version": "0.0.2" "device_version": "0.0.2",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["E7", "F0", "F7", "B1", "B3", "B0", "D5"], "cols": ["E7", "F0", "F7", "B1", "B3", "B0", "D5"],

View file

@ -16,8 +16,4 @@
#pragma once #pragma once
// The Teensy 3.6 consumes about 80 mA of current at its full speed of 180 MHz:
// https://forum.pjrc.com/threads/47256-What-is-the-power-consumption-of-the-Teensy-3-6
#define USB_MAX_POWER_CONSUMPTION 100
#define EEPROM_SIZE 4096 #define EEPROM_SIZE 4096

View file

@ -4,7 +4,8 @@
"usb": { "usb": {
"vid": "0x1209", "vid": "0x1209",
"pid": "0x345C", "pid": "0x345C",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B3", "D1", "C0", "D5", "C1", "B2", "D4"], "cols": ["B3", "D1", "C0", "D5", "C1", "B2", "D4"],

View file

@ -16,10 +16,6 @@
#pragma once #pragma once
// The Teensy 4.1 consumes about 100 mA of current at its full speed of 600 MHz
// as per https://www.pjrc.com/store/teensy41.html
#define USB_MAX_POWER_CONSUMPTION 100
/* We use the i.MX RT1060 high-speed GPIOs (GPIO6-9) which are connected to the /* We use the i.MX RT1060 high-speed GPIOs (GPIO6-9) which are connected to the
* AHB bus (AHB_CLK_ROOT), which runs at the same speed as the ARM Core Clock, * AHB bus (AHB_CLK_ROOT), which runs at the same speed as the ARM Core Clock,
* i.e. 600 MHz. See MIMXRT1062, page 949, 12.1 Chip-specific GPIO information. * i.e. 600 MHz. See MIMXRT1062, page 949, 12.1 Chip-specific GPIO information.

View file

@ -4,7 +4,8 @@
"usb": { "usb": {
"vid": "0x1209", "vid": "0x1209",
"pid": "0x345C", "pid": "0x345C",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["LINE_PIN18", "LINE_PIN14", "LINE_PIN15", "LINE_PIN20", "LINE_PIN22", "LINE_PIN19", "LINE_PIN6"], "cols": ["LINE_PIN18", "LINE_PIN14", "LINE_PIN15", "LINE_PIN20", "LINE_PIN22", "LINE_PIN19", "LINE_PIN6"],

View file

@ -16,11 +16,6 @@
#pragma once #pragma once
// The Teensy LC power consumption is unknown as per
// https://www.pjrc.com/store/teensylc.html but since
// https://www.pjrc.com/store/teensy41.html says 100mA, let's go with half.
#define USB_MAX_POWER_CONSUMPTION 50
/* We use the i.MX RT1060 high-speed GPIOs (GPIO6-9) which are connected to the /* We use the i.MX RT1060 high-speed GPIOs (GPIO6-9) which are connected to the
* AHB bus (AHB_CLK_ROOT), which runs at the same speed as the ARM Core Clock, * AHB bus (AHB_CLK_ROOT), which runs at the same speed as the ARM Core Clock,
* i.e. 600 MHz. See MIMXRT1062, page 949, 12.1 Chip-specific GPIO information. * i.e. 600 MHz. See MIMXRT1062, page 949, 12.1 Chip-specific GPIO information.

View file

@ -4,7 +4,8 @@
"usb": { "usb": {
"vid": "0x1209", "vid": "0x1209",
"pid": "0x345C", "pid": "0x345C",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 50
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["LINE_PIN18", "LINE_PIN14", "LINE_PIN15", "LINE_PIN20", "LINE_PIN22", "LINE_PIN19", "LINE_PIN6"], "cols": ["LINE_PIN18", "LINE_PIN14", "LINE_PIN15", "LINE_PIN20", "LINE_PIN22", "LINE_PIN19", "LINE_PIN6"],

View file

@ -27,5 +27,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_EFFECT_TWINKLE
#define USB_MAX_POWER_CONSUMPTION 100

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x4B50", "vid": "0x4B50",
"pid": "0x0040", "pid": "0x0040",
"device_version": "2.0.0" "device_version": "2.0.0",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["C4", "C5", "C6", "C7", "A4", "A5", "A6", "A7", "A3", "A2", "A1", "A0"], "cols": ["C4", "C5", "C6", "C7", "A4", "A5", "A6", "A7", "A3", "A2", "A1", "A0"],

View file

@ -30,5 +30,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_EFFECT_TWINKLE
#define USB_MAX_POWER_CONSUMPTION 100

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x4B50", "vid": "0x4B50",
"pid": "0x0044", "pid": "0x0044",
"device_version": "2.0.0" "device_version": "2.0.0",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["A1", "A0", "A2", "A3"], "cols": ["A1", "A0", "A2", "A3"],

View file

@ -15,8 +15,6 @@
*/ */
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
#define RGBLED_NUM 1 #define RGBLED_NUM 1
#endif #endif

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x4142", "vid": "0x4142",
"pid": "0x4D55", "pid": "0x4D55",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"ws2812": { "ws2812": {
"pin": "B6" "pin": "B6"

View file

@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
#define TAP_CODE_DELAY 10 #define TAP_CODE_DELAY 10
#define RGBLED_NUM 10 /*Change for the number of leds on the strip you attach*/ #define RGBLED_NUM 10 /*Change for the number of leds on the strip you attach*/

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x3415", "vid": "0x3415",
"pid": "0x0001", "pid": "0x0001",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["C4", "C3", "C2", "C1", "C0", "D7", "D6", "A7", "A4", "A5", "A6", "A3", "A2", "A1", "A0"], "cols": ["C4", "C3", "C2", "C1", "C0", "D7", "D6", "A7", "A4", "A5", "A6", "A3", "A2", "A1", "A0"],

View file

@ -29,8 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_EFFECT_TWINKLE
#define USB_MAX_POWER_CONSUMPTION 400
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x7033", "vid": "0x7033",
"pid": "0x3568", "pid": "0x3568",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 400
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B2", "D2", "B3", "B7", "F5", "F4", "F1", "F0"], "cols": ["B2", "D2", "B3", "B7", "F5", "F4", "F1", "F0"],

View file

@ -1,19 +0,0 @@
/* Copyright 2020 Paul James
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define USB_MAX_POWER_CONSUMPTION 100

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x706A", "vid": "0x706A",
"pid": "0x0002", "pid": "0x0002",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "D7", "D6", "D5", "D4", "D1", "D0", "C1", "C2", "C3"], "cols": ["B0", "D7", "D6", "D5", "D4", "D1", "D0", "C1", "C2", "C3"],

View file

@ -16,7 +16,5 @@
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
#define LED1 C5 #define LED1 C5
#define LED2 C4 #define LED2 C4

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x706A", "vid": "0x706A",
"pid": "0x0003", "pid": "0x0003",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "D7", "D6", "C2", "D4", "D1", "D0", "C1"], "cols": ["B0", "D7", "D6", "C2", "D4", "D1", "D0", "C1"],

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x706A", "vid": "0x706A",
"pid": "0x0003", "pid": "0x0003",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "D7", "D6", "C2", "D4", "D1", "D0", "C1"], "cols": ["B0", "D7", "D6", "C2", "D4", "D1", "D0", "C1"],

View file

@ -23,8 +23,6 @@
#define UNUSABLE_PINS \ #define UNUSABLE_PINS \
{ B4, D6, F1, F5, F6, F7 } { B4, D6, F1, F5, F6, F7 }
#define USB_MAX_POWER_CONSUMPTION 100
/* disable action features */ /* disable action features */
//#define NO_ACTION_LAYER //#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING //#define NO_ACTION_TAPPING

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x5043", "vid": "0x5043",
"pid": "0x4D6F", "pid": "0x4D6F",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"bootmagic": { "bootmagic": {
"matrix": [0, 3] "matrix": [0, 3]

View file

@ -23,8 +23,6 @@
//#define NO_ACTION_TAPPING //#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT //#define NO_ACTION_ONESHOT
#define USB_MAX_POWER_CONSUMPTION 100
#define ROTATIONAL_TRANSFORM_ANGLE 20 #define ROTATIONAL_TRANSFORM_ANGLE 20
// If board has a debug LED, you can enable it by defining this // If board has a debug LED, you can enable it by defining this

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x5043", "vid": "0x5043",
"pid": "0x5442", "pid": "0x5442",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"bootmagic": { "bootmagic": {
"matrix": [0, 3] "matrix": [0, 3]

View file

@ -24,8 +24,6 @@
//#define NO_ACTION_TAPPING //#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT //#define NO_ACTION_ONESHOT
#define USB_MAX_POWER_CONSUMPTION 100
// If board has a debug LED, you can enable it by defining this // If board has a debug LED, you can enable it by defining this
// #define DEBUG_LED_PIN F7 // #define DEBUG_LED_PIN F7

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x5043", "vid": "0x5043",
"pid": "0x1EAB", "pid": "0x1EAB",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"bootmagic": { "bootmagic": {
"matrix": [0, 3] "matrix": [0, 3]

View file

@ -24,8 +24,6 @@
//#define NO_ACTION_TAPPING //#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT //#define NO_ACTION_ONESHOT
#define USB_MAX_POWER_CONSUMPTION 100
#define ADNS5050_SCLK_PIN B7 #define ADNS5050_SCLK_PIN B7
#define ADNS5050_SDIO_PIN C6 #define ADNS5050_SDIO_PIN C6
#define ADNS5050_CS_PIN B4 #define ADNS5050_CS_PIN B4

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x5043", "vid": "0x5043",
"pid": "0x54A3", "pid": "0x54A3",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",

View file

@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LED A0 #define LED A0
#define USB_MAX_POWER_CONSUMPTION 500
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_MATRIX_LED_COUNT RGBLED_NUM #define RGB_MATRIX_LED_COUNT RGBLED_NUM
#define RGBLIGHT_LIMIT_VAL 120 #define RGBLIGHT_LIMIT_VAL 120
#define USB_MAX_POWER_CONSUMPTION 500
// RGB Matrix Animation modes. Explicitly enabled // RGB Matrix Animation modes. Explicitly enabled
// For full list of effects, see: // For full list of effects, see:

View file

@ -42,6 +42,3 @@
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE #define LOCKING_RESYNC_ENABLE
/* Set the max power consumption for the keyboard, which is 500 mA. */
#define USB_MAX_POWER_CONSUMPTION 500

View file

@ -25,8 +25,6 @@
/* Locking resynchronize hack */ /* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE #define LOCKING_RESYNC_ENABLE
#define USB_MAX_POWER_CONSUMPTION 500
#define RGBLED_NUM 15 #define RGBLED_NUM 15
#define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_SAT_STEP 8

View file

@ -1,8 +1,5 @@
#pragma once #pragma once
/* Set power consumption to work with mobile devices */
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x5436", "vid": "0x5436",
"pid": "0x6060", "pid": "0x6060",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B2", "B5", "B4", "D7", "D6", "B3"], "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B2", "B5", "B4", "D7", "D6", "B3"],

View file

@ -45,6 +45,4 @@
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define USB_MAX_POWER_CONSUMPTION 100
#define OLED_TIMEOUT 60000 #define OLED_TIMEOUT 60000

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x7274", "vid": "0x7274",
"pid": "0x0001", "pid": "0x0001",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [

View file

@ -22,7 +22,6 @@ SOFTWARE.
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
#define RGBLED_NUM 10 #define RGBLED_NUM 10
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_MOOD

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0xFEAE", "vid": "0xFEAE",
"pid": "0x8947", "pid": "0x8947",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"ws2812": { "ws2812": {
"pin": "F4" "pin": "F4"

View file

@ -1,21 +0,0 @@
/* Copyright 2021 James R. Maynard III <jaymaynard@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// Both controllers draw 100 mA or less
#define USB_MAX_POWER_CONSUMPTION 100

View file

@ -4,7 +4,8 @@
"maintainer": "jmaynard", "maintainer": "jmaynard",
"usb": { "usb": {
"vid": "0x1209", "vid": "0x1209",
"pid": "0x3270" "pid": "0x3270",
"max_power": 100
}, },
"debounce": 15, "debounce": 15,
"layouts": { "layouts": {

View file

@ -1,9 +1,5 @@
#pragma once #pragma once
// fix iPhone and iPad power adapter issue
// iOS device need lessthan 100
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0xFEED", "vid": "0xFEED",
"pid": "0x112D", "pid": "0x112D",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D2", "D4"], "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D2", "D4"],

View file

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
#define RGBLIGHT_DI_PIN E6 #define RGBLIGHT_DI_PIN E6
//# define RGBLIGHT_HUE_STEP 8 //# define RGBLIGHT_HUE_STEP 8
//# define RGBLIGHT_SAT_STEP 8 //# define RGBLIGHT_SAT_STEP 8

View file

@ -5,7 +5,8 @@
"maintainer": "Work Louder", "maintainer": "Work Louder",
"usb": { "usb": {
"vid": "0x574C", "vid": "0x574C",
"pid": "0x1DF9" "pid": "0x1DF9",
"max_power": 100
}, },
"rgb_matrix": { "rgb_matrix": {
"driver": "WS2812" "driver": "WS2812"

View file

@ -4,12 +4,6 @@
#pragma once #pragma once
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
#define USB_MAX_POWER_CONSUMPTION 100
#define RGB_MATRIX_LED_COUNT 12 #define RGB_MATRIX_LED_COUNT 12
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
#define RGB_MATRIX_DISABLE_KEYCODES #define RGB_MATRIX_DISABLE_KEYCODES

View file

@ -49,7 +49,8 @@
"usb": { "usb": {
"device_version": "1.0.0", "device_version": "1.0.0",
"pid": "0xE6E3", "pid": "0xE6E3",
"vid": "0x574C" "vid": "0x574C",
"max_power": 100
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [

View file

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
#define RGBLIGHT_DI_PIN C7 #define RGBLIGHT_DI_PIN C7
#define RGBLED_NUM 6 #define RGBLED_NUM 6
//# define RGBLIGHT_HUE_STEP 8 //# define RGBLIGHT_HUE_STEP 8

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x574C", "vid": "0x574C",
"pid": "0xE6F0", "pid": "0xE6F0",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"rgb_matrix": { "rgb_matrix": {
"driver": "WS2812" "driver": "WS2812"

View file

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define USB_MAX_POWER_CONSUMPTION 100
#define RGBLIGHT_DI_PIN D2 #define RGBLIGHT_DI_PIN D2
//# define RGBLIGHT_HUE_STEP 8 //# define RGBLIGHT_HUE_STEP 8
//# define RGBLIGHT_SAT_STEP 8 //# define RGBLIGHT_SAT_STEP 8

View file

@ -5,7 +5,8 @@
"maintainer": "Work Louder", "maintainer": "Work Louder",
"usb": { "usb": {
"vid": "0x574C", "vid": "0x574C",
"pid": "0xDCD1" "pid": "0xDCD1",
"max_power": 100
}, },
"rgb_matrix": { "rgb_matrix": {
"driver": "WS2812" "driver": "WS2812"

View file

@ -41,9 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -5,7 +5,8 @@
"usb": { "usb": {
"vid": "0x8968", "vid": "0x8968",
"pid": "0x4749", "pid": "0x4749",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"processor": "atmega328p", "processor": "atmega328p",
"bootloader": "usbasploader", "bootloader": "usbasploader",

View file

@ -41,8 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x8968", "vid": "0x8968",
"pid": "0x4748", "pid": "0x4748",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"processor": "atmega328p", "processor": "atmega328p",
"bootloader": "usbasploader", "bootloader": "usbasploader",

View file

@ -41,8 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x8968", "vid": "0x8968",
"pid": "0x4750", "pid": "0x4750",
"device_version": "0.0.1" "device_version": "0.0.1",
"max_power": 100
}, },
"bootmagic": { "bootmagic": {
"matrix": [1, 0] "matrix": [1, 0]

View file

@ -54,5 +54,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER //#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING //#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT //#define NO_ACTION_ONESHOT
#define USB_MAX_POWER_CONSUMPTION 100

View file

@ -5,7 +5,8 @@
"usb": { "usb": {
"vid": "0x594D", "vid": "0x594D",
"pid": "0x5021", "pid": "0x5021",
"device_version": "2.0.0" "device_version": "2.0.0",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5"], "cols": ["A0", "A1", "A2", "A3", "A4", "A5"],

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAPPING_TOGGLE 3 #define TAPPING_TOGGLE 3
#define USB_MAX_POWER_CONSUMPTION 100
/* RGB underglow */ /* RGB underglow */
#define RGBLED_NUM 18 #define RGBLED_NUM 18
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING

View file

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x20A0", "vid": "0x20A0",
"pid": "0x422D", "pid": "0x422D",
"device_version": "2.0.0" "device_version": "2.0.0",
"max_power": 100
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"],