Browse Source

Initial firmware for Forever65 (#12572)

pull/12647/head
Joel Challis 3 years ago
committed by GitHub
parent
commit
f778ede8bd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 366 additions and 0 deletions
  1. +71
    -0
      keyboards/forever65/config.h
  2. +16
    -0
      keyboards/forever65/forever65.c
  3. +18
    -0
      keyboards/forever65/forever65.h
  4. +169
    -0
      keyboards/forever65/info.json
  5. +27
    -0
      keyboards/forever65/keymaps/default/keymap.c
  6. +48
    -0
      keyboards/forever65/keymaps/via/keymap.c
  7. +1
    -0
      keyboards/forever65/keymaps/via/rules.mk
  8. +15
    -0
      keyboards/forever65/readme.md
  9. +1
    -0
      keyboards/forever65/rules.mk

+ 71
- 0
keyboards/forever65/config.h View File

@ -0,0 +1,71 @@
/* Copyright 2021 zvecr<git@zvecr.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
* This is useful for the Windows task manager shortcut (ctrl+shift+esc).
*/
//#define GRAVE_ESC_CTRL_OVERRIDE
/*
* Force NKRO
*
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
* makefile for this to work.)
*
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
* until the next keyboard reset.
*
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
* fully operational during normal computer usage.
*
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
* power-up.
*
*/
//#define FORCE_NKRO
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
/* disable these deprecated features by default */
#define NO_ACTION_MACRO
#define NO_ACTION_FUNCTION
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE

+ 16
- 0
keyboards/forever65/forever65.c View File

@ -0,0 +1,16 @@
/* Copyright 2021 zvecr<git@zvecr.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "forever65.h"

+ 18
- 0
keyboards/forever65/forever65.h View File

@ -0,0 +1,18 @@
/* Copyright 2021 zvecr<git@zvecr.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "quantum.h"

+ 169
- 0
keyboards/forever65/info.json View File

@ -0,0 +1,169 @@
{
"keyboard_name": "forever65",
"manufacturer": "Nightingale Studios",
"maintainer": "zvecr",
"processor": "STM32F072",
"diode_direction": "COL2ROW",
"matrix_pins": {
"cols": ["A3", "F1", "F0", "C15", "C14", "C13", "B11", "B10", "B2", "B1", "B0", "A7", "A5", "A6", "A4", "B5"],
"rows": ["B15", "B14", "B13", "B12", "B6"]
},
"usb": {
"vid": "0x4E53",
"pid": "0x0F65",
"device_ver": "0x0001"
},
"features": {
"bootmagic_lite": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"width": 16,
"height": 5,
"layouts": {
"LAYOUT": {
"layout": [
{ "matrix": [0, 0], "label": "Esc", "x": 0, "y": 0 },
{ "matrix": [0, 1], "label": "!", "x": 1, "y": 0 },
{ "matrix": [0, 2], "label": "@", "x": 2, "y": 0 },
{ "matrix": [0, 3], "label": "#", "x": 3, "y": 0 },
{ "matrix": [0, 4], "label": "$", "x": 4, "y": 0 },
{ "matrix": [0, 5], "label": "%", "x": 5, "y": 0 },
{ "matrix": [0, 6], "label": "^", "x": 6, "y": 0 },
{ "matrix": [0, 7], "label": "&", "x": 7, "y": 0 },
{ "matrix": [0, 8], "label": "*", "x": 8, "y": 0 },
{ "matrix": [0, 9], "label": "(", "x": 9, "y": 0 },
{ "matrix": [0, 10], "label": ")", "x": 10, "y": 0 },
{ "matrix": [0, 11], "label": "_", "x": 11, "y": 0 },
{ "matrix": [0, 12], "label": "+", "x": 12, "y": 0 },
{ "matrix": [0, 13], "label": "Backspace", "w": 2, "x": 13, "y": 0 },
{ "matrix": [1, 0], "label": "Tab", "w": 1.5, "x": 0, "y": 1 },
{ "matrix": [1, 1], "label": "Q", "x": 1.5, "y": 1 },
{ "matrix": [1, 2], "label": "W", "x": 2.5, "y": 1 },
{ "matrix": [1, 3], "label": "E", "x": 3.5, "y": 1 },
{ "matrix": [1, 4], "label": "R", "x": 4.5, "y": 1 },
{ "matrix": [1, 5], "label": "T", "x": 5.5, "y": 1 },
{ "matrix": [1, 6], "label": "Y", "x": 6.5, "y": 1 },
{ "matrix": [1, 7], "label": "U", "x": 7.5, "y": 1 },
{ "matrix": [1, 8], "label": "I", "x": 8.5, "y": 1 },
{ "matrix": [1, 9], "label": "O", "x": 9.5, "y": 1 },
{ "matrix": [1, 10], "label": "P", "x": 10.5, "y": 1 },
{ "matrix": [1, 11], "label": "{", "x": 11.5, "y": 1 },
{ "matrix": [1, 12], "label": "}", "x": 12.5, "y": 1 },
{ "matrix": [1, 13], "label": "|", "w": 1.5, "x": 13.5, "y": 1 },
{ "matrix": [1, 15], "label": "Delete", "x": 15, "y": 1 },
{ "matrix": [2, 0], "label": "Caps Lock", "w": 1.75, "x": 0, "y": 2 },
{ "matrix": [2, 1], "label": "A", "x": 1.75, "y": 2 },
{ "matrix": [2, 2], "label": "S", "x": 2.75, "y": 2 },
{ "matrix": [2, 3], "label": "D", "x": 3.75, "y": 2 },
{ "matrix": [2, 4], "label": "F", "x": 4.75, "y": 2 },
{ "matrix": [2, 5], "label": "G", "x": 5.75, "y": 2 },
{ "matrix": [2, 6], "label": "H", "x": 6.75, "y": 2 },
{ "matrix": [2, 7], "label": "J", "x": 7.75, "y": 2 },
{ "matrix": [2, 8], "label": "K", "x": 8.75, "y": 2 },
{ "matrix": [2, 9], "label": "L", "x": 9.75, "y": 2 },
{ "matrix": [2, 10], "label": ":", "x": 10.75, "y": 2 },
{ "matrix": [2, 11], "label": "\"", "x": 11.75, "y": 2 },
{ "matrix": [2, 12], "label": "Enter", "w": 2.25, "x": 12.75, "y": 2 },
{ "matrix": [2, 15], "label": "PgUp", "x": 15, "y": 2 },
{ "matrix": [3, 0], "label": "Shift", "w": 2.25, "x": 0, "y": 3 },
{ "matrix": [3, 1], "label": "Z", "x": 2.25, "y": 3 },
{ "matrix": [3, 2], "label": "X", "x": 3.25, "y": 3 },
{ "matrix": [3, 3], "label": "C", "x": 4.25, "y": 3 },
{ "matrix": [3, 4], "label": "V", "x": 5.25, "y": 3 },
{ "matrix": [3, 5], "label": "B", "x": 6.25, "y": 3 },
{ "matrix": [3, 6], "label": "N", "x": 7.25, "y": 3 },
{ "matrix": [3, 7], "label": "M", "x": 8.25, "y": 3 },
{ "matrix": [3, 8], "label": "<", "x": 9.25, "y": 3 },
{ "matrix": [3, 9], "label": ">", "x": 10.25, "y": 3 },
{ "matrix": [3, 10], "label": "?", "x": 11.25, "y": 3 },
{ "matrix": [3, 11], "label": "Shift", "w": 1.75, "x": 12.25, "y": 3 },
{ "matrix": [3, 13], "label": "Up", "x": 14, "y": 3 },
{ "matrix": [3, 15], "label": "PgDn", "x": 15, "y": 3 },
{ "matrix": [4, 0], "label": "Ctrl", "w": 1.25, "x": 0, "y": 4 },
{ "matrix": [4, 1], "label": "Win", "w": 1.25, "x": 1.25, "y": 4 },
{ "matrix": [4, 2], "label": "Alt", "w": 1.25, "x": 2.5, "y": 4 },
{ "matrix": [4, 4], "w": 6.25, "x": 3.75, "y": 4 },
{ "matrix": [4, 9], "label": "Alt", "w": 1.25, "x": 10, "y": 4 },
{ "matrix": [4, 10], "label": "Ctrl", "w": 1.25, "x": 11.25, "y": 4 },
{ "matrix": [4, 11], "label": "Left", "x": 13, "y": 4 },
{ "matrix": [4, 13], "label": "Down", "x": 14, "y": 4 },
{ "matrix": [4, 15], "label": "Right", "x": 15, "y": 4 }
]
},
"LAYOUT_all": {
"layout": [
{ "matrix": [0, 0], "label": "Esc", "x": 0, "y": 0 },
{ "matrix": [0, 1], "label": "!", "x": 1, "y": 0 },
{ "matrix": [0, 2], "label": "@", "x": 2, "y": 0 },
{ "matrix": [0, 3], "label": "#", "x": 3, "y": 0 },
{ "matrix": [0, 4], "label": "$", "x": 4, "y": 0 },
{ "matrix": [0, 5], "label": "%", "x": 5, "y": 0 },
{ "matrix": [0, 6], "label": "^", "x": 6, "y": 0 },
{ "matrix": [0, 7], "label": "&", "x": 7, "y": 0 },
{ "matrix": [0, 8], "label": "*", "x": 8, "y": 0 },
{ "matrix": [0, 9], "label": "(", "x": 9, "y": 0 },
{ "matrix": [0, 10], "label": ")", "x": 10, "y": 0 },
{ "matrix": [0, 11], "label": "_", "x": 11, "y": 0 },
{ "matrix": [0, 12], "label": "+", "x": 12, "y": 0 },
{ "matrix": [0, 13], "label": "Backspace", "x": 13, "y": 0 },
{ "matrix": [0, 14], "label": "Backspace", "x": 14, "y": 0 },
{ "matrix": [1, 0], "label": "Tab", "w": 1.5, "x": 0, "y": 1 },
{ "matrix": [1, 1], "label": "Q", "x": 1.5, "y": 1 },
{ "matrix": [1, 2], "label": "W", "x": 2.5, "y": 1 },
{ "matrix": [1, 3], "label": "E", "x": 3.5, "y": 1 },
{ "matrix": [1, 4], "label": "R", "x": 4.5, "y": 1 },
{ "matrix": [1, 5], "label": "T", "x": 5.5, "y": 1 },
{ "matrix": [1, 6], "label": "Y", "x": 6.5, "y": 1 },
{ "matrix": [1, 7], "label": "U", "x": 7.5, "y": 1 },
{ "matrix": [1, 8], "label": "I", "x": 8.5, "y": 1 },
{ "matrix": [1, 9], "label": "O", "x": 9.5, "y": 1 },
{ "matrix": [1, 10], "label": "P", "x": 10.5, "y": 1 },
{ "matrix": [1, 11], "label": "{", "x": 11.5, "y": 1 },
{ "matrix": [1, 12], "label": "}", "x": 12.5, "y": 1 },
{ "matrix": [1, 13], "label": "|", "w": 1.5, "x": 13.5, "y": 1 },
{ "matrix": [1, 15], "label": "Delete", "x": 15, "y": 1 },
{ "matrix": [2, 0], "label": "Caps Lock", "w": 1.75, "x": 0, "y": 2 },
{ "matrix": [2, 1], "label": "A", "x": 1.75, "y": 2 },
{ "matrix": [2, 2], "label": "S", "x": 2.75, "y": 2 },
{ "matrix": [2, 3], "label": "D", "x": 3.75, "y": 2 },
{ "matrix": [2, 4], "label": "F", "x": 4.75, "y": 2 },
{ "matrix": [2, 5], "label": "G", "x": 5.75, "y": 2 },
{ "matrix": [2, 6], "label": "H", "x": 6.75, "y": 2 },
{ "matrix": [2, 7], "label": "J", "x": 7.75, "y": 2 },
{ "matrix": [2, 8], "label": "K", "x": 8.75, "y": 2 },
{ "matrix": [2, 9], "label": "L", "x": 9.75, "y": 2 },
{ "matrix": [2, 10], "label": ":", "x": 10.75, "y": 2 },
{ "matrix": [2, 11], "label": "\"", "x": 11.75, "y": 2 },
{ "matrix": [2, 12], "label": "Enter", "w": 2.25, "x": 12.75, "y": 2 },
{ "matrix": [2, 15], "label": "PgUp", "x": 15, "y": 2 },
{ "matrix": [3, 0], "label": "Shift", "w": 2.25, "x": 0, "y": 3 },
{ "matrix": [3, 1], "label": "Z", "x": 2.25, "y": 3 },
{ "matrix": [3, 2], "label": "X", "x": 3.25, "y": 3 },
{ "matrix": [3, 3], "label": "C", "x": 4.25, "y": 3 },
{ "matrix": [3, 4], "label": "V", "x": 5.25, "y": 3 },
{ "matrix": [3, 5], "label": "B", "x": 6.25, "y": 3 },
{ "matrix": [3, 6], "label": "N", "x": 7.25, "y": 3 },
{ "matrix": [3, 7], "label": "M", "x": 8.25, "y": 3 },
{ "matrix": [3, 8], "label": "<", "x": 9.25, "y": 3 },
{ "matrix": [3, 9], "label": ">", "x": 10.25, "y": 3 },
{ "matrix": [3, 10], "label": "?", "x": 11.25, "y": 3 },
{ "matrix": [3, 11], "label": "Shift", "w": 1.75, "x": 12.25, "y": 3 },
{ "matrix": [3, 13], "label": "Up", "x": 14, "y": 3 },
{ "matrix": [3, 15], "label": "PgDn", "x": 15, "y": 3 },
{ "matrix": [4, 0], "label": "Ctrl", "w": 1.25, "x": 0, "y": 4 },
{ "matrix": [4, 1], "label": "Win", "w": 1.25, "x": 1.25, "y": 4 },
{ "matrix": [4, 2], "label": "Alt", "w": 1.25, "x": 2.5, "y": 4 },
{ "matrix": [4, 4], "w": 6.25, "x": 3.75, "y": 4 },
{ "matrix": [4, 9], "label": "Alt", "w": 1.25, "x": 10, "y": 4 },
{ "matrix": [4, 10], "label": "Ctrl", "w": 1.25, "x": 11.25, "y": 4 },
{ "matrix": [4, 11], "label": "Left", "x": 13, "y": 4 },
{ "matrix": [4, 13], "label": "Down", "x": 14, "y": 4 },
{ "matrix": [4, 15], "label": "Right", "x": 15, "y": 4 }
]
}
}
}

+ 27
- 0
keyboards/forever65/keymaps/default/keymap.c View File

@ -0,0 +1,27 @@
/* Copyright 2021 zvecr<git@zvecr.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
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_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_DEL,
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, KC_PGUP,
KC_LSFT, 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_PGDN,
KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, KC_RALT, KC_RCTRL, KC_LEFT, KC_DOWN, KC_RGHT
),
};

+ 48
- 0
keyboards/forever65/keymaps/via/keymap.c View File

@ -0,0 +1,48 @@
/* Copyright 2021 zvecr<git@zvecr.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all(
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_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_DEL,
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, KC_PGUP,
KC_LSFT, 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_PGDN,
KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, KC_RALT, KC_RCTRL, KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT_all(
RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______
),
[2] = LAYOUT_all(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______
),
[3] = LAYOUT_all(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______
),
};

+ 1
- 0
keyboards/forever65/keymaps/via/rules.mk View File

@ -0,0 +1 @@
VIA_ENABLE = yes

+ 15
- 0
keyboards/forever65/readme.md View File

@ -0,0 +1,15 @@
# Forever65
![Forever65](https://static.wixstatic.com/media/7c76e8_827c433e51c84744a3b505df557ad5f7~mv2.jpg)
Gasket Mount 65% keyboard
* Keyboard Maintainer: [zvecr](https://github.com/zvecr)
* Hardware Supported: Forever65 PCB
* Hardware Availability: [Group-Buy](https://geekhack.org/index.php?topic=108809.0)
Make example for this keyboard (after setting up your build environment):
make forever65:default
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).

+ 1
- 0
keyboards/forever65/rules.mk View File

@ -0,0 +1 @@
# This file intentionally left blank

Loading…
Cancel
Save