aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/bananasplit/bananasplit.h
diff options
context:
space:
mode:
authorNic Aitch <nic@nicinabox.com>2017-08-06 20:16:20 -0500
committerJack Humbert <jack.humb@gmail.com>2017-08-06 22:46:44 -0400
commitc93975ac94f0f95eafdaebc752e7789dfb70d7be (patch)
tree60d61e34833c0fc69ee2969acd43f27bb34f08aa /keyboards/bananasplit/bananasplit.h
parentba59b2d97ef99291e1c825b283bd40711edc4c79 (diff)
downloadfirmware-c93975ac94f0f95eafdaebc752e7789dfb70d7be.tar.gz
firmware-c93975ac94f0f95eafdaebc752e7789dfb70d7be.tar.bz2
firmware-c93975ac94f0f95eafdaebc752e7789dfb70d7be.zip
Add "hhkb with arrows" macro
Diffstat (limited to 'keyboards/bananasplit/bananasplit.h')
-rw-r--r--keyboards/bananasplit/bananasplit.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/keyboards/bananasplit/bananasplit.h b/keyboards/bananasplit/bananasplit.h
index 082d04aed..5be3d881a 100644
--- a/keyboards/bananasplit/bananasplit.h
+++ b/keyboards/bananasplit/bananasplit.h
@@ -89,4 +89,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{ K40, K41, K42, KC_NO, K44, K45, K46, KC_NO, K48, K49, K4A, K4B, K4C } \
}
+#define KEYMAP_HHKB_ARROW( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D,\
+ K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D,\
+ K40, K41, K42, K44, K45, K46, K48, K49, K4A, K4B, K4C \
+) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \
+ { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \
+ { K40, K41, K42, KC_NO, K44, K45, K46, KC_NO, K48, K49, K4A, K4B, K4C } \
+}
+
+
#endif