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) | |
| download | qmk_firmware-9ef21d2e1c26b4153368fb3fe887ea7117c5b49b.tar.gz qmk_firmware-9ef21d2e1c26b4153368fb3fe887ea7117c5b49b.zip | |
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 12b8be92e..f404dff28 100755 --- a/keyboards/staryu/staryu.h +++ b/keyboards/staryu/staryu.h | |||
| @@ -14,15 +14,19 @@ GNU General Public License for more details. | |||
| 14 | You should have received a copy of the GNU General Public License | 14 | You should have received a copy of the GNU General Public License |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | #ifndef KB_H | 17 | #pragma once |
| 18 | #define KB_H | ||
| 19 | #include "quantum.h" | 18 | #include "quantum.h" |
| 20 | 19 | ||
| 21 | #define LAYOUT( \ | 20 | #define LAYOUT( \ |
| 22 | K00, K01, \ | 21 | K00, K01, \ |
| 23 | K10, K11, K12 \ | 22 | K10, K11, K12 \ |
| 24 | ) { \ | 23 | ) { \ |
| 25 | { K00, K01, K12, K11, K10 }, \ | 24 | { K00, K01, K12, K11, K10 }, \ |
| 26 | } | 25 | } |
| 27 | 26 | ||
| 27 | |||
| 28 | #ifdef BACKLIGHT_ENABLE | ||
| 29 | |||
| 30 | void backlight_set_value(uint8_t index, uint8_t level); | ||
| 31 | |||
| 28 | #endif | 32 | #endif |
