diff options
| author | fauxpark <fauxpark@gmail.com> | 2020-01-19 18:00:32 +1100 |
|---|---|---|
| committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2020-01-18 23:00:32 -0800 |
| commit | f5209aa4e941c7f3a942ef4a7e256ab432ec98ce (patch) | |
| tree | 29c2a0d197050ff2accb920731ddb1d022cb2a90 /keyboards/ymdk_np21/config.h | |
| parent | eb5d267e637db4c2c639932b8c8176bf47dff78f (diff) | |
| download | qmk_firmware-f5209aa4e941c7f3a942ef4a7e256ab432ec98ce.tar.gz qmk_firmware-f5209aa4e941c7f3a942ef4a7e256ab432ec98ce.zip | |
Remove custom backlight code for PS2AVRGB boards (#7775)
* Remove custom backlight code for PS2AVRGB boards
* Remove custom driver setting
* BACKLIGHT_BREATHING goes in config.h, not here
* Don't need to include backlight.c again here either
* Turn on backlight for Canoe
* Disable console on a few boards due to oversize
Diffstat (limited to 'keyboards/ymdk_np21/config.h')
| -rw-r--r-- | keyboards/ymdk_np21/config.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/keyboards/ymdk_np21/config.h b/keyboards/ymdk_np21/config.h index 60c527776..91478d903 100644 --- a/keyboards/ymdk_np21/config.h +++ b/keyboards/ymdk_np21/config.h | |||
| @@ -15,10 +15,9 @@ You should have received a copy of the GNU General Public License | |||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include "config_common.h" | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #ifndef CONFIG_H | 20 | #include "config_common.h" |
| 21 | #define CONFIG_H | ||
| 22 | 21 | ||
| 23 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
| 24 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
| @@ -37,8 +36,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | /* COL2ROW or ROW2COL */ | 36 | /* COL2ROW or ROW2COL */ |
| 38 | #define DIODE_DIRECTION COL2ROW | 37 | #define DIODE_DIRECTION COL2ROW |
| 39 | 38 | ||
| 39 | #define BACKLIGHT_PIN D4 | ||
| 40 | #define BACKLIGHT_LEVELS 12 | 40 | #define BACKLIGHT_LEVELS 12 |
| 41 | // #define BACKLIGHT_BREATHING // works, but BL_TOGG might not work | 41 | #define BACKLIGHT_BREATHING |
| 42 | 42 | ||
| 43 | #define TAPPING_TOGGLE 3 | 43 | #define TAPPING_TOGGLE 3 |
| 44 | 44 | ||
| @@ -52,5 +52,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 52 | #define RGBLED_NUM 5 | 52 | #define RGBLED_NUM 5 |
| 53 | #define RGB_DI_PIN E2 // NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0. | 53 | #define RGB_DI_PIN E2 // NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0. |
| 54 | #define RGBLIGHT_ANIMATIONS | 54 | #define RGBLIGHT_ANIMATIONS |
| 55 | |||
| 56 | #endif | ||
