From 933842067df08e7d0515049509bdd3fa73b334e1 Mon Sep 17 00:00:00 2001 From: WarmCat <32871908+WarmCatUK@users.noreply.github.com> Date: Thu, 10 May 2018 16:28:58 +0100 Subject: Backlight and RGB now working for JJ50 (#2929) * Added support for JJ50 from KPRepublic, no rgb or backlight control yet. Added as a layout of ymd96 at the moment (same microprocessor). Basic keymap with three layers to get started. * Added support for JJ50 * Tidied up jj50 code, backlight and RGB is now working. * Renaming "KEYMAP" to "LAYOUT" to adhere to the new QMK standards. --- keyboards/jj50/jj50.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'keyboards/jj50/jj50.h') diff --git a/keyboards/jj50/jj50.h b/keyboards/jj50/jj50.h index 09664f77f..f0a2efddd 100644 --- a/keyboards/jj50/jj50.h +++ b/keyboards/jj50/jj50.h @@ -20,11 +20,14 @@ along with this program. If not, see . #ifndef KEYMAP_COMMON_H #define KEYMAP_COMMON_H +#include "quantum.h" #include "quantum_keycodes.h" #include "keycode.h" #include "action.h" -#define KEYMAP( \ +void matrix_init_user(void); + +#define LAYOUT( \ K011, K010, K009, K008, K004, K005, K006, K007, K003, K002, K201, K000, \ K111, K110, K109, K108, K104, K105, K106, K107, K103, K102, K001, K100, \ K211, K210, K209, K208, K204, K205, K206, K207, K203, K202, K101, K200, \ -- cgit v1.2.3-24-g4f1b