mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-26 11:08:52 +06:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
fb953fb5c3
70
keyboards/jels/jels88/config.h
Normal file
70
keyboards/jels/jels88/config.h
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
/* Copyright 2021 Joah Nelson (Jels)
|
||||||
|
*
|
||||||
|
* 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"
|
||||||
|
|
||||||
|
/* USB Device descriptor paramater */
|
||||||
|
#define VENDOR_ID 0x006a // Jels (J)
|
||||||
|
#define PRODUCT_ID 0x0088 // Jels 88
|
||||||
|
#define DEVICE_VER 0x0001
|
||||||
|
#define MANUFACTURER Jels
|
||||||
|
#define PRODUCT Jels88
|
||||||
|
|
||||||
|
/* Define Matrix size */
|
||||||
|
#define MATRIX_ROWS 12
|
||||||
|
#define MATRIX_COLS 9
|
||||||
|
|
||||||
|
/*Define Matrix Pins */
|
||||||
|
#define MATRIX_ROW_PINS \
|
||||||
|
{ B3, B2, D1, D0, E6, B0, F0, F1, B5, B4, D7, D6 }
|
||||||
|
#define MATRIX_COL_PINS \
|
||||||
|
{ C7, C6, F7, F6, F5, F4, B1, D2, D3 }
|
||||||
|
|
||||||
|
/* ws2812b RGB LEDs */
|
||||||
|
#define RGB_DI_PIN B6
|
||||||
|
|
||||||
|
#ifdef RGBLIGHT_ENABLE
|
||||||
|
#define RGBLED_NUM 20 // Number of LEDs
|
||||||
|
#define RGBLIGHT_SLEEP
|
||||||
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
|
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
#define RGBLIGHT_EFFECT_SNAKE
|
||||||
|
#define RGBLIGHT_EFFECT_KNIGHT
|
||||||
|
#define RGBLIGHT_EFFECT_CHRISTMAS
|
||||||
|
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||||
|
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||||
|
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||||
|
#define RGBLIGHT_EFFECT_TWINKLE
|
||||||
|
#define RGBLIGHT_DEFAULT_VAL 0 // start off
|
||||||
|
#define RGBLIGHT_LIMIT_VAL 225 // keep PCB under 500mA
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* COL2ROW or ROW2COL */
|
||||||
|
#define DIODE_DIRECTION COL2ROW
|
||||||
|
|
||||||
|
/* Set 0 if debouncing isn't needed */
|
||||||
|
#define DEBOUNCE 5
|
||||||
|
|
||||||
|
/* 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
|
||||||
|
|
||||||
|
#define BOOTMAGIC_LITE_ROW 1
|
||||||
|
#define BOOTMAGIC_LITE_COLUMN 0
|
102
keyboards/jels/jels88/info.json
Normal file
102
keyboards/jels/jels88/info.json
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
{
|
||||||
|
"keyboard_name": "Jels88",
|
||||||
|
"url": "",
|
||||||
|
"maintainer": "Jels",
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT_all": {
|
||||||
|
"layout": [
|
||||||
|
{ "label": "Esc", "x": 0, "y": 0 },
|
||||||
|
{ "label": "F1", "x": 1.25, "y": 0 },
|
||||||
|
{ "label": "F2", "x": 2.25, "y": 0 },
|
||||||
|
{ "label": "F3", "x": 3.25, "y": 0 },
|
||||||
|
{ "label": "F4", "x": 4.25, "y": 0 },
|
||||||
|
{ "label": "F5", "x": 5.5, "y": 0 },
|
||||||
|
{ "label": "F6", "x": 6.5, "y": 0 },
|
||||||
|
{ "label": "F7", "x": 7.5, "y": 0 },
|
||||||
|
{ "label": "F8", "x": 8.5, "y": 0 },
|
||||||
|
{ "label": "F9", "x": 9.75, "y": 0 },
|
||||||
|
{ "label": "F10", "x": 10.75, "y": 0 },
|
||||||
|
{ "label": "F11", "x": 11.75, "y": 0 },
|
||||||
|
{ "label": "F12", "x": 12.75, "y": 0 },
|
||||||
|
{ "label": "F13", "x": 14, "y": 0 },
|
||||||
|
{ "label": "PrtSc", "x": 15.25, "y": 0 },
|
||||||
|
{ "label": "Scroll Lock", "x": 16.25, "y": 0 },
|
||||||
|
{ "label": "Pause", "x": 17.25, "y": 0 },
|
||||||
|
{ "label": "~", "x": 0, "y": 1.25 },
|
||||||
|
{ "label": "!", "x": 1, "y": 1.25 },
|
||||||
|
{ "label": "@", "x": 2, "y": 1.25 },
|
||||||
|
{ "label": "#", "x": 3, "y": 1.25 },
|
||||||
|
{ "label": "$", "x": 4, "y": 1.25 },
|
||||||
|
{ "label": "%", "x": 5, "y": 1.25 },
|
||||||
|
{ "label": "^", "x": 6, "y": 1.25 },
|
||||||
|
{ "label": "&", "x": 7, "y": 1.25 },
|
||||||
|
{ "label": "*", "x": 8, "y": 1.25 },
|
||||||
|
{ "label": "(", "x": 9, "y": 1.25 },
|
||||||
|
{ "label": ")", "x": 10, "y": 1.25 },
|
||||||
|
{ "label": "_", "x": 11, "y": 1.25 },
|
||||||
|
{ "label": "+", "x": 12, "y": 1.25 },
|
||||||
|
{ "label": "Bksp", "x": 13, "y": 1.25 },
|
||||||
|
{ "label": "~", "x": 14, "y": 1.25 },
|
||||||
|
{ "label": "Insert", "x": 15.25, "y": 1.25 },
|
||||||
|
{ "label": "Home", "x": 16.25, "y": 1.25 },
|
||||||
|
{ "label": "PgUp", "x": 17.25, "y": 1.25 },
|
||||||
|
{ "label": "Tab", "x": 0, "y": 2.25, "w": 1.5 },
|
||||||
|
{ "label": "Q", "x": 1.5, "y": 2.25 },
|
||||||
|
{ "label": "W", "x": 2.5, "y": 2.25 },
|
||||||
|
{ "label": "E", "x": 3.5, "y": 2.25 },
|
||||||
|
{ "label": "R", "x": 4.5, "y": 2.25 },
|
||||||
|
{ "label": "T", "x": 5.5, "y": 2.25 },
|
||||||
|
{ "label": "Y", "x": 6.5, "y": 2.25 },
|
||||||
|
{ "label": "U", "x": 7.5, "y": 2.25 },
|
||||||
|
{ "label": "I", "x": 8.5, "y": 2.25 },
|
||||||
|
{ "label": "O", "x": 9.5, "y": 2.25 },
|
||||||
|
{ "label": "P", "x": 10.5, "y": 2.25 },
|
||||||
|
{ "label": "{", "x": 11.5, "y": 2.25 },
|
||||||
|
{ "label": "}", "x": 12.5, "y": 2.25 },
|
||||||
|
{ "label": "|", "x": 13.5, "y": 2.25, "w": 1.5 },
|
||||||
|
{ "label": "Delete", "x": 15.25, "y": 2.25 },
|
||||||
|
{ "label": "End", "x": 16.25, "y": 2.25 },
|
||||||
|
{ "label": "PgDn", "x": 17.25, "y": 2.25 },
|
||||||
|
{ "label": "Caps Lock", "x": 0, "y": 3.25, "w": 1.75 },
|
||||||
|
{ "label": "A", "x": 1.75, "y": 3.25 },
|
||||||
|
{ "label": "S", "x": 2.75, "y": 3.25 },
|
||||||
|
{ "label": "D", "x": 3.75, "y": 3.25 },
|
||||||
|
{ "label": "F", "x": 4.75, "y": 3.25 },
|
||||||
|
{ "label": "G", "x": 5.75, "y": 3.25 },
|
||||||
|
{ "label": "H", "x": 6.75, "y": 3.25 },
|
||||||
|
{ "label": "J", "x": 7.75, "y": 3.25 },
|
||||||
|
{ "label": "K", "x": 8.75, "y": 3.25 },
|
||||||
|
{ "label": "L", "x": 9.75, "y": 3.25 },
|
||||||
|
{ "label": ":", "x": 10.75, "y": 3.25 },
|
||||||
|
{ "label": "\"", "x": 11.75, "y": 3.25 },
|
||||||
|
{ "label": "Enter", "x": 12.75, "y": 3.25, "w": 2.25 },
|
||||||
|
{ "label": "Shift", "x": 0, "y": 4.25, "w": 1.25 },
|
||||||
|
{ "label": "|", "x": 1.25, "y": 4.25 },
|
||||||
|
{ "label": "Z", "x": 2.25, "y": 4.25 },
|
||||||
|
{ "label": "X", "x": 3.25, "y": 4.25 },
|
||||||
|
{ "label": "C", "x": 4.25, "y": 4.25 },
|
||||||
|
{ "label": "V", "x": 5.25, "y": 4.25 },
|
||||||
|
{ "label": "B", "x": 6.25, "y": 4.25 },
|
||||||
|
{ "label": "N", "x": 7.25, "y": 4.25 },
|
||||||
|
{ "label": "M", "x": 8.25, "y": 4.25 },
|
||||||
|
{ "label": "<", "x": 9.25, "y": 4.25 },
|
||||||
|
{ "label": ">", "x": 10.25, "y": 4.25 },
|
||||||
|
{ "label": "?", "x": 11.25, "y": 4.25 },
|
||||||
|
{ "label": "Shift", "x": 12.25, "y": 4.25, "w": 1.75 },
|
||||||
|
{ "x": 14, "y": 4.25 },
|
||||||
|
{ "label": "\u2191", "x": 16.25, "y": 4.25 },
|
||||||
|
{ "label": "Ctrl", "x": 0, "y": 5.25, "w": 1.25 },
|
||||||
|
{ "label": "Win", "x": 1.25, "y": 5.25, "w": 1.25 },
|
||||||
|
{ "label": "Alt", "x": 2.5, "y": 5.25, "w": 1.25 },
|
||||||
|
{ "x": 3.75, "y": 5.25, "w": 6.25 },
|
||||||
|
{ "label": "Alt", "x": 10, "y": 5.25, "w": 1.25 },
|
||||||
|
{ "label": "Win", "x": 11.25, "y": 5.25, "w": 1.25 },
|
||||||
|
{ "label": "Menu", "x": 12.5, "y": 5.25, "w": 1.25 },
|
||||||
|
{ "label": "Ctrl", "x": 13.75, "y": 5.25, "w": 1.25 },
|
||||||
|
{ "label": "\u2190", "x": 15.25, "y": 5.25 },
|
||||||
|
{ "label": "\u2193", "x": 16.25, "y": 5.25 },
|
||||||
|
{ "label": "\u2192", "x": 17.25, "y": 5.25 }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
38
keyboards/jels/jels88/jels88.c
Normal file
38
keyboards/jels/jels88/jels88.c
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
/* Copyright 2021 Joah Nelson (Jels)
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// not much here ... just indicator LEDs
|
||||||
|
|
||||||
|
#include "jels88.h"
|
||||||
|
|
||||||
|
// LED indicator pins
|
||||||
|
#define CAPS_LED D5
|
||||||
|
#define SCROLL_LED D4
|
||||||
|
|
||||||
|
void keyboard_pre_init_kb() {
|
||||||
|
setPinOutput(CAPS_LED);
|
||||||
|
setPinOutput(SCROLL_LED);
|
||||||
|
keyboard_pre_init_user();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool led_update_kb(led_t led_state) {
|
||||||
|
bool res = led_update_user(led_state);
|
||||||
|
if (res) {
|
||||||
|
writePin(CAPS_LED, led_state.caps_lock);
|
||||||
|
writePin(SCROLL_LED, led_state.scroll_lock);
|
||||||
|
}
|
||||||
|
return res;
|
||||||
|
}
|
89
keyboards/jels/jels88/jels88.h
Normal file
89
keyboards/jels/jels88/jels88.h
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
/* copyright 2021 Joah Nelson (Jels)
|
||||||
|
*
|
||||||
|
* 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
|
||||||
|
* MERAHANTABILITY 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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#define ____ KC_NO
|
||||||
|
|
||||||
|
|
||||||
|
#define LAYOUT_all( \
|
||||||
|
K0B0, K0B1, K0A1, K0A2, K0B2, K0B3, K0A3, K0A4, K0B4, K0B5, K0A5, K0A6, K0B6, K0B7, K0A7, K0A8, K0B8, \
|
||||||
|
K1A0, K1A1, K1B1, K1B2, K1A2, K1A3, K1B3, K1B4, K1A4, K1A5, K1B5, K1B6, K1A6, K1A7, K2B7, K2A7, K2A8, K1A8, \
|
||||||
|
K2B0, K2B1, K2A1, K2A2, K2B2, K2B3, K2A3, K2A4, K2B4, K2B5, K2A5, K2A6, K2B6, K3A7, K1B7, K1B8, K2B8, \
|
||||||
|
K3A0, K3A1, K3B1, K3B2, K3A2, K3A3, K3B3, K3B4, K3A4, K3A5, K3B5, K3B6, K3A6, \
|
||||||
|
K4B0, K4B1, K4A1, K4A2, K4B2, K4B3, K4A3, K4A4, K4B4, K4B5, K4A5, K4A6, K4B6, K4B7, K4A7, \
|
||||||
|
K5A0, K5A1, K5B1, K5B3, K5A5, K5A6, K5B6, K5B7, K5A7, K5A8, K4A8 \
|
||||||
|
){ \
|
||||||
|
{____, K0A1, K0A2, K0A3, K0A4, K0A5, K0A6, K0A7, K0A8}, \
|
||||||
|
{K0B0, K0B1, K0B2, K0B3, K0B4, K0B5, K0B6, K0B7, K0B8}, \
|
||||||
|
{K1A0, K1A1, K1A2, K1A3, K1A4, K1A5, K1A6, K1A7, K1A8}, \
|
||||||
|
{____, K1B1, K1B2, K1B3, K1B4, K1B5, K1B6, K1B7, K1B8}, \
|
||||||
|
{____, K2A1, K2A2, K2A3, K2A4, K2A5, K2A6, K2A7, K2A8}, \
|
||||||
|
{K2B0, K2B1, K2B2, K2B3, K2B4, K2B5, K2B6, K2B7, K2B8}, \
|
||||||
|
{K3A0, K3A1, K3A2, K3A3, K3A4, K3A5, K3A6, K3A7, ____}, \
|
||||||
|
{____, K3B1, K3B2, K3B3, K3B4, K3B5, K3B6, ____, ____}, \
|
||||||
|
{____, K4A1, K4A2, K4A3, K4A4, K4A5, K4A6, K4A7, K4A8}, \
|
||||||
|
{K4B0, K4B1, K4B2, K4B3, K4B4, K4B5, K4B6, K4B7, ____}, \
|
||||||
|
{K5A0, K5A1, ____, ____, ____, K5A5, K5A6, K5A7, K5A8}, \
|
||||||
|
{____, K5B1, ____, K5B3, ____, ____, K5B6, K5B7, ____} \
|
||||||
|
}
|
||||||
|
|
||||||
|
#define LAYOUT_ansi( \
|
||||||
|
K0B0, K0B1, K0A1, K0A2, K0B2, K0B3, K0A3, K0A4, K0B4, K0B5, K0A5, K0A6, K0B6, K0B7, K0A7, K0A8, K0B8, \
|
||||||
|
K1A0, K1A1, K1B1, K1B2, K1A2, K1A3, K1B3, K1B4, K1A4, K1A5, K1B5, K1B6, K1A6, K1A7, K2B7, K2A7, K2A8, K1A8, \
|
||||||
|
K2B0, K2B1, K2A1, K2A2, K2B2, K2B3, K2A3, K2A4, K2B4, K2B5, K2A5, K2A6, K2B6, K3A7, K1B7, K1B8, K2B8, \
|
||||||
|
K3A0, K3A1, K3B1, K3B2, K3A2, K3A3, K3B3, K3B4, K3A4, K3A5, K3B5, K3B6, K3A6, \
|
||||||
|
K4B0, K4A1, K4A2, K4B2, K4B3, K4A3, K4A4, K4B4, K4B5, K4A5, K4A6, K4B6, K4B7, K4A7, \
|
||||||
|
K5A0, K5A1, K5B1, K5B3, K5A5, K5A6, K5B6, K5B7, K5A7, K5A8, K4A8 \
|
||||||
|
){ \
|
||||||
|
{____, K0A1, K0A2, K0A3, K0A4, K0A5, K0A6, K0A7, K0A8}, \
|
||||||
|
{K0B0, K0B1, K0B2, K0B3, K0B4, K0B5, K0B6, K0B7, K0B8}, \
|
||||||
|
{K1A0, K1A1, K1A2, K1A3, K1A4, K1A5, K1A6, K1A7, K1A8}, \
|
||||||
|
{____, K1B1, K1B2, K1B3, K1B4, K1B5, K1B6, K1B7, K1B8}, \
|
||||||
|
{____, K2A1, K2A2, K2A3, K2A4, K2A5, K2A6, K2A7, K2A8}, \
|
||||||
|
{K2B0, K2B1, K2B2, K2B3, K2B4, K2B5, K2B6, K2B7, K2B8}, \
|
||||||
|
{K3A0, K3A1, K3A2, K3A3, K3A4, K3A5, K3A6, K3A7, ____}, \
|
||||||
|
{____, K3B1, K3B2, K3B3, K3B4, K3B5, K3B6, ____, ____}, \
|
||||||
|
{____, K4A1, K4A2, K4A3, K4A4, K4A5, K4A6, K4A7, K4A8}, \
|
||||||
|
{K4B0, K4B1, K4B2, K4B3, K4B4, K4B5, K4B6, K4B7, ____}, \
|
||||||
|
{K5A0, K5A1, ____, ____, ____, K5A5, K5A6, K5A7, K5A8}, \
|
||||||
|
{____, K5B1, ____, K5B3, ____, ____, K5B6, K5B7, ____} \
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#define LAYOUT_iso( \
|
||||||
|
K0B0, K0B1, K0A1, K0A2, K0B2, K0B3, K0A3, K0A4, K0B4, K0B5, K0A5, K0A6, K0B6, K0B7, K0A7, K0A8, K0B8, \
|
||||||
|
K1A0, K1A1, K1B1, K1B2, K1A2, K1A3, K1B3, K1B4, K1A4, K1A5, K1B5, K1B6, K1A6, K1A7, K3A7, K2A7, K2A8, K1A8, \
|
||||||
|
K2B0, K2B1, K2A1, K2A2, K2B2, K2B3, K2A3, K2A4, K2B4, K2B5, K2A5, K2A6, K2B6, K2B7, K1B7, K1B8, K2B8, \
|
||||||
|
K3A0, K3A1, K3B1, K3B2, K3A2, K3A3, K3B3, K3B4, K3A4, K3A5, K3B5, K3B6, K3A6, \
|
||||||
|
K4B0, K4A1, K4A2, K4B2, K4B3, K4A3, K4A4, K4B4, K4B5, K4A5, K4A6, K4B6, K4B7, K4A7, \
|
||||||
|
K5A0, K5A1, K5B1, K5B3, K5A5, K5A6, K5B6, K5B7, K5A7, K5A8, K4A8 \
|
||||||
|
){ \
|
||||||
|
{____, K0A1, K0A2, K0A3, K0A4, K0A5, K0A6, K0A7, K0A8}, \
|
||||||
|
{K0B0, K0B1, K0B2, K0B3, K0B4, K0B5, K0B6, K0B7, K0B8}, \
|
||||||
|
{K1A0, K1A1, K1A2, K1A3, K1A4, K1A5, K1A6, K1A7, K1A8}, \
|
||||||
|
{____, K1B1, K1B2, K1B3, K1B4, K1B5, K1B6, K1B7, K1B8}, \
|
||||||
|
{____, K2A1, K2A2, K2A3, K2A4, K2A5, K2A6, K2A7, K2A8}, \
|
||||||
|
{K2B0, K2B1, K2B2, K2B3, K2B4, K2B5, K2B6, K2B7, K2B8}, \
|
||||||
|
{K3A0, K3A1, K3A2, K3A3, K3A4, K3A5, K3A6, K3A7, ____}, \
|
||||||
|
{____, K3B1, K3B2, K3B3, K3B4, K3B5, K3B6, ____, ____}, \
|
||||||
|
{____, K4A1, K4A2, K4A3, K4A4, K4A5, K4A6, K4A7, K4A8}, \
|
||||||
|
{K4B0, ____, K4B2, K4B3, K4B4, K4B5, K4B6, K4B7, ____}, \
|
||||||
|
{K5A0, K5A1, ____, ____, ____, K5A5, K5A6, K5A7, K5A8}, \
|
||||||
|
{____, K5B1, ____, K5B3, ____, ____, K5B6, K5B7, ____} \
|
||||||
|
}
|
54
keyboards/jels/jels88/keymaps/default/keymap.c
Normal file
54
keyboards/jels/jels88/keymaps/default/keymap.c
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
/* Copyright 2021 Joah Nelson (Jels)
|
||||||
|
*
|
||||||
|
* 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] = {
|
||||||
|
|
||||||
|
//base layer
|
||||||
|
[0] = LAYOUT_all(
|
||||||
|
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_F13, KC_PSCR, KC_SLCK, KC_PAUS,
|
||||||
|
KC_GRV, 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_GRV, KC_INS, KC_HOME, KC_PGUP,
|
||||||
|
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_END, KC_PGDN,
|
||||||
|
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_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, MO(1), KC_UP,
|
||||||
|
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
|
||||||
|
),
|
||||||
|
[1] = LAYOUT_all(
|
||||||
|
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, 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, 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, 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, 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,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||||
|
),
|
||||||
|
[2] = LAYOUT_all(
|
||||||
|
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, 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, 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, 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, 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,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||||
|
),
|
||||||
|
[3] = LAYOUT_all(
|
||||||
|
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, 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, 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, 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, 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,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||||
|
)
|
||||||
|
};
|
54
keyboards/jels/jels88/keymaps/via/keymap.c
Normal file
54
keyboards/jels/jels88/keymaps/via/keymap.c
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
/* Copyright 2021 Joah Nelson (Jels)
|
||||||
|
*
|
||||||
|
* 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] = {
|
||||||
|
|
||||||
|
//base layer
|
||||||
|
[0] = LAYOUT_all(
|
||||||
|
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_F13, KC_PSCR, KC_SLCK, KC_PAUS,
|
||||||
|
KC_GRV, 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_GRV, KC_INS, KC_HOME, KC_PGUP,
|
||||||
|
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_END, KC_PGDN,
|
||||||
|
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_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, MO(1), KC_UP,
|
||||||
|
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
|
||||||
|
),
|
||||||
|
[1] = LAYOUT_all(
|
||||||
|
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, 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, 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, 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, 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,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||||
|
),
|
||||||
|
[2] = LAYOUT_all(
|
||||||
|
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, 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, 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, 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, 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,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||||
|
),
|
||||||
|
[3] = LAYOUT_all(
|
||||||
|
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, 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, 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, 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, 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,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||||
|
)
|
||||||
|
};
|
1
keyboards/jels/jels88/keymaps/via/rules.mk
Normal file
1
keyboards/jels/jels88/keymaps/via/rules.mk
Normal file
@ -0,0 +1 @@
|
|||||||
|
VIA_ENABLE = yes
|
25
keyboards/jels/jels88/readme.md
Normal file
25
keyboards/jels/jels88/readme.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# jels88
|
||||||
|
|
||||||
|
![jels88](https://i.imgur.com/7kuYR4G.png)
|
||||||
|
|
||||||
|
* Keyboard Maintainer: [jels](https://github.com/Jels-kb)
|
||||||
|
* Hardware Supported: jels88b/jels88c PCB
|
||||||
|
* Hardware Availabililty: Group buys, Various dates.
|
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
|
make jels/jels88:default
|
||||||
|
|
||||||
|
Flashing example for this keyboard:
|
||||||
|
|
||||||
|
make jels/jels88:default:flash
|
||||||
|
|
||||||
|
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).
|
||||||
|
|
||||||
|
## Bootloader
|
||||||
|
|
||||||
|
Enter the bootloader in 3 ways:
|
||||||
|
|
||||||
|
* **Bootmagic reset**: Hold down the top right key (ESC) and plug in the keyboard
|
||||||
|
* **Physical reset button**: Briefly press the button on the back of the PCB
|
||||||
|
* **Keycode in layout**: Press the key mapped to `RESET` if it is available
|
22
keyboards/jels/jels88/rules.mk
Normal file
22
keyboards/jels/jels88/rules.mk
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# MCU name
|
||||||
|
MCU = atmega32u4
|
||||||
|
|
||||||
|
# Bootloader selection
|
||||||
|
BOOTLOADER = atmel-dfu
|
||||||
|
|
||||||
|
# Build Options
|
||||||
|
# change yes to no to disable
|
||||||
|
#
|
||||||
|
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||||
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||||
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||||
|
CONSOLE_ENABLE = no # Console for debug
|
||||||
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||||
|
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||||
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||||
|
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||||
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||||
|
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||||
|
AUDIO_ENABLE = no # Audio output
|
||||||
|
|
Loading…
Reference in New Issue
Block a user