summaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/iron165/config.h
diff options
context:
space:
mode:
authorAndrew Kannan <andrew.kannan@gmail.com>2020-04-07 00:01:11 -0400
committerGitHub <noreply@github.com>2020-04-07 14:01:11 +1000
commit0a643be39eb710649560f80c6ce0bc32576813fd (patch)
treec8636568f352c1e71634d475899740a7f9480ea0 /keyboards/cannonkeys/iron165/config.h
parent6c8e205fc0e5bc6372f057a257937ec3f88d5b8d (diff)
downloadqmk_firmware-0a643be39eb710649560f80c6ce0bc32576813fd.tar.gz
qmk_firmware-0a643be39eb710649560f80c6ce0bc32576813fd.zip
Update 072 based CannonKeys boards to rely on core QMK support (#8716)
* Swap CannonKeys 072 boards over to rely on core QMK backlight support * Rename keymap * Rename via_tsangan back to via
Diffstat (limited to 'keyboards/cannonkeys/iron165/config.h')
-rw-r--r--keyboards/cannonkeys/iron165/config.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/keyboards/cannonkeys/iron165/config.h b/keyboards/cannonkeys/iron165/config.h
index c8be89da95..a928839192 100644
--- a/keyboards/cannonkeys/iron165/config.h
+++ b/keyboards/cannonkeys/iron165/config.h
@@ -33,6 +33,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B12, B13, B14, B15, A1 }
#define DIODE_DIRECTION COL2ROW
+#define BACKLIGHT_PIN A6
+#define BACKLIGHT_PWM_DRIVER PWMD3
+#define BACKLIGHT_PWM_CHANNEL 1
+#define BACKLIGHT_PAL_MODE 1
#define BACKLIGHT_LEVELS 6
#define BACKLIGHT_BREATHING
#define BREATHING_PERIOD 6
@@ -48,12 +52,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-// Backlight config starts after VIA's EEPROM usage,
-// dynamic keymaps start after this.
-#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 1
-
-// VIA lighting is handled by the keyboard-level code
-#define VIA_CUSTOM_LIGHTING_ENABLE
/*
* Feature disable options