aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/jc65/jc65.h
diff options
context:
space:
mode:
authorJason Barnachea <jrbarnachea@gmail.com>2018-02-10 14:24:54 -0800
committerJack Humbert <jack.humb@gmail.com>2018-02-10 17:24:54 -0500
commita972b262748efe977d9a0f8f47fdc36dc9c787e3 (patch)
tree84a8e6bd8c49a740b48d2c1e9ca051cf9ae9d1a4 /keyboards/jc65/jc65.h
parent8c2ae4a4701439e98569dc2f2acee7016b4c0f20 (diff)
downloadfirmware-a972b262748efe977d9a0f8f47fdc36dc9c787e3.tar.gz
firmware-a972b262748efe977d9a0f8f47fdc36dc9c787e3.tar.bz2
firmware-a972b262748efe977d9a0f8f47fdc36dc9c787e3.zip
Add JC65 ps2avrGB keyboard (#2351)
* Adds JC65 ps2avrGB keyboard * Adds default keymap * Adds personal keymap * Backlight On/off support Migrated code from the BFake. Functionality only on BL_ON, BL_OFF, BL_TOGG. * Backlighting config adjustment Only 1 level supported. * Personal keymap update BL toggle added and RGB layer updates. * Renamed jc65 ps2avrgb directory Renamed directory for more clarity. * Default keymap and default rules * Personal keymap and personal rules * Group JC65 QMK and PS2 versions Group JC65 QMK and PS2 versions, Split directories, Readme for parent folder. * Default keycaps and personal keymaps re-added Default and personal keymaps re-added. Keymaps, Readme, Rules.mk, and config.h * v32a default keymap rules Default to no. * RGB and Backlight default settings Set to yes. * Rules.mk defaults for personal keymap Rules.mk defaults for personal keymap * Revised keyboard readme make paths Revised. * Path correction * jc65 default folder set set default pcb to qmk version * default rules for v32a set to enable backlight and rgb by default.
Diffstat (limited to 'keyboards/jc65/jc65.h')
-rw-r--r--keyboards/jc65/jc65.h21
1 files changed, 7 insertions, 14 deletions
diff --git a/keyboards/jc65/jc65.h b/keyboards/jc65/jc65.h
index 41ec3cf64..0c047c90e 100644
--- a/keyboards/jc65/jc65.h
+++ b/keyboards/jc65/jc65.h
@@ -3,19 +3,12 @@
#include "quantum.h"
-#define KEYMAP( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \
- K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, \
- K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \
- K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, K3F, \
- K40, K41, K43, K44, K46, K48, K4A, K4B, K4C, K4D, K4E, K4F \
-)\
-{\
- {K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F}, \
- {K10, KC_NO, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F}, \
- {K20, KC_NO, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, KC_NO, K2F}, \
- {K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D, K3E, K3F}, \
- {K40, K41, KC_NO, K43, K44, KC_NO, K46, KC_NO, K48, KC_NO, K4A, K4B, K4C, K4D, K4E, K4F}, \
-}
+#ifdef KEYBOARD_jc65_v32u4
+ #include "v32u4.h"
+#endif
+
+#ifdef KEYBOARD_jc65_v32a
+ #include "v32a.h"
+#endif
#endif