diff options
| author | Flexerm <51996324+Flexerm@users.noreply.github.com> | 2020-03-18 19:56:22 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-18 12:56:22 -0700 |
| commit | 13d736d6ab6180072dabce17491f081fba2a2f38 (patch) | |
| tree | 44efa17c40e5fd011cc55750e5b5c85da2b75126 /keyboards/flx | |
| parent | 0b810bdff385d78e2b5568d270438b15d678948f (diff) | |
| download | qmk_firmware-13d736d6ab6180072dabce17491f081fba2a2f38.tar.gz qmk_firmware-13d736d6ab6180072dabce17491f081fba2a2f38.zip | |
[Keyboard] FLX Lodestone (#8451)
* Add Lodestone PCB
Working Firmware for Lodestone PCB tested on physical PCB prototypes.
* Update keyboards/flx/lodestone/lodestone.c
* Update keyboards/flx/lodestone/keymaps/default/config.h
* Update keyboards/flx/lodestone/rules.mk
* Update keyboards/flx/lodestone/readme.md
* Delete config.h
* Update keyboards/flx/lodestone/info.json
Suggested by noroadsleft
* Update keyboards/flx/lodestone/info.json
* Update keyboards/flx/lodestone/info.json
Changed maintainer name as suggested.
* Update keyboards/flx/lodestone/keymaps/default/readme.md
* Update keyboards/flx/lodestone/info.json
* Update keyboards/flx/lodestone/rules.mk
Changed Link_Time_Optimization to LTO didn't know this was a thing :)
* Update keyboards/flx/lodestone/keymaps/default/keymap.c
Removed 2 unessisary layers from the default map.
* Update keyboards/flx/lodestone/readme.md
* Update keyboards/flx/lodestone/info.json
* Changed from LAYOUT to LAYOUT_all
AS suggested by noroadsleft, changed 4 files to match, and re-testeed on my hardware to confirm working.
* Update keyboards/flx/lodestone/config.h
Cleaned up Manu, Product and Descriptor as suggested.
* Update keyboards/flx/lodestone/readme.md
Diffstat (limited to 'keyboards/flx')
| -rw-r--r-- | keyboards/flx/lodestone/config.h | 70 | ||||
| -rw-r--r-- | keyboards/flx/lodestone/info.json | 84 | ||||
| -rw-r--r-- | keyboards/flx/lodestone/keymaps/default/keymap.c | 20 | ||||
| -rw-r--r-- | keyboards/flx/lodestone/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/flx/lodestone/keymaps/via/keymap.c | 37 | ||||
| -rw-r--r-- | keyboards/flx/lodestone/keymaps/via/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/flx/lodestone/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/flx/lodestone/lodestone.c | 17 | ||||
| -rw-r--r-- | keyboards/flx/lodestone/lodestone.h | 37 | ||||
| -rw-r--r-- | keyboards/flx/lodestone/readme.md | 13 | ||||
| -rw-r--r-- | keyboards/flx/lodestone/rules.mk | 33 |
11 files changed, 314 insertions, 0 deletions
diff --git a/keyboards/flx/lodestone/config.h b/keyboards/flx/lodestone/config.h new file mode 100644 index 000000000..b2a1022a4 --- /dev/null +++ b/keyboards/flx/lodestone/config.h | |||
| @@ -0,0 +1,70 @@ | |||
| 1 | /* Copyright 2020 Shaun Mitchell (Flex) | ||
| 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 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0x4658 //FX | ||
| 23 | #define PRODUCT_ID 0x4C53 //LS | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER FLX | ||
| 26 | #define PRODUCT Lodestone | ||
| 27 | #define DESCRIPTION FLX Lodestone | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 5 | ||
| 31 | #define MATRIX_COLS 16 | ||
| 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 { B3, B7, F0, F1, F4 } | ||
| 44 | #define MATRIX_COL_PINS { B2, F5, F6, D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7 } | ||
| 45 | #define UNUSED_PINS | ||
| 46 | |||
| 47 | /* COL2ROW, ROW2COL*/ | ||
| 48 | #define DIODE_DIRECTION COL2ROW | ||
| 49 | |||
| 50 | // #define BACKLIGHT_PIN B7 | ||
| 51 | // #define BACKLIGHT_BREATHING | ||
| 52 | // #define BACKLIGHT_LEVELS 3 | ||
| 53 | |||
| 54 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 55 | #define DEBOUNCE 5 | ||
| 56 | |||
| 57 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 58 | //#define MATRIX_HAS_GHOST | ||
| 59 | |||
| 60 | /* number of backlight levels */ | ||
| 61 | |||
| 62 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 63 | #define LOCKING_SUPPORT_ENABLE | ||
| 64 | /* Locking resynchronize hack */ | ||
| 65 | #define LOCKING_RESYNC_ENABLE | ||
| 66 | |||
| 67 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 68 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 69 | */ | ||
| 70 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
diff --git a/keyboards/flx/lodestone/info.json b/keyboards/flx/lodestone/info.json new file mode 100644 index 000000000..52f5580b1 --- /dev/null +++ b/keyboards/flx/lodestone/info.json | |||
| @@ -0,0 +1,84 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "lodestone", | ||
| 3 | "url": "https://prototypist.net/", | ||
| 4 | "maintainer": "Flexerm", | ||
| 5 | "width": 16, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_all": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"K00 (B3,B2)", "x":0, "y":0}, | ||
| 11 | {"label":"K01 (B3,F5)", "x":1, "y":0}, | ||
| 12 | {"label":"K02 (B3,F6)", "x":2, "y":0}, | ||
| 13 | {"label":"K03 (B3,D0)", "x":3, "y":0}, | ||
| 14 | {"label":"K04 (B3,D1)", "x":4, "y":0}, | ||
| 15 | {"label":"K05 (B3,D2)", "x":5, "y":0}, | ||
| 16 | {"label":"K06 (B3,D3)", "x":6, "y":0}, | ||
| 17 | {"label":"K07 (B3,D5)", "x":7, "y":0}, | ||
| 18 | {"label":"K08 (B3,D4)", "x":8, "y":0}, | ||
| 19 | {"label":"K09 (B3,D6)", "x":9, "y":0}, | ||
| 20 | {"label":"K0A (B3,D7)", "x":10, "y":0}, | ||
| 21 | {"label":"K0B (B3,B4)", "x":11, "y":0}, | ||
| 22 | {"label":"K0C (B3,B5)", "x":12, "y":0}, | ||
| 23 | {"label":"K0D (B3,B6)", "x":13, "y":0}, | ||
| 24 | {"label":"K0E (B3,C6)", "x":14, "y":0}, | ||
| 25 | {"label":"K0F (B3,C7)", "x":15, "y":0}, | ||
| 26 | {"label":"K10 (B7,B2)", "x":0, "y":1, "w":1.5}, | ||
| 27 | {"label":"K11 (B7,F5)", "x":1.5, "y":1}, | ||
| 28 | {"label":"K12 (B7,F6)", "x":2.5, "y":1}, | ||
| 29 | {"label":"K13 (B7,D0)", "x":3.5, "y":1}, | ||
| 30 | {"label":"K14 (B7,D1)", "x":4.5, "y":1}, | ||
| 31 | {"label":"K15 (B7,D2)", "x":5.5, "y":1}, | ||
| 32 | {"label":"K16 (B7,D3)", "x":6.5, "y":1}, | ||
| 33 | {"label":"K17 (B7,D5)", "x":7.5, "y":1}, | ||
| 34 | {"label":"K18 (B7,D4)", "x":8.5, "y":1}, | ||
| 35 | {"label":"K19 (B7,D6)", "x":9.5, "y":1}, | ||
| 36 | {"label":"K1A (B7,D7)", "x":10.5, "y":1}, | ||
| 37 | {"label":"K1B (B7,B4)", "x":11.5, "y":1}, | ||
| 38 | {"label":"K1C (B7,B5)", "x":12.5, "y":1}, | ||
| 39 | {"label":"K1D (B7,B6)", "x":13.5, "y":1, "w":1.5}, | ||
| 40 | {"label":"K1F (B7,C7)", "x":15, "y":1}, | ||
| 41 | {"label":"K20 (F0,B2)", "x":0, "y":2, "w":1.75}, | ||
| 42 | {"label":"K21 (F0,F5)", "x":1.75, "y":2}, | ||
| 43 | {"label":"K22 (F0,F6)", "x":2.75, "y":2}, | ||
| 44 | {"label":"K23 (F0,D0)", "x":3.75, "y":2}, | ||
| 45 | {"label":"K24 (F0,D1)", "x":4.75, "y":2}, | ||
| 46 | {"label":"K25 (F0,D2)", "x":5.75, "y":2}, | ||
| 47 | {"label":"K26 (F0,D3)", "x":6.75, "y":2}, | ||
| 48 | {"label":"K27 (F0,D5)", "x":7.75, "y":2}, | ||
| 49 | {"label":"K28 (F0,D4)", "x":8.75, "y":2}, | ||
| 50 | {"label":"K29 (F0,D6)", "x":9.75, "y":2}, | ||
| 51 | {"label":"K2A (F0,D7)", "x":10.75, "y":2}, | ||
| 52 | {"label":"K2B (F0,B4)", "x":11.75, "y":2}, | ||
| 53 | {"label":"K2C (F0,B5)", "x":12.75, "y":2}, | ||
| 54 | {"label":"K2D (F0,B6)", "x":13.75, "y":2, "w":1.25}, | ||
| 55 | {"label":"K2F (F0,C7)", "x":15, "y":2}, | ||
| 56 | {"label":"K30 (F1,B2)", "x":0, "y":3, "w":1.25}, | ||
| 57 | {"label":"K31 (F1,F5)", "x":1.25, "y":3}, | ||
| 58 | {"label":"K32 (F1,F6)", "x":2.25, "y":3}, | ||
| 59 | {"label":"K33 (F1,D0)", "x":3.25, "y":3}, | ||
| 60 | {"label":"K34 (F1,D1)", "x":4.25, "y":3}, | ||
| 61 | {"label":"K35 (F1,D2)", "x":5.25, "y":3}, | ||
| 62 | {"label":"K36 (F1,D3)", "x":6.25, "y":3}, | ||
| 63 | {"label":"K37 (F1,D5)", "x":7.25, "y":3}, | ||
| 64 | {"label":"K38 (F1,D4)", "x":8.25, "y":3}, | ||
| 65 | {"label":"K39 (F1,D6)", "x":9.25, "y":3}, | ||
| 66 | {"label":"K3A (F1,D7)", "x":10.25, "y":3}, | ||
| 67 | {"label":"K3B (F1,B4)", "x":11.25, "y":3}, | ||
| 68 | {"label":"K3C (F1,B5)", "x":12.25, "y":3, "w":1.75}, | ||
| 69 | {"label":"K3E (F1,C6)", "x":14, "y":3}, | ||
| 70 | {"label":"K3F (F1,C7)", "x":15, "y":3}, | ||
| 71 | {"label":"K40 (F4,B2)", "x":0, "y":4, "w":1.225}, | ||
| 72 | {"label":"K41 (F4,F5)", "x":1.25, "y":4, "w":1.25}, | ||
| 73 | {"label":"K42 (F4,F6)", "x":2.5, "y":4, "w":1.25}, | ||
| 74 | {"label":"K46 (F4,D3)", "x":3.75, "y":4, "w":6.25}, | ||
| 75 | {"label":"K4A (F4,D7)", "x":10, "y":4, "w":1.25}, | ||
| 76 | {"label":"K4B (F4,B4)", "x":11.25, "y":4, "w":1.25}, | ||
| 77 | {"label":"K4D (F4,B6)", "x":13, "y":4}, | ||
| 78 | {"label":"K4E (F4,C6)", "x":14, "y":4}, | ||
| 79 | {"label":"K4F (F4,C7)", "x":15, "y":4} | ||
| 80 | ] | ||
| 81 | } | ||
| 82 | } | ||
| 83 | } | ||
| 84 | |||
diff --git a/keyboards/flx/lodestone/keymaps/default/keymap.c b/keyboards/flx/lodestone/keymaps/default/keymap.c new file mode 100644 index 000000000..7ddaceaa7 --- /dev/null +++ b/keyboards/flx/lodestone/keymaps/default/keymap.c | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | |||
| 5 | // Default layer | ||
| 6 | [0] = LAYOUT_all( | ||
| 7 | 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_BSPC, KC_HOME, | ||
| 8 | 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, KC_PGUP, | ||
| 9 | 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_NUHS, KC_ENT, KC_PGDN, | ||
| 10 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, | ||
| 11 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), | ||
| 12 | |||
| 13 | // Fn1 Layer | ||
| 14 | [1] = LAYOUT_all( | ||
| 15 | KC_GRV, 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_DEL, KC_DEL, KC_TRNS, | ||
| 16 | KC_CAPS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_TRNS, KC_TRNS, | ||
| 17 | KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 18 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_END, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 19 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 20 | }; | ||
diff --git a/keyboards/flx/lodestone/keymaps/default/readme.md b/keyboards/flx/lodestone/keymaps/default/readme.md new file mode 100644 index 000000000..55aeb57ea --- /dev/null +++ b/keyboards/flx/lodestone/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for Lodestone | |||
diff --git a/keyboards/flx/lodestone/keymaps/via/keymap.c b/keyboards/flx/lodestone/keymaps/via/keymap.c new file mode 100644 index 000000000..669d7fc44 --- /dev/null +++ b/keyboards/flx/lodestone/keymaps/via/keymap.c | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | |||
| 5 | // Default layer | ||
| 6 | [0] = LAYOUT_all( | ||
| 7 | 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_BSPC, KC_HOME, | ||
| 8 | 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, KC_PGUP, | ||
| 9 | 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_NUHS, KC_ENT, KC_PGDN, | ||
| 10 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, | ||
| 11 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), | ||
| 12 | |||
| 13 | // Fn1 Layer | ||
| 14 | [1] = LAYOUT_all( | ||
| 15 | KC_GRV, 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_DEL, KC_DEL, KC_TRNS, | ||
| 16 | KC_CAPS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_TRNS, KC_TRNS, | ||
| 17 | KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 18 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_END, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 19 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 20 | |||
| 21 | // Fn2 Layer | ||
| 22 | [2] = LAYOUT_all( | ||
| 23 | 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, KC_TRNS, | ||
| 24 | 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, | ||
| 25 | 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, | ||
| 26 | 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, | ||
| 27 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 28 | |||
| 29 | // Fn3 Layer | ||
| 30 | [3] = LAYOUT_all( | ||
| 31 | 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, KC_TRNS, | ||
| 32 | 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, | ||
| 33 | 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, | ||
| 34 | 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, | ||
| 35 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 36 | }; | ||
| 37 | |||
diff --git a/keyboards/flx/lodestone/keymaps/via/readme.md b/keyboards/flx/lodestone/keymaps/via/readme.md new file mode 100644 index 000000000..9ee2c477b --- /dev/null +++ b/keyboards/flx/lodestone/keymaps/via/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default VIA keymap for Lodestone \ No newline at end of file | |||
diff --git a/keyboards/flx/lodestone/keymaps/via/rules.mk b/keyboards/flx/lodestone/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/flx/lodestone/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/flx/lodestone/lodestone.c b/keyboards/flx/lodestone/lodestone.c new file mode 100644 index 000000000..bb0df70cc --- /dev/null +++ b/keyboards/flx/lodestone/lodestone.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2020 Shaun Mitchell (Flex) | ||
| 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 | |||
| 17 | #include "lodestone.h" | ||
diff --git a/keyboards/flx/lodestone/lodestone.h b/keyboards/flx/lodestone/lodestone.h new file mode 100644 index 000000000..4e2323556 --- /dev/null +++ b/keyboards/flx/lodestone/lodestone.h | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /* Copyright 2020 Shaun Mitchell (Flex) | ||
| 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 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define ___ KC_NO | ||
| 22 | |||
| 23 | // standard 65% layout ANSI + ISO | ||
| 24 | |||
| 25 | #define LAYOUT_all( \ | ||
| 26 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \ | ||
| 27 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1F, \ | ||
| 28 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \ | ||
| 29 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, K3F, \ | ||
| 30 | K40, K41, K42, K46, K4A, K4B, K4D, K4E, K4F \ | ||
| 31 | ) { \ | ||
| 32 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \ | ||
| 33 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, ___, K1F }, \ | ||
| 34 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___, K2F }, \ | ||
| 35 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, ___, K3E, K3F }, \ | ||
| 36 | { K40, K41, K42, ___, ___, ___, K46, ___, ___, ___, K4A, K4B, ___, K4D, K4E, K4F }, \ | ||
| 37 | } | ||
diff --git a/keyboards/flx/lodestone/readme.md b/keyboards/flx/lodestone/readme.md new file mode 100644 index 000000000..e52d8d0c6 --- /dev/null +++ b/keyboards/flx/lodestone/readme.md | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | # FLX & proto[Typist] Lodestone | ||
| 2 | |||
| 3 | Lodestone is a keyboard PCB supporting 65% layout with one bottom row blocker, designed by Flex of FLX Keyboards. [More info at proto[Typist]](https://prototypist.net/) | ||
| 4 | |||
| 5 | * Keyboard Maintainer: [Flexerm](https://github.com/Flexerm) | ||
| 6 | * Hardware Supported: FLX - Lodestone (LS65) PCB | ||
| 7 | * Hardware Availability: [proto[Typist]](https://prototypist.net/) | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make flx/lodestone:default | ||
| 12 | |||
| 13 | 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/flx/lodestone/rules.mk b/keyboards/flx/lodestone/rules.mk new file mode 100644 index 000000000..b7eb5514b --- /dev/null +++ b/keyboards/flx/lodestone/rules.mk | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = atmel-dfu | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # change yes to no to disable | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 18 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 20 | CONSOLE_ENABLE = no # Console for debug | ||
| 21 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 24 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 25 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 26 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 27 | MIDI_ENABLE = no # MIDI support | ||
| 28 | UNICODE_ENABLE = no # Unicode | ||
| 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 30 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | ||
| 33 | LTO_ENABLE = yes | ||
