diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-26 08:37:57 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 08:37:57 +1100 |
commit | 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch) | |
tree | 8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/jiran | |
parent | ba7546a334ec56e70629652e8552dd493449e9db (diff) |
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/jiran')
-rw-r--r-- | keyboards/jiran/rev1/config.h | 20 | ||||
-rw-r--r-- | keyboards/jiran/rev1/info.json | 6 |
2 files changed, 6 insertions, 20 deletions
diff --git a/keyboards/jiran/rev1/config.h b/keyboards/jiran/rev1/config.h deleted file mode 100644 index d676c4b6b0..0000000000 --- a/keyboards/jiran/rev1/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2017 Danny Nguyen <danny@keeb.io> - -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_PIN B6 -#define BACKLIGHT_LEVELS 5 diff --git a/keyboards/jiran/rev1/info.json b/keyboards/jiran/rev1/info.json new file mode 100644 index 0000000000..830440f4f6 --- /dev/null +++ b/keyboards/jiran/rev1/info.json @@ -0,0 +1,6 @@ +{ + "backlight": { + "pin": "B6", + "levels": 5 + } +} |