summaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/moment/config.h
diff options
context:
space:
mode:
authorAndrew Kannan <andrew.kannan@gmail.com>2022-09-29 23:29:11 -0400
committerGitHub <noreply@github.com>2022-09-29 20:29:11 -0700
commitbe61df0827cbd07468a6acdd9b7ce8d2e7c8094e (patch)
tree366fe47148eead0b9b47bea9e52871ed6574d777 /keyboards/cannonkeys/moment/config.h
parentdab9edeabb1ccbaa0d71d10b5b349c6862dea771 (diff)
[Keyboard] Add Moment Solderable (#18385)
Co-authored-by: Joel Challis <git@zvecr.com>
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