summaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/ortho48v2/config.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2023-03-10 10:24:35 +0000
committerQMK Bot <hello@qmk.fm>2023-03-10 10:24:35 +0000
commit80661e5f1981af4d50a32d41e136e9586d5f5a43 (patch)
tree8fa25c99389cf9fde1047f5c0bc704059d4e7555 /keyboards/cannonkeys/ortho48v2/config.h
parent961f2d503fedbff3496cb9afb70c920d80dfe8b9 (diff)
parentbf4121a770938f3661ff5579bf28a65bcdfcb2af (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/cannonkeys/ortho48v2/config.h')
-rw-r--r--keyboards/cannonkeys/ortho48v2/config.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/ortho48v2/config.h b/keyboards/cannonkeys/ortho48v2/config.h
new file mode 100644
index 0000000000..2af75a1715
--- /dev/null
+++ b/keyboards/cannonkeys/ortho48v2/config.h
@@ -0,0 +1,23 @@
+/*
+Copyright 2022 CannonKeys
+
+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 RP2040_BOOTLOADER_DOUBLE_TAP_RESET // Activates the double-tap behavior
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 200U // Timeout window in ms in which the double tap can occur.
+
+#define BACKLIGHT_PWM_DRIVER PWMD6
+#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_A