diff options
| author | ai03 <admin@ai03.com> | 2020-11-02 22:45:02 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-03 00:45:02 +1100 |
| commit | e041ec1655f49ce756a2949a367f8ae7c92a9635 (patch) | |
| tree | d7aa7fca9bedc91e01d5cddef1355e8e2fad65db /keyboards/noxary | |
| parent | 75201c73a0db37e80d67b45089d868a35ce5a8d9 (diff) | |
| download | qmk_firmware-e041ec1655f49ce756a2949a367f8ae7c92a9635.tar.gz qmk_firmware-e041ec1655f49ce756a2949a367f8ae7c92a9635.zip | |
Add support for Noxary Vulcan (#10822)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: ai03 <sarcaphx510@gmail.com>
Diffstat (limited to 'keyboards/noxary')
| -rw-r--r-- | keyboards/noxary/vulcan/config.h | 107 | ||||
| -rw-r--r-- | keyboards/noxary/vulcan/info.json | 75 | ||||
| -rw-r--r-- | keyboards/noxary/vulcan/keymaps/default/keymap.c | 45 | ||||
| -rw-r--r-- | keyboards/noxary/vulcan/keymaps/default/readme.md | 2 | ||||
| -rw-r--r-- | keyboards/noxary/vulcan/keymaps/via/keymap.c | 63 | ||||
| -rw-r--r-- | keyboards/noxary/vulcan/keymaps/via/readme.md | 2 | ||||
| -rw-r--r-- | keyboards/noxary/vulcan/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/noxary/vulcan/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/noxary/vulcan/rules.mk | 22 | ||||
| -rw-r--r-- | keyboards/noxary/vulcan/vulcan.c | 17 | ||||
| -rw-r--r-- | keyboards/noxary/vulcan/vulcan.h | 41 |
11 files changed, 390 insertions, 0 deletions
diff --git a/keyboards/noxary/vulcan/config.h b/keyboards/noxary/vulcan/config.h new file mode 100644 index 000000000..6281cb07d --- /dev/null +++ b/keyboards/noxary/vulcan/config.h | |||
| @@ -0,0 +1,107 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Ryota Goto | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0xA103 | ||
| 24 | #define PRODUCT_ID 0x0011 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER Noxary | ||
| 27 | #define PRODUCT Vulcan | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 5 | ||
| 31 | #define MATRIX_COLS 14 | ||
| 32 | |||
| 33 | /* | ||
| 34 | * Keyboard Matrix Assignments | ||
| 35 | * | ||
| 36 | * Change this to how you wired your keyboard | ||
| 37 | * COLS: AVR pins used for columns, left to right | ||
| 38 | * ROWS: AVR pins used for rows, top to bottom | ||
| 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 41 | * | ||
| 42 | */ | ||
| 43 | #define MATRIX_ROW_PINS { D1, D0, D2, F0, F1 } | ||
| 44 | #define MATRIX_COL_PINS { F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3 } | ||
| 45 | #define UNUSED_PINS | ||
| 46 | |||
| 47 | /* COL2ROW, ROW2COL*/ | ||
| 48 | #define DIODE_DIRECTION COL2ROW | ||
| 49 | |||
| 50 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 51 | #define DEBOUNCE 5 | ||
| 52 | |||
| 53 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 54 | //#define MATRIX_HAS_GHOST | ||
| 55 | |||
| 56 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 57 | #define LOCKING_SUPPORT_ENABLE | ||
| 58 | /* Locking resynchronize hack */ | ||
| 59 | #define LOCKING_RESYNC_ENABLE | ||
| 60 | |||
| 61 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 62 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 63 | */ | ||
| 64 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
| 65 | |||
| 66 | /* | ||
| 67 | * Force NKRO | ||
| 68 | * | ||
| 69 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 70 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 71 | * makefile for this to work.) | ||
| 72 | * | ||
| 73 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 74 | * until the next keyboard reset. | ||
| 75 | * | ||
| 76 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 77 | * fully operational during normal computer usage. | ||
| 78 | * | ||
| 79 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 80 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 81 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 82 | * power-up. | ||
| 83 | * | ||
| 84 | */ | ||
| 85 | //#define FORCE_NKRO | ||
| 86 | |||
| 87 | /* | ||
| 88 | * Feature disable options | ||
| 89 | * These options are also useful to firmware size reduction. | ||
| 90 | */ | ||
| 91 | |||
| 92 | /* disable debug print */ | ||
| 93 | //#define NO_DEBUG | ||
| 94 | |||
| 95 | /* disable print */ | ||
| 96 | //#define NO_PRINT | ||
| 97 | |||
| 98 | /* disable action features */ | ||
| 99 | //#define NO_ACTION_LAYER | ||
| 100 | //#define NO_ACTION_TAPPING | ||
| 101 | //#define NO_ACTION_ONESHOT | ||
| 102 | //#define NO_ACTION_MACRO | ||
| 103 | //#define NO_ACTION_FUNCTION | ||
| 104 | |||
| 105 | /* Bootmagic Lite key configuration */ | ||
| 106 | // #define BOOTMAGIC_LITE_ROW 0 | ||
| 107 | // #define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/noxary/vulcan/info.json b/keyboards/noxary/vulcan/info.json new file mode 100644 index 000000000..6e54519fb --- /dev/null +++ b/keyboards/noxary/vulcan/info.json | |||
| @@ -0,0 +1,75 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "vulcan", | ||
| 3 | "url": "https://noxary.co/products/vulcan-pro-base", | ||
| 4 | "maintainer": "ai03", | ||
| 5 | "width": 15, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"Esc", "x":0, "y":0}, | ||
| 11 | {"label":"!", "x":1, "y":0}, | ||
| 12 | {"label":"@", "x":2, "y":0}, | ||
| 13 | {"label":"#", "x":3, "y":0}, | ||
| 14 | {"label":"$", "x":4, "y":0}, | ||
| 15 | {"label":"%", "x":5, "y":0}, | ||
| 16 | {"label":"^", "x":6, "y":0}, | ||
| 17 | {"label":"&", "x":7, "y":0}, | ||
| 18 | {"label":"*", "x":8, "y":0}, | ||
| 19 | {"label":"(", "x":9, "y":0}, | ||
| 20 | {"label":")", "x":10, "y":0}, | ||
| 21 | {"label":"_", "x":11, "y":0}, | ||
| 22 | {"label":"+", "x":12, "y":0}, | ||
| 23 | {"label":"Back Space", "x":13, "y":0}, | ||
| 24 | {"label":"Delete", "x":14, "y":0}, | ||
| 25 | {"label":"Tab", "x":0, "y":1, "w":1.5}, | ||
| 26 | {"label":"Q", "x":1.5, "y":1}, | ||
| 27 | {"label":"W", "x":2.5, "y":1}, | ||
| 28 | {"label":"E", "x":3.5, "y":1}, | ||
| 29 | {"label":"R", "x":4.5, "y":1}, | ||
| 30 | {"label":"T", "x":5.5, "y":1}, | ||
| 31 | {"label":"Y", "x":6.5, "y":1}, | ||
| 32 | {"label":"U", "x":7.5, "y":1}, | ||
| 33 | {"label":"I", "x":8.5, "y":1}, | ||
| 34 | {"label":"O", "x":9.5, "y":1}, | ||
| 35 | {"label":"P", "x":10.5, "y":1}, | ||
| 36 | {"label":"{", "x":11.5, "y":1}, | ||
| 37 | {"label":"}", "x":12.5, "y":1}, | ||
| 38 | {"label":"|", "x":13.5, "y":1, "w":1.5}, | ||
| 39 | {"label":"Caps Lock", "x":0, "y":2, "w":1.25}, | ||
| 40 | {"label":"A", "x":1.75, "y":2}, | ||
| 41 | {"label":"S", "x":2.75, "y":2}, | ||
| 42 | {"label":"D", "x":3.75, "y":2}, | ||
| 43 | {"label":"F", "x":4.75, "y":2}, | ||
| 44 | {"label":"G", "x":5.75, "y":2}, | ||
| 45 | {"label":"H", "x":6.75, "y":2}, | ||
| 46 | {"label":"J", "x":7.75, "y":2}, | ||
| 47 | {"label":"K", "x":8.75, "y":2}, | ||
| 48 | {"label":"L", "x":9.75, "y":2}, | ||
| 49 | {"label":":", "x":10.75, "y":2}, | ||
| 50 | {"label":"\"", "x":11.75, "y":2}, | ||
| 51 | {"label":"Enter", "x":12.75, "y":2, "w":2.25}, | ||
| 52 | {"label":"Shift", "x":0, "y":3, "w":2.25}, | ||
| 53 | {"label":"Z", "x":2.25, "y":3}, | ||
| 54 | {"label":"X", "x":3.25, "y":3}, | ||
| 55 | {"label":"C", "x":4.25, "y":3}, | ||
| 56 | {"label":"V", "x":5.25, "y":3}, | ||
| 57 | {"label":"B", "x":6.25, "y":3}, | ||
| 58 | {"label":"N", "x":7.25, "y":3}, | ||
| 59 | {"label":"M", "x":8.25, "y":3}, | ||
| 60 | {"label":"<", "x":9.25, "y":3}, | ||
| 61 | {"label":">", "x":10.25, "y":3}, | ||
| 62 | {"label":"?", "x":11.25, "y":3}, | ||
| 63 | {"label":"Shift", "x":12.25, "y":3, "w":1.75}, | ||
| 64 | {"label":"Fn", "x":14, "y":3}, | ||
| 65 | {"label":"Ctrl", "x":0, "y":4, "w":1.5}, | ||
| 66 | {"label":"Win", "x":1.5, "y":4}, | ||
| 67 | {"label":"Alt", "x":2.5, "y":4, "w":1.5}, | ||
| 68 | {"x":4, "y":4, "w":7}, | ||
| 69 | {"label":"Alt", "x":11, "y":4, "w":1.5}, | ||
| 70 | {"label":"Win", "x":12.5, "y":4}, | ||
| 71 | {"label":"Ctrl", "x":13.5, "y":4, "w":1.5} | ||
| 72 | ] | ||
| 73 | } | ||
| 74 | } | ||
| 75 | } \ No newline at end of file | ||
diff --git a/keyboards/noxary/vulcan/keymaps/default/keymap.c b/keyboards/noxary/vulcan/keymaps/default/keymap.c new file mode 100644 index 000000000..d80a451ff --- /dev/null +++ b/keyboards/noxary/vulcan/keymaps/default/keymap.c | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | /* Copyright 2019 Ryota Goto | ||
| 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 | enum layer_names { | ||
| 19 | _BASE, | ||
| 20 | _FN | ||
| 21 | }; | ||
| 22 | |||
| 23 | /* K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K212, | ||
| 24 | * K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, | ||
| 25 | * K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, | ||
| 26 | * K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, | ||
| 27 | * K400, K401, K402, K410, K411, K412, K413 | ||
| 28 | */ | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | [_BASE] = LAYOUT( /* Base */ | ||
| 32 | 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_BSPC, KC_DEL, | ||
| 33 | 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_BSLS, | ||
| 34 | 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, | ||
| 35 | 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), | ||
| 36 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL | ||
| 37 | ), | ||
| 38 | [_FN] = LAYOUT( /* Fn */ | ||
| 39 | RESET, KC_GRV, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 43 | _______, _______, _______, _______, _______, _______, _______ | ||
| 44 | ) | ||
| 45 | }; | ||
diff --git a/keyboards/noxary/vulcan/keymaps/default/readme.md b/keyboards/noxary/vulcan/keymaps/default/readme.md new file mode 100644 index 000000000..64ee9c8a3 --- /dev/null +++ b/keyboards/noxary/vulcan/keymaps/default/readme.md | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | # The default keymap for Vulcan | ||
| 2 | Nothing special \ No newline at end of file | ||
diff --git a/keyboards/noxary/vulcan/keymaps/via/keymap.c b/keyboards/noxary/vulcan/keymaps/via/keymap.c new file mode 100644 index 000000000..155d9c8f4 --- /dev/null +++ b/keyboards/noxary/vulcan/keymaps/via/keymap.c | |||
| @@ -0,0 +1,63 @@ | |||
| 1 | /* Copyright 2019 Ryota Goto | ||
| 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 | enum layer_names { | ||
| 19 | _BASE, | ||
| 20 | _FN, | ||
| 21 | _EXTRA_ONE, | ||
| 22 | _EXTRA_TWO | ||
| 23 | }; | ||
| 24 | |||
| 25 | /* K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K212, | ||
| 26 | * K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, | ||
| 27 | * K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, | ||
| 28 | * K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, | ||
| 29 | * K400, K401, K402, K410, K411, K412, K413 | ||
| 30 | */ | ||
| 31 | |||
| 32 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 33 | [_BASE] = LAYOUT( /* Base */ | ||
| 34 | 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_BSPC, KC_DEL, | ||
| 35 | 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_BSLS, | ||
| 36 | 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, | ||
| 37 | 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), | ||
| 38 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL | ||
| 39 | ), | ||
| 40 | [_FN] = LAYOUT( /* Fn */ | ||
| 41 | _______, KC_GRV, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 45 | _______, _______, _______, _______, _______, _______, _______ | ||
| 46 | ), | ||
| 47 | [_EXTRA_ONE] = LAYOUT( /* Extra layer for via */ | ||
| 48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 49 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 50 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 51 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 52 | _______, _______, _______, _______, _______, _______, _______ | ||
| 53 | ), | ||
| 54 | [_EXTRA_TWO] = LAYOUT( /* Extra layer for via */ | ||
| 55 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 56 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 57 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 58 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 59 | _______, _______, _______, _______, _______, _______, _______ | ||
| 60 | ) | ||
| 61 | }; | ||
| 62 | |||
| 63 | |||
diff --git a/keyboards/noxary/vulcan/keymaps/via/readme.md b/keyboards/noxary/vulcan/keymaps/via/readme.md new file mode 100644 index 000000000..e4393e3fe --- /dev/null +++ b/keyboards/noxary/vulcan/keymaps/via/readme.md | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | # The via keymap for Vulcan | ||
| 2 | For use with VIA configurator \ No newline at end of file | ||
diff --git a/keyboards/noxary/vulcan/keymaps/via/rules.mk b/keyboards/noxary/vulcan/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/noxary/vulcan/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/noxary/vulcan/readme.md b/keyboards/noxary/vulcan/readme.md new file mode 100644 index 000000000..7aacb4ecd --- /dev/null +++ b/keyboards/noxary/vulcan/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # Vulcan | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | High-end 60% keyboard | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [ai03](https://github.com/ai03-2725)/Noxary Keyboards | ||
| 8 | * Hardware Supported: The Vulcan PCB | ||
| 9 | * Hardware Availability: [Noxary Webstore](https://noxary.co/) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make noxary/vulcan:default | ||
| 14 | |||
| 15 | 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/noxary/vulcan/rules.mk b/keyboards/noxary/vulcan/rules.mk new file mode 100644 index 000000000..5f1b6954e --- /dev/null +++ b/keyboards/noxary/vulcan/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 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 = no # Console for debug | ||
| 14 | COMMAND_ENABLE = yes # 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 | ||
diff --git a/keyboards/noxary/vulcan/vulcan.c b/keyboards/noxary/vulcan/vulcan.c new file mode 100644 index 000000000..a36569ecb --- /dev/null +++ b/keyboards/noxary/vulcan/vulcan.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2019 Ryota Goto | ||
| 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 "vulcan.h" | ||
| 17 | |||
diff --git a/keyboards/noxary/vulcan/vulcan.h b/keyboards/noxary/vulcan/vulcan.h new file mode 100644 index 000000000..97ac40ff3 --- /dev/null +++ b/keyboards/noxary/vulcan/vulcan.h | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | /* Copyright 2019 Ryota Goto | ||
| 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 | /* This a shortcut to help you visually see your layout. | ||
| 21 | * | ||
| 22 | * The first section contains all of the arguments representing the physical | ||
| 23 | * layout of the board and position of the keys. | ||
| 24 | * | ||
| 25 | * The second converts the arguments into a two-dimensional array which | ||
| 26 | * represents the switch matrix. | ||
| 27 | */ | ||
| 28 | #define LAYOUT( \ | ||
| 29 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K212, \ | ||
| 30 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, \ | ||
| 31 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, \ | ||
| 32 | K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, \ | ||
| 33 | K400, K401, K402, K410, K411, K412, K413 \ | ||
| 34 | ) \ | ||
| 35 | { \ | ||
| 36 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013 }, \ | ||
| 37 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113 }, \ | ||
| 38 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213 }, \ | ||
| 39 | { K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313 }, \ | ||
| 40 | { K400, K401, K402, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K410, K411, K412, K413 } \ | ||
| 41 | } | ||
