From 77b7e2cd59533abb203497cb8b7bb36d5a0086a2 Mon Sep 17 00:00:00 2001 From: josephchoi1116 <31532411+josephchoi1116@users.noreply.github.com> Date: Thu, 16 Aug 2018 00:28:47 +0800 Subject: [PATCH] Keyboard: Added layout LAYOUT_60_ansi_split_bksp_rshift to ok60 (#3644) * Added layout LAYOUT_60_ansi_split_bksp_rshift * Added layout 60_ansi_split_bksp_rshift --- keyboards/ok60/ok60.h | 14 ++++++++++++++ keyboards/ok60/rules.mk | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/keyboards/ok60/ok60.h b/keyboards/ok60/ok60.h index 81e2d13e08..7c459d8776 100644 --- a/keyboards/ok60/ok60.h +++ b/keyboards/ok60/ok60.h @@ -17,6 +17,20 @@ { K400, K401, K402, KC_NO, KC_NO, KC_NO, K406, KC_NO, KC_NO, KC_NO, K410, K411, K412, K413, KC_NO } \ } +#define LAYOUT_60_ansi_split_bksp_rshift( \ + K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, \ + K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, \ + K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, \ + K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \ + K400, K401, K402, K406, K410, K411, K412, K413 \ +) { \ + { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ + { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, KC_NO }, \ + { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, KC_NO, K213, KC_NO }, \ + { K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314 }, \ + { K400, K401, K402, KC_NO, KC_NO, KC_NO, K406, KC_NO, KC_NO, KC_NO, K410, K411, K412, K413, KC_NO } \ +} + #define LAYOUT_60_iso( \ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, \ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, \ diff --git a/keyboards/ok60/rules.mk b/keyboards/ok60/rules.mk index 3fcf165a92..03646c4857 100644 --- a/keyboards/ok60/rules.mk +++ b/keyboards/ok60/rules.mk @@ -63,4 +63,4 @@ RGBLIGHT_ENABLE = yes # Enable the RGB backlight # UNICODE_ENABLE = YES # Unicode # BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID -LAYOUTS = 60_ansi 60_iso 60_hhkb +LAYOUTS = 60_ansi 60_ansi_split_bksp_rshift 60_iso 60_hhkb