summaryrefslogtreecommitdiffstats
path: root/keyboards/jj50/jj50.h
diff options
context:
space:
mode:
authorWarmCat <32871908+WarmCatUK@users.noreply.github.com>2018-05-10 17:28:58 +0200
committerDrashna Jaelre <drashna@live.com>2018-05-10 17:28:58 +0200
commit933842067df08e7d0515049509bdd3fa73b334e1 (patch)
tree0e777c72e7f357ec45c9f294d80bda3f5915302e /keyboards/jj50/jj50.h
parentc5264d6d89899f19bdeeaf9e2daeb90531617a48 (diff)
downloadqmk_firmware-933842067df08e7d0515049509bdd3fa73b334e1.tar.gz
qmk_firmware-933842067df08e7d0515049509bdd3fa73b334e1.tar.xz
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.
Diffstat (limited to 'keyboards/jj50/jj50.h')
-rw-r--r--keyboards/jj50/jj50.h5
1 files changed, 4 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
#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, \