diff options
author | zvecr <git@zvecr.com> | 2019-03-27 01:39:09 +0000 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-03-26 18:39:09 -0700 |
commit | 9ef21d2e1c26b4153368fb3fe887ea7117c5b49b (patch) | |
tree | 6fb7e565b65f6df97755aae4f58e000862280bdb /keyboards/staryu/staryu.h | |
parent | a0270b55e1e5326ff097644ffe617574f2311d61 (diff) |
Refactor staryu to current standards and enable support for backlight keycodes (#5487)
Diffstat (limited to 'keyboards/staryu/staryu.h')
-rwxr-xr-x | keyboards/staryu/staryu.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/keyboards/staryu/staryu.h b/keyboards/staryu/staryu.h index 12b8be92e7..f404dff284 100755 --- a/keyboards/staryu/staryu.h +++ b/keyboards/staryu/staryu.h @@ -14,15 +14,19 @@ 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/>. */ -#ifndef KB_H -#define KB_H +#pragma once #include "quantum.h" #define LAYOUT( \ - K00, K01, \ - K10, K11, K12 \ + K00, K01, \ + K10, K11, K12 \ ) { \ { K00, K01, K12, K11, K10 }, \ } + +#ifdef BACKLIGHT_ENABLE + +void backlight_set_value(uint8_t index, uint8_t level); + #endif |