summaryrefslogtreecommitdiffstats
path: root/keyboards/preonic
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-26 08:37:57 +1100
committerGitHub <noreply@github.com>2023-02-26 08:37:57 +1100
commit314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch)
tree8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/preonic
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/preonic')
-rw-r--r--keyboards/preonic/config.h2
-rw-r--r--keyboards/preonic/rev1/info.json3
-rw-r--r--keyboards/preonic/rev2/info.json3
3 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/preonic/config.h b/keyboards/preonic/config.h
index 494c15c516..c3a49487ef 100644
--- a/keyboards/preonic/config.h
+++ b/keyboards/preonic/config.h
@@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_VOICES
#define AUDIO_PIN C6
-#define BACKLIGHT_PIN B7
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/preonic/rev1/info.json b/keyboards/preonic/rev1/info.json
index 6da254960b..340c178635 100644
--- a/keyboards/preonic/rev1/info.json
+++ b/keyboards/preonic/rev1/info.json
@@ -6,6 +6,9 @@
"pid": "0x67F3",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_5x12"]
diff --git a/keyboards/preonic/rev2/info.json b/keyboards/preonic/rev2/info.json
index 4392f2e964..3da1615c2d 100644
--- a/keyboards/preonic/rev2/info.json
+++ b/keyboards/preonic/rev2/info.json
@@ -6,6 +6,9 @@
"pid": "0x67F3",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B7"
+ },
"qmk_lufa_bootloader": {
"esc_input": "B5",
"esc_output": "F1",