diff options
| author | Xelus22 <17491233+Xelus22@users.noreply.github.com> | 2021-09-11 05:14:39 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-10 20:14:39 +0100 |
| commit | 759d1927f099ba319ad09c69a2cc71026d775713 (patch) | |
| tree | ff7ed91b0380a778b2dd3964087264d902aabce6 /keyboards/xelus | |
| parent | 7277f1febe0e86e8a32beb779aa24e02bfdb6826 (diff) | |
| download | qmk_firmware-759d1927f099ba319ad09c69a2cc71026d775713.tar.gz qmk_firmware-759d1927f099ba319ad09c69a2cc71026d775713.zip | |
[Keyboard] Add RS60 (#14073)
* initial rs60
* update
* remove
* Include rs60.h
Co-authored-by: Joel Challis <git@zvecr.com>
* change layout name
Co-authored-by: Joel Challis <git@zvecr.com>
* change layout name
Co-authored-by: Joel Challis <git@zvecr.com>
* change layout name
Co-authored-by: Joel Challis <git@zvecr.com>
* change layout name
Co-authored-by: Joel Challis <git@zvecr.com>
* change layout name
Co-authored-by: Joel Challis <git@zvecr.com>
* List form readme.
Co-authored-by: Joel Challis <git@zvecr.com>
* change layout name
Co-authored-by: Joel Challis <git@zvecr.com>
* change layout name
Co-authored-by: Joel Challis <git@zvecr.com>
* change layout name
Co-authored-by: Joel Challis <git@zvecr.com>
* add layout
Co-authored-by: Joel Challis <git@zvecr.com>
* add license
Co-authored-by: Joel Challis <git@zvecr.com>
* 2021 update
Co-authored-by: Joel Challis <git@zvecr.com>
* add license
Co-authored-by: Joel Challis <git@zvecr.com>
* sigprof suggested changes
* Remove redundant define
Co-authored-by: Ryan <fauxpark@gmail.com>
* Fixup readme
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* Update keyboards/xelus/rs60/info.json
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Diffstat (limited to 'keyboards/xelus')
| -rw-r--r-- | keyboards/xelus/rs60/config.h | 49 | ||||
| -rw-r--r-- | keyboards/xelus/rs60/info.json | 74 | ||||
| -rw-r--r-- | keyboards/xelus/rs60/keymaps/default/config.h | 19 | ||||
| -rw-r--r-- | keyboards/xelus/rs60/keymaps/default/keymap.c | 34 | ||||
| -rw-r--r-- | keyboards/xelus/rs60/keymaps/via/config.h | 19 | ||||
| -rw-r--r-- | keyboards/xelus/rs60/keymaps/via/keymap.c | 50 | ||||
| -rw-r--r-- | keyboards/xelus/rs60/keymaps/via/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/xelus/rs60/readme.md | 19 | ||||
| -rw-r--r-- | keyboards/xelus/rs60/rs60.c | 16 | ||||
| -rw-r--r-- | keyboards/xelus/rs60/rs60.h | 34 | ||||
| -rw-r--r-- | keyboards/xelus/rs60/rules.mk | 24 |
11 files changed, 340 insertions, 0 deletions
diff --git a/keyboards/xelus/rs60/config.h b/keyboards/xelus/rs60/config.h new file mode 100644 index 000000000..ce0c2e1d0 --- /dev/null +++ b/keyboards/xelus/rs60/config.h | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | /* Copyright 2021 Harrison Chan (Xelus) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | // USB Device descriptor parameter | ||
| 19 | #define VENDOR_ID 0x5845 // XE | ||
| 20 | #define PRODUCT_ID 0x5253 // RS60 | ||
| 21 | #define DEVICE_VER 0x0001 | ||
| 22 | #define MANUFACTURER Xelus | ||
| 23 | #define PRODUCT RS60 | ||
| 24 | |||
| 25 | /* key matrix size */ | ||
| 26 | #define MATRIX_ROWS 5 | ||
| 27 | #define MATRIX_COLS 14 | ||
| 28 | |||
| 29 | #define MATRIX_ROW_PINS { B3, B7, F0, F4, F1 } | ||
| 30 | #define MATRIX_COL_PINS { E6, D5, D3, F5, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4} | ||
| 31 | #define UNUSED_PINS | ||
| 32 | |||
| 33 | // COL2ROW or ROW2COL | ||
| 34 | #define DIODE_DIRECTION COL2ROW | ||
| 35 | |||
| 36 | // Set 0 if debouncing isn't needed | ||
| 37 | #define DEBOUNCE 5 | ||
| 38 | |||
| 39 | // Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap | ||
| 40 | #define LOCKING_SUPPORT_ENABLE | ||
| 41 | |||
| 42 | // Locking resynchronize hack | ||
| 43 | #define LOCKING_RESYNC_ENABLE | ||
| 44 | |||
| 45 | //Indicator | ||
| 46 | #define LED_CAPS_LOCK_PIN B0 | ||
| 47 | |||
| 48 | //Force NKRO | ||
| 49 | #define FORCE_NKRO | ||
diff --git a/keyboards/xelus/rs60/info.json b/keyboards/xelus/rs60/info.json new file mode 100644 index 000000000..3a0582fc7 --- /dev/null +++ b/keyboards/xelus/rs60/info.json | |||
| @@ -0,0 +1,74 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "RS60", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "Xelus22", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT_60_ansi_split_bs_rshift": { | ||
| 7 | "layout": [ | ||
| 8 | {"label":"Esc", "x":0, "y":0}, | ||
| 9 | {"label":"1", "x":1, "y":0}, | ||
| 10 | {"label":"2", "x":2, "y":0}, | ||
| 11 | {"label":"3", "x":3, "y":0}, | ||
| 12 | {"label":"4", "x":4, "y":0}, | ||
| 13 | {"label":"5", "x":5, "y":0}, | ||
| 14 | {"label":"6", "x":6, "y":0}, | ||
| 15 | {"label":"7", "x":7, "y":0}, | ||
| 16 | {"label":"8", "x":8, "y":0}, | ||
| 17 | {"label":"9", "x":9, "y":0}, | ||
| 18 | {"label":"0", "x":10, "y":0}, | ||
| 19 | {"label":"-", "x":11, "y":0}, | ||
| 20 | {"label":"=", "x":12, "y":0}, | ||
| 21 | {"label":"\\", "x":13, "y":0}, | ||
| 22 | {"label":"Delete", "x":14, "y":0}, | ||
| 23 | {"label":"Tab", "x":0, "y":1, "w":1.5}, | ||
| 24 | {"label":"Q", "x":1.5, "y":1}, | ||
| 25 | {"label":"W", "x":2.5, "y":1}, | ||
| 26 | {"label":"E", "x":3.5, "y":1}, | ||
| 27 | {"label":"R", "x":4.5, "y":1}, | ||
| 28 | {"label":"T", "x":5.5, "y":1}, | ||
| 29 | {"label":"Y", "x":6.5, "y":1}, | ||
| 30 | {"label":"U", "x":7.5, "y":1}, | ||
| 31 | {"label":"I", "x":8.5, "y":1}, | ||
| 32 | {"label":"O", "x":9.5, "y":1}, | ||
| 33 | {"label":"P", "x":10.5, "y":1}, | ||
| 34 | {"label":"[", "x":11.5, "y":1}, | ||
| 35 | {"label":"]", "x":12.5, "y":1}, | ||
| 36 | {"label":"Backspace", "x":13.5, "y":1, "w":1.5}, | ||
| 37 | {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, | ||
| 38 | {"label":"A", "x":1.75, "y":2}, | ||
| 39 | {"label":"S", "x":2.75, "y":2}, | ||
| 40 | {"label":"D", "x":3.75, "y":2}, | ||
| 41 | {"label":"F", "x":4.75, "y":2}, | ||
| 42 | {"label":"G", "x":5.75, "y":2}, | ||
| 43 | {"label":"H", "x":6.75, "y":2}, | ||
| 44 | {"label":"J", "x":7.75, "y":2}, | ||
| 45 | {"label":"K", "x":8.75, "y":2}, | ||
| 46 | {"label":"L", "x":9.75, "y":2}, | ||
| 47 | {"label":";", "x":10.75, "y":2}, | ||
| 48 | {"label":"'", "x":11.75, "y":2}, | ||
| 49 | {"label":"Enter", "x":12.75, "y":2, "w":2.25}, | ||
| 50 | {"label":"Shift", "x":0, "y":3, "w":2.25}, | ||
| 51 | {"label":"Z", "x":2.25, "y":3}, | ||
| 52 | {"label":"X", "x":3.25, "y":3}, | ||
| 53 | {"label":"C", "x":4.25, "y":3}, | ||
| 54 | {"label":"V", "x":5.25, "y":3}, | ||
| 55 | {"label":"B", "x":6.25, "y":3}, | ||
| 56 | {"label":"N", "x":7.25, "y":3}, | ||
| 57 | {"label":"M", "x":8.25, "y":3}, | ||
| 58 | {"label":",", "x":9.25, "y":3}, | ||
| 59 | {"label":".", "x":10.25, "y":3}, | ||
| 60 | {"label":"/", "x":11.25, "y":3}, | ||
| 61 | {"label":"Shift", "x":12.25, "y":3, "w":1.75}, | ||
| 62 | {"label":"Fn", "x":14, "y":3}, | ||
| 63 | {"label":"Ctrl", "x":0, "y":4, "w":1.25}, | ||
| 64 | {"label":"GUI", "x":1.25, "y":4, "w":1.25}, | ||
| 65 | {"label":"Alt", "x":2.5, "y":4, "w":1.25}, | ||
| 66 | {"label":"Space", "x":3.75, "y":4, "w":6.25}, | ||
| 67 | {"label":"Alt", "x":10, "y":4, "w":1.25}, | ||
| 68 | {"label":"GUI", "x":11.25, "y":4, "w":1.25}, | ||
| 69 | {"label":"Fn", "x":12.5, "y":4, "w":1.25}, | ||
| 70 | {"label":"Ctrl", "x":13.75, "y":4, "w":1.25} | ||
| 71 | ] | ||
| 72 | } | ||
| 73 | } | ||
| 74 | } | ||
diff --git a/keyboards/xelus/rs60/keymaps/default/config.h b/keyboards/xelus/rs60/keymaps/default/config.h new file mode 100644 index 000000000..ea9bfa60e --- /dev/null +++ b/keyboards/xelus/rs60/keymaps/default/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2021 Harrison Chan (Xelus) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #define USB_POLLING_INTERVAL_MS 1 | ||
| 19 | #define QMK_KEYS_PER_SCAN 4 | ||
diff --git a/keyboards/xelus/rs60/keymaps/default/keymap.c b/keyboards/xelus/rs60/keymaps/default/keymap.c new file mode 100644 index 000000000..bff32ac2b --- /dev/null +++ b/keyboards/xelus/rs60/keymaps/default/keymap.c | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* Copyright 2021 Harrison Chan (Xelus) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | [0] = LAYOUT_60_ansi_split_bs_rshift( | ||
| 20 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL , KC_BSLS, KC_DEL, | ||
| 21 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, | ||
| 22 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 23 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 24 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL | ||
| 25 | ), | ||
| 26 | |||
| 27 | [1] = LAYOUT_60_ansi_split_bs_rshift( | ||
| 28 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_PSCR, | ||
| 29 | KC_CAPS, KC_TRNS, KC_UP , KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, RESET, | ||
| 30 | KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RSFT, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 33 | ) | ||
| 34 | }; | ||
diff --git a/keyboards/xelus/rs60/keymaps/via/config.h b/keyboards/xelus/rs60/keymaps/via/config.h new file mode 100644 index 000000000..ea9bfa60e --- /dev/null +++ b/keyboards/xelus/rs60/keymaps/via/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2021 Harrison Chan (Xelus) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #define USB_POLLING_INTERVAL_MS 1 | ||
| 19 | #define QMK_KEYS_PER_SCAN 4 | ||
diff --git a/keyboards/xelus/rs60/keymaps/via/keymap.c b/keyboards/xelus/rs60/keymaps/via/keymap.c new file mode 100644 index 000000000..10d383551 --- /dev/null +++ b/keyboards/xelus/rs60/keymaps/via/keymap.c | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | /* Copyright 2021 Harrison Chan (Xelus) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | [0] = LAYOUT_60_ansi_split_bs_rshift( | ||
| 20 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL , KC_BSLS, KC_DEL, | ||
| 21 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, | ||
| 22 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 23 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 24 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL | ||
| 25 | ), | ||
| 26 | |||
| 27 | [1] = LAYOUT_60_ansi_split_bs_rshift( | ||
| 28 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_PSCR, | ||
| 29 | KC_CAPS, KC_TRNS, KC_UP , KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, RESET, | ||
| 30 | KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RSFT, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 33 | ), | ||
| 34 | |||
| 35 | [2] = LAYOUT_60_ansi_split_bs_rshift( | ||
| 36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 39 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RSFT, KC_TRNS, KC_TRNS, | ||
| 40 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 41 | ), | ||
| 42 | |||
| 43 | [3] = LAYOUT_60_ansi_split_bs_rshift( | ||
| 44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 47 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RSFT, KC_TRNS, KC_TRNS, | ||
| 48 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 49 | ) | ||
| 50 | }; | ||
diff --git a/keyboards/xelus/rs60/keymaps/via/rules.mk b/keyboards/xelus/rs60/keymaps/via/rules.mk new file mode 100644 index 000000000..36b7ba9cb --- /dev/null +++ b/keyboards/xelus/rs60/keymaps/via/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/xelus/rs60/readme.md b/keyboards/xelus/rs60/readme.md new file mode 100644 index 000000000..381aa9dc0 --- /dev/null +++ b/keyboards/xelus/rs60/readme.md | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # RS60 | ||
| 2 | |||
| 3 | 60% PCB with daughterboard in collaboration with Bisoromi and Mekibo | ||
| 4 | |||
| 5 | * Keyboard Maintainer: [Xelus22](https://github.com/Xelus22) | ||
| 6 | * Hardware Supported: RS60 | ||
| 7 | * Hardware Availability: Custom Keyboard Group Buys | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make xelus/rs60:default | ||
| 12 | |||
| 13 | Reset your keyboard in 3 ways: | ||
| 14 | |||
| 15 | * Software reset on Fn [MO(1)] + Backspace | ||
| 16 | * Bootmagic reset: hold down the top left key (usually escape) and plugin the keyboard | ||
| 17 | * Physical reset button: on the back of the PCB, there should be a small golden button you can press | ||
| 18 | |||
| 19 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/xelus/rs60/rs60.c b/keyboards/xelus/rs60/rs60.c new file mode 100644 index 000000000..cd2fa8006 --- /dev/null +++ b/keyboards/xelus/rs60/rs60.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2021 Harrison Chan (Xelus) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "rs60.h" | ||
diff --git a/keyboards/xelus/rs60/rs60.h b/keyboards/xelus/rs60/rs60.h new file mode 100644 index 000000000..9b8e841de --- /dev/null +++ b/keyboards/xelus/rs60/rs60.h | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* Copyright 2021 Harrison Chan (Xelus) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | #define XXX KC_NO | ||
| 21 | |||
| 22 | #define LAYOUT_60_ansi_split_bs_rshift( \ | ||
| 23 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K2D, \ | ||
| 24 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \ | ||
| 25 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, \ | ||
| 26 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3B, K3C, K3D, \ | ||
| 27 | K40, K41, K42, K45, K49, K4A, K4C, K4D \ | ||
| 28 | ) { \ | ||
| 29 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ | ||
| 30 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \ | ||
| 31 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \ | ||
| 32 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, XXX, K3B, K3C, K3D }, \ | ||
| 33 | { K40, K41, K42, XXX, XXX, K45, XXX, XXX, XXX, K49, K4A, XXX, K4C, K4D } \ | ||
| 34 | } | ||
diff --git a/keyboards/xelus/rs60/rules.mk b/keyboards/xelus/rs60/rules.mk new file mode 100644 index 000000000..c668a4111 --- /dev/null +++ b/keyboards/xelus/rs60/rules.mk | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = yes # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | |||
| 24 | LAYOUTS = 60_ansi_split_bs_rshift | ||
