]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/staryu/staryu.h
Refactor staryu to current standards and enable support for backlight keycodes (...
[qmk_firmware.git] / keyboards / staryu / staryu.h
index 12b8be92e71f4260a976e87aae4d987d8c43e00f..f404dff284e93fb9224c8072481ca184db491cf4 100755 (executable)
@@ -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