summaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/moment/config.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-09-30 03:29:53 +0000
committerQMK Bot <hello@qmk.fm>2022-09-30 03:29:53 +0000
commit6f979439a13f8f647151ab39a3565a5e19b0abf8 (patch)
treec4dacbc6d970810e62def679dfd91018ad8d1359 /keyboards/cannonkeys/moment/config.h
parent848984a772017777af0d93f4caffb6a35d095ce6 (diff)
parentbe61df0827cbd07468a6acdd9b7ce8d2e7c8094e (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/cannonkeys/moment/config.h')
-rw-r--r--keyboards/cannonkeys/moment/config.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/moment/config.h b/keyboards/cannonkeys/moment/config.h
new file mode 100644
index 0000000000..8236eb17d9
--- /dev/null
+++ b/keyboards/cannonkeys/moment/config.h
@@ -0,0 +1,20 @@
+/* Copyright 2022 Andrew Kannan
+ *
+ * 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 BACKLIGHT_PWM_DRIVER PWMD3
+#define BACKLIGHT_PWM_CHANNEL 1
+#define BACKLIGHT_PAL_MODE 1