[Keyboard] Refactor Jacky's boards (Bear65 and S7 Elephant) (#10528)
parent
010271d6ea
commit
73dfc2b368
|
@ -0,0 +1,17 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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 "bear_65.h"
|
|
@ -0,0 +1,47 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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"
|
||||
|
||||
#define LAYOUT_all( \
|
||||
K31, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K4E, \
|
||||
K1E, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
|
||||
K2E, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, \
|
||||
K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \
|
||||
K40, K43, K45, K46, K48, K4A, K4B, K4C, K4D \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D, K2E }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \
|
||||
{ K40, KC_NO, KC_NO, K43, KC_NO, K45, K46, KC_NO, K48, KC_NO, K4A, K4B, K4C, K4D, K4E }, \
|
||||
}
|
||||
|
||||
#define LAYOUT_full_bs( \
|
||||
K31, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K4E, \
|
||||
K1E, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
|
||||
K2E, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, \
|
||||
K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \
|
||||
K40, K43, K45, K46, K48, K4A, K4B, K4C, K4D \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, KC_NO }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D, K2E }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \
|
||||
{ K40, KC_NO, KC_NO, K43, KC_NO, K45, K46, KC_NO, K48, KC_NO, K4A, K4B, K4C, K4D, K4E }, \
|
||||
}
|
|
@ -0,0 +1,75 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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 parameter */
|
||||
#define VENDOR_ID 0xA13B // Jacky's vendor ID, arbitrarily selected by MudkipMao
|
||||
#define PRODUCT_ID 0x000A
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER Jacky
|
||||
#define PRODUCT Jacky Bear 65 Ergo
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 5
|
||||
#define MATRIX_COLS 15
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 }
|
||||
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, F7, F6, F5, F4, F1, F0 }
|
||||
|
||||
/* Setting the matrix value of top left key for bootmagic lite */
|
||||
#define BOOTMAGIC_LITE_ROW 3
|
||||
#define BOOTMAGIC_LITE_COLUMN 1
|
||||
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
#define BACKLIGHT_PIN B6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_LEVELS 4
|
||||
|
||||
#define RGB_DI_PIN E2
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLED_NUM 15
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
#define RGBLIGHT_LIMIT_VAL 139 /* The maximum brightness level */
|
||||
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
||||
/*== all animations enable ==*/
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
// /*== or choose animations ==*/
|
||||
// #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
|
||||
#endif
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"keyboard_name": "Bear 65",
|
||||
"url": "https://qmk.fm/keyboards",
|
||||
"maintainer": "qmk",
|
||||
"width": 20.75,
|
||||
"height": 5,
|
||||
"layouts": {
|
||||
"LAYOUT_all": {
|
||||
"layout": [{"label":"Esc", "x":0.5, "y":0}, {"label":"~", "x":1.75, "y":0}, {"label":"!", "x":2.75, "y":0}, {"label":"@", "x":3.75, "y":0}, {"label":"#", "x":4.75, "y":0}, {"label":"$", "x":5.75, "y":0}, {"label":"%", "x":6.75, "y":0}, {"label":"^", "x":7.75, "y":0}, {"label":"&", "x":11.25, "y":0}, {"label":"*", "x":12.25, "y":0}, {"label":"(", "x":13.25, "y":0}, {"label":")", "x":14.25, "y":0}, {"label":"_", "x":15.25, "y":0}, {"label":"+", "x":16.25, "y":0}, {"label":"|", "x":17.25, "y":0}, {"label":"~", "x":18.25, "y":0}, {"label":"Del", "x":19.75, "y":0}, {"label":"PgUp", "x":0.25, "y":1}, {"label":"Tab", "x":1.75, "y":1, "w":1.5}, {"label":"Q", "x":3.25, "y":1}, {"label":"W", "x":4.25, "y":1}, {"label":"E", "x":5.25, "y":1}, {"label":"R", "x":6.25, "y":1}, {"label":"T", "x":7.25, "y":1}, {"label":"Y", "x":10.75, "y":1}, {"label":"U", "x":11.75, "y":1}, {"label":"I", "x":12.75, "y":1}, {"label":"O", "x":13.75, "y":1}, {"label":"P", "x":14.75, "y":1}, {"label":"{", "x":15.75, "y":1}, {"label":"}", "x":16.75, "y":1}, {"label":"Backspace", "x":17.75, "y":1, "w":1.5}, {"label":"PgDn", "x":0, "y":2}, {"label":"Caps Lock", "x":1.75, "y":2, "w":1.75}, {"label":"A", "x":3.5, "y":2}, {"label":"S", "x":4.5, "y":2}, {"label":"D", "x":5.5, "y":2}, {"label":"F", "x":6.5, "y":2}, {"label":"G", "x":7.5, "y":2}, {"label":"H", "x":11, "y":2}, {"label":"J", "x":12, "y":2}, {"label":"K", "x":13, "y":2}, {"label":"L", "x":14, "y":2}, {"label":":", "x":15, "y":2}, {"label":"\"", "x":16, "y":2}, {"label":"Enter", "x":17, "y":2, "w":2.25}, {"label":"Shift", "x":1.75, "y":3, "w":2.25}, {"label":"Z", "x":4, "y":3}, {"label":"X", "x":5, "y":3}, {"label":"C", "x":6, "y":3}, {"label":"V", "x":7, "y":3}, {"label":"B", "x":8, "y":3}, {"label":"B", "x":10.5, "y":3}, {"label":"N", "x":11.5, "y":3}, {"label":"M", "x":12.5, "y":3}, {"label":"<", "x":13.5, "y":3}, {"label":">", "x":14.5, "y":3}, {"label":"?", "x":15.5, "y":3}, {"label":"Shift", "x":16.5, "y":3, "w":1.75}, {"label":"Up", "x":18.25, "y":3}, {"label":"Ctrl", "x":1.75, "y":4, "w":1.5}, {"label":"Alt", "x":4.75, "y":4, "w":1.25}, {"x":6, "y":4, "w":2.25}, {"label":"Win", "x":8.25, "y":4}, {"x":10.5, "y":4, "w":2.75}, {"label":"Alt", "x":13.25, "y":4, "w":1.5}, {"label":"Left", "x":17.25, "y":4}, {"label":"Down", "x":18.25, "y":4}, {"label":"Right", "x":19.25, "y":4}]
|
||||
},
|
||||
"LAYOUT_full_bs": {
|
||||
"layout": [{"label":"Esc", "x":0.5, "y":0}, {"label":"~", "x":1.75, "y":0}, {"label":"!", "x":2.75, "y":0}, {"label":"@", "x":3.75, "y":0}, {"label":"#", "x":4.75, "y":0}, {"label":"$", "x":5.75, "y":0}, {"label":"%", "x":6.75, "y":0}, {"label":"^", "x":7.75, "y":0}, {"label":"&", "x":11.25, "y":0}, {"label":"*", "x":12.25, "y":0}, {"label":"(", "x":13.25, "y":0}, {"label":")", "x":14.25, "y":0}, {"label":"_", "x":15.25, "y":0}, {"label":"+", "x":16.25, "y":0}, {"label":"Backspace", "x":17.25, "y":0, "w":2}, {"label":"Del", "x":19.75, "y":0}, {"label":"PgUp", "x":0.25, "y":1}, {"label":"Tab", "x":1.75, "y":1, "w":1.5}, {"label":"Q", "x":3.25, "y":1}, {"label":"W", "x":4.25, "y":1}, {"label":"E", "x":5.25, "y":1}, {"label":"R", "x":6.25, "y":1}, {"label":"T", "x":7.25, "y":1}, {"label":"Y", "x":10.75, "y":1}, {"label":"U", "x":11.75, "y":1}, {"label":"I", "x":12.75, "y":1}, {"label":"O", "x":13.75, "y":1}, {"label":"P", "x":14.75, "y":1}, {"label":"{", "x":15.75, "y":1}, {"label":"}", "x":16.75, "y":1}, {"label":"|", "x":17.75, "y":1, "w":1.5}, {"label":"PgDn", "x":0, "y":2}, {"label":"Caps Lock", "x":1.75, "y":2, "w":1.75}, {"label":"A", "x":3.5, "y":2}, {"label":"S", "x":4.5, "y":2}, {"label":"D", "x":5.5, "y":2}, {"label":"F", "x":6.5, "y":2}, {"label":"G", "x":7.5, "y":2}, {"label":"H", "x":11, "y":2}, {"label":"J", "x":12, "y":2}, {"label":"K", "x":13, "y":2}, {"label":"L", "x":14, "y":2}, {"label":":", "x":15, "y":2}, {"label":"\"", "x":16, "y":2}, {"label":"Enter", "x":17, "y":2, "w":2.25}, {"label":"Shift", "x":1.75, "y":3, "w":2.25}, {"label":"Z", "x":4, "y":3}, {"label":"X", "x":5, "y":3}, {"label":"C", "x":6, "y":3}, {"label":"V", "x":7, "y":3}, {"label":"B", "x":8, "y":3}, {"label":"B", "x":10.5, "y":3}, {"label":"N", "x":11.5, "y":3}, {"label":"M", "x":12.5, "y":3}, {"label":"<", "x":13.5, "y":3}, {"label":">", "x":14.5, "y":3}, {"label":"?", "x":15.5, "y":3}, {"label":"Shift", "x":16.5, "y":3, "w":1.75}, {"label":"Up", "x":18.25, "y":3}, {"label":"Ctrl", "x":1.75, "y":4, "w":1.5}, {"label":"Alt", "x":4.75, "y":4, "w":1.25}, {"x":6, "y":4, "w":2.25}, {"label":"Win", "x":8.25, "y":4}, {"x":10.5, "y":4, "w":2.75}, {"label":"Alt", "x":13.25, "y":4, "w":1.5}, {"label":"Left", "x":17.25, "y":4}, {"label":"Down", "x":18.25, "y":4}, {"label":"Right", "x":19.25, "y":4}]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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
|
||||
|
||||
// Defines names for use in layer keycodes and the keymap
|
||||
enum layer_names {
|
||||
_BASE,
|
||||
_FN,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_BASE] = LAYOUT_all(
|
||||
KC_ESC, 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_DEL,
|
||||
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_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_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||
KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, MO(_FN), KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[_FN] = LAYOUT_all(
|
||||
RESET, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,
|
||||
RGB_MOD, _______, KC_BRID, KC_BRIU, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAD, RGB_VAI, _______,
|
||||
RGB_TOG, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______,_______
|
||||
)
|
||||
};
|
|
@ -0,0 +1 @@
|
|||
# The default keymap for bear_65
|
|
@ -0,0 +1,48 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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_full_bs(
|
||||
KC_ESC, 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_DEL,
|
||||
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_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_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||
KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT_full_bs(
|
||||
RESET, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
|
||||
RGB_MOD, _______, KC_BRID, KC_BRIU, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAD, RGB_VAI, _______,
|
||||
RGB_TOG, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______,_______
|
||||
),
|
||||
[2] = LAYOUT_full_bs(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______,_______
|
||||
),
|
||||
[3] = LAYOUT_full_bs(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______,_______
|
||||
)
|
||||
};
|
|
@ -0,0 +1 @@
|
|||
# The via keymap for bear_65
|
|
@ -0,0 +1 @@
|
|||
VIA_ENABLE = yes
|
|
@ -0,0 +1,19 @@
|
|||
# Bear 65
|
||||
|
||||
![Bear 65](https://i.imgur.com/W1sVP1Tl.jpg)
|
||||
|
||||
A gasket-mounted 65% keyboard inspired by the [TGR Alice](https://github.com/qmk/qmk_firmware/tree/master/keyboards/tgr/alice). Designed and produced by [jacky](https://geekhack.org/index.php?action=profile;u=63864) from Geekhack.
|
||||
|
||||
* Keyboard Maintainer: QMK Community
|
||||
* Hardware Supported: Bear 65
|
||||
* Hardware Availability: The GB happened July 15th 2020, units are still in production
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make jacky_studio/bear_65:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make jacky_studio/bear_65: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).
|
|
@ -0,0 +1,24 @@
|
|||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = atmel-dfu
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
||||
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 = no # USB Nkey Rollover
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
LTO_ENABLE = yes # Use LTO flags to reduce firmware size
|
|
@ -0,0 +1,20 @@
|
|||
# S7 Elephant
|
||||
|
||||
![S7 Elephant](https://i.imgur.com/CaHxKBJ.jpg)
|
||||
|
||||
A high-end 70% custom keyboard designed and produced by [jacky](https://geekhack.org/index.php?action=profile;u=63864) from Geekhack.
|
||||
|
||||
**Firmware files are SPECIFIC to each revision. Firmware files from rev1 will not work on rev2 and vice versa.** Please use the `.hex` appropriate for your board.
|
||||
|
||||
* Keyboard Maintainer: QMK Community
|
||||
* Hardware Supported: S7 Elephant rev1, rev2
|
||||
* Hardware Availability: [The GB has had 2 rounds with little chance to run again.](https://geekhack.org/index.php?topic=96434.0)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make jacky_studio/s7_elephant/rev1:default # 2018 run
|
||||
make jacky_studio/s7_elephant/rev2:default # 2019 run
|
||||
|
||||
To enter the bootloader, either short the pins on the PCB or the RESET button on the FN layer.
|
||||
|
||||
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).
|
|
@ -0,0 +1,63 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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 parameter */
|
||||
#define VENDOR_ID 0xA13B // Hexidecimal A13B will be Jacky's vendor ID
|
||||
#define PRODUCT_ID 0x0007
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER jacky
|
||||
#define PRODUCT S7 Elephant
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 5
|
||||
#define MATRIX_COLS 16
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4 }
|
||||
#define MATRIX_COL_PINS { B6, D0, D1, D2, D3, D4, D5, D6, D7, C6, C7, F4, F5, F6, F7, F1 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* 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 RGB_DI_PIN E6
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
#define RGBLED_NUM 2
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
#define RGBLIGHT_SLEEP
|
||||
#endif
|
||||
|
||||
/* 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
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,19 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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
|
||||
|
||||
#define RGBLIGHT_LIMIT_VAL 80
|
|
@ -0,0 +1,81 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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
|
||||
|
||||
enum custom_layers {
|
||||
_QWERTY,
|
||||
_FN
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Qwerty
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | F1 | | Esc`~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bkspc |Home |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F2 | | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | End |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F3 | | Caps | A | S | D | F | G | H | J | K | L | ; | ' | Enter | Ins |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F4 | | Shift | Z | X | C | V | B | N | M | , | . | / | RShift | U | Del |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F5 | | Ctrl | Gui | Alt | Space | FN | RCtrl | L | D | R |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
[_QWERTY] = LAYOUT_ansi(
|
||||
KC_F1, KC_GESC, 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_INS,
|
||||
KC_F2, 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_F3, 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_HOME,
|
||||
KC_F4, 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_END,
|
||||
KC_F5, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(_FN), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
/* FN
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* |Reset | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr | ScrLck |Pause|
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | |Prev |Play |Next | | | | |VolD |Mute |VolU | | |PgUp |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | |PgDn |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* |EEPRST| | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
[_FN] = LAYOUT_ansi(
|
||||
RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, _______, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, KC_PGUP,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN,
|
||||
EEP_RST, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
||||
|
||||
bool led_update_user(led_t led_state) {
|
||||
// Turn LEDs On/Off for Caps Lock
|
||||
if (led_state.caps_lock) {
|
||||
rgblight_enable_noeeprom();
|
||||
rgblight_sethsv_noeeprom(0, 0, 80);
|
||||
} else {
|
||||
rgblight_sethsv_noeeprom(0, 0, 80);
|
||||
rgblight_disable_noeeprom();
|
||||
}
|
||||
return false;
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
# Default keymap for S7 Elephant
|
||||
|
||||
**Features**
|
||||
|
||||
* LEDs are functioning as Caps-Lock indicators
|
||||
|
||||
## QWERTY (Normal) Layer
|
||||
```
|
||||
,------. ,-------------------------------------------------------------------------------------------------.
|
||||
| F1 | | Esc`~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bkspc |Home |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| F2 | | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | End |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| F3 | | Caps | A | S | D | F | G | H | J | K | L | ; | ' | Enter | Ins |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| F4 | | Shift | Z | X | C | V | B | N | M | , | . | / | RShift | U | Del |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| F5 | | Ctrl | Gui | Alt | Space | FN | RAlt | RCtrl | L | D | R |
|
||||
`------' `-------------------------------------------------------------------------------------------------'
|
||||
```
|
||||
|
||||
## FN Layer
|
||||
```
|
||||
,------. ,-------------------------------------------------------------------------------------------------.
|
||||
|Reset | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr | ScrLck |Pause|
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | |Prev |Play |Next | | | | |VolD |Mute |VolU | | |PgUp |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | |PgDn |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
|EPRM | | | | | | | | | | | |
|
||||
`------' `-------------------------------------------------------------------------------------------------'
|
||||
```
|
|
@ -0,0 +1,17 @@
|
|||
# S7 Elephant
|
||||
|
||||
![S7 Elephant](https://i.imgur.com/CaHxKBJ.jpg)
|
||||
|
||||
A high-end 70% custom keyboard designed and produced by [jacky](https://geekhack.org/index.php?action=profile;u=63864) from Geekhack.
|
||||
|
||||
* Keyboard Maintainer: QMK Community
|
||||
* Hardware Supported: S7 Elephant
|
||||
* Hardware Availability: [The GB has ended with little chance to run again.](https://geekhack.org/index.php?topic=96434.0)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make s7_elephant/rev1:default
|
||||
|
||||
To enter the bootloader, either short the pins on the PCB or the RESET button on the FN layer.
|
||||
|
||||
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).
|
|
@ -0,0 +1,17 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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 "rev1.h"
|
|
@ -0,0 +1,869 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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"
|
||||
|
||||
#define ____ KC_NO
|
||||
|
||||
/* ANSI
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, ____, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with small shift
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_small_lshift( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with small backspace
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, ____, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with small shift and small backspace
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_small_lshift_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* **************************************************************************************************************************************** */
|
||||
/* ANSI with 1u keys in the bottom row
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_1u( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K412, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, ____, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, K412, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with small shift and 1u keys in the bottom row
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_1u_small_lshift( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K412, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, K412, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with small backspace and 1u keys in the bottom row
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_1u_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K412, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, ____, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, K412, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with small shift and small backspace and 1u keys in the bottom row
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_1u_small_lshift_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K412, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, K412, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* **************************************************************************************************************************************** */
|
||||
/* ANSI with 7u spacebar
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_7u( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, ____, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, ____, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with small shift and 7u spacebar
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_7u_small_lshift( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, ____, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with small backspace and 7u spacebar
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_7u_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, ____, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, ____, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with small shift and small backspace and 7u spacebar
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_7u_small_lshift_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, ____, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* **************************************************************************************************************************************** */
|
||||
/* ANSI with blocker
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------- -------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_blocker( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, ____, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with blocker and small shift
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------- -------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_blocker_small_lshift( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with blocker and small backspace
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------- -------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_blocker_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, ____, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with blocker and small shift and small backspace
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------- -------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_blocker_small_lshift_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* **************************************************************************************************************************************** */
|
||||
/* ANSI with blocker and 7u spacebar
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | |
|
||||
* `------' `--------------------------------------------------------------------------- ------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_blocker_7u( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, ____, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, ____, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with blocker and small shift and 7u spacebar
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | |
|
||||
* `------' `--------------------------------------------------------------------------- ------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_blocker_7u_small_lshift( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, ____, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with blocker and small backspace and 7u spacebar
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | |
|
||||
* `------' `--------------------------------------------------------------------------- ------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_blocker_7u_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, ____, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, ____, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ANSI with blocker and small shift and small backspace and 7u spacebar
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | |
|
||||
* `------' `--------------------------------------------------------------------------- ------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_blocker_7u_small_lshift_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, ____, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* **************************************************************************************************************************************** */
|
||||
/* ISO
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |------------------------------------------------------------------------------------ |-----|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_iso( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K114, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ISO with small backspace
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |------------------------------------------------------------------------------------ |-----|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_iso_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K114, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* **************************************************************************************************************************************** */
|
||||
/* ISO with 1u keys in the bottom row
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |------------------------------------------------------------------------------------ |-----|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_iso_1u( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K114, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K412, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, K412, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ISO with small backspace and 1u keys in the bottom row
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |------------------------------------------------------------------------------------ |-----|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_iso_1u_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K114, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K412, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, K412, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* **************************************************************************************************************************************** */
|
||||
/* ISO with 7u spacebar
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |------------------------------------------------------------------------------------ |-----|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_iso_7u( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K114, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, ____, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ISO with small backspace and 7u spacebar
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |------------------------------------------------------------------------------------ |-----|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_iso_7u_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K114, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, ____, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
/* **************************************************************************************************************************************** */
|
||||
/* ISO with blocker
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |------------------------------------------------------------------------------------ |-----|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------- -------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_iso_blocker( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K114, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ISO with blocker and small backspace
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |------------------------------------------------------------------------------------ |-----|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------- -------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_iso_blocker_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K114, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K411, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, K411, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* **************************************************************************************************************************************** */
|
||||
/* ISO with blocker and 7u spacebar
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |------------------------------------------------------------------------------------ |-----|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | |
|
||||
* `------' `--------------------------------------------------------------------------- ------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_iso_blocker_7u( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K114, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, ____, ____, K413, K414, K415 } \
|
||||
}
|
||||
|
||||
/* ISO with blocker and small backspace and 7u spacebar
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |------------------------------------------------------------------------------------ |-----|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | |
|
||||
* `------' `--------------------------------------------------------------------------- ------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_iso_blocker_7u_small_bspc( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, K013, K214, K015, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K115, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K114, K213, K215, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
|
||||
K400, K401, K402, K403, K407, K410, K413, K414, K415 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
|
||||
{ K400, K401, K402, K403, ____, ____, ____, K407, ____, ____, K410, ____, ____, K413, K414, K415 } \
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = atmel-dfu
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
|
||||
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
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality
|
|
@ -0,0 +1,78 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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 parameter */
|
||||
#define VENDOR_ID 0xA13B // Hexidecimal A13B will be Jacky's vendor ID
|
||||
#define PRODUCT_ID 0x0008 // 8 for S7++
|
||||
#define DEVICE_VER 0x0002
|
||||
#define MANUFACTURER Jacky
|
||||
#define PRODUCT Jacky S7 Elephant Rev 2
|
||||
|
||||
/* Don't remove this without also removing LTO_ENABLE=yes in rules.mk */
|
||||
#define NO_ACTION_MACRO
|
||||
#define NO_ACTION_FUNCTION
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 5
|
||||
#define MATRIX_COLS 16
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*
|
||||
* 0 1 2 3 4 5 6 7 8 9 A B C D E F */
|
||||
#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 }
|
||||
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, F7, F6, F5, F4, F1, F0, E6 }
|
||||
|
||||
/* Setting the matrix value of top left key for bootmagic lite */
|
||||
#define BOOTMAGIC_LITE_ROW 0
|
||||
#define BOOTMAGIC_LITE_COLUMN 15
|
||||
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
#define BACKLIGHT_PIN B6
|
||||
// #define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_LEVELS 15
|
||||
|
||||
#define RGB_DI_PIN E2
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
#define RGBLED_NUM 2
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
|
||||
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
||||
#endif // RGB_DI_PIN
|
||||
|
||||
/* 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
|
|
@ -0,0 +1,165 @@
|
|||
{
|
||||
"keyboard_name": "S7 Elephant Rev2",
|
||||
"url": "https://geekhack.org/index.php?topic=103148.0",
|
||||
"maintainer": "qmk",
|
||||
"width": 17.25,
|
||||
"height": 5,
|
||||
"layouts": {
|
||||
"LAYOUT_all": {
|
||||
"layout": [
|
||||
{"label":"K0F (B0,E6)", "x":0, "y":0},
|
||||
{"label":"K00 (B0,D0)", "x":1.25, "y":0},
|
||||
{"label":"K01 (B0,D1)", "x":2.25, "y":0},
|
||||
{"label":"K02 (B0,D2)", "x":3.25, "y":0},
|
||||
{"label":"K03 (B0,D3)", "x":4.25, "y":0},
|
||||
{"label":"K04 (B0,D5)", "x":5.25, "y":0},
|
||||
{"label":"K05 (B0,D4)", "x":6.25, "y":0},
|
||||
{"label":"K06 (B0,D6)", "x":7.25, "y":0},
|
||||
{"label":"K07 (B0,D7)", "x":8.25, "y":0},
|
||||
{"label":"K08 (B0,B4)", "x":9.25, "y":0},
|
||||
{"label":"K09 (B0,F7)", "x":10.25, "y":0},
|
||||
{"label":"K0A (B0,F6)", "x":11.25, "y":0},
|
||||
{"label":"K0B (B0,F5)", "x":12.25, "y":0},
|
||||
{"label":"K0C (B0,F4)", "x":13.25, "y":0},
|
||||
{"label":"K0D (B0,F1)", "x":14.25, "y":0},
|
||||
{"label":"K0E (B0,F0)", "x":15.25, "y":0},
|
||||
{"label":"K4E (B7,F0)", "x":16.25, "y":0},
|
||||
{"label":"K1F (B1,E6)", "x":0, "y":1},
|
||||
{"label":"K10 (B1,D0)", "x":1.25, "y":1, "w":1.5},
|
||||
{"label":"K11 (B1,D1)", "x":2.75, "y":1},
|
||||
{"label":"K12 (B1,D2)", "x":3.75, "y":1},
|
||||
{"label":"K13 (B1,D3)", "x":4.75, "y":1},
|
||||
{"label":"K14 (B1,D5)", "x":5.75, "y":1},
|
||||
{"label":"K15 (B1,D4)", "x":6.75, "y":1},
|
||||
{"label":"K16 (B1,D6)", "x":7.75, "y":1},
|
||||
{"label":"K17 (B1,D7)", "x":8.75, "y":1},
|
||||
{"label":"K18 (B1,B4)", "x":9.75, "y":1},
|
||||
{"label":"K19 (B1,F7)", "x":10.75, "y":1},
|
||||
{"label":"K1A (B1,F6)", "x":11.75, "y":1},
|
||||
{"label":"K1B (B1,F5)", "x":12.75, "y":1},
|
||||
{"label":"K1C (B1,F4)", "x":13.75, "y":1},
|
||||
{"label":"K2C (B2,F4)", "x":14.75, "y":1, "w":1.5},
|
||||
{"label":"K1E (B1,F0)", "x":16.25, "y":1},
|
||||
{"label":"K2F (B2,E6)", "x":0, "y":2},
|
||||
{"label":"K20 (B2,D0)", "x":1.25, "y":2, "w":1.75},
|
||||
{"label":"K21 (B2,D1)", "x":3, "y":2},
|
||||
{"label":"K22 (B2,D2)", "x":4, "y":2},
|
||||
{"label":"K23 (B2,D3)", "x":5, "y":2},
|
||||
{"label":"K24 (B2,D5)", "x":6, "y":2},
|
||||
{"label":"K25 (B2,D4)", "x":7, "y":2},
|
||||
{"label":"K26 (B2,D6)", "x":8, "y":2},
|
||||
{"label":"K27 (B2,D7)", "x":9, "y":2},
|
||||
{"label":"K28 (B2,B4)", "x":10, "y":2},
|
||||
{"label":"K29 (B2,F7)", "x":11, "y":2},
|
||||
{"label":"K2A (B2,F6)", "x":12, "y":2},
|
||||
{"label":"K2B (B2,F5)", "x":13, "y":2},
|
||||
{"label":"K1D (B1,F1)", "x":14, "y":2, "w":2.25},
|
||||
{"label":"K2E (B2,F0)", "x":16.25, "y":2},
|
||||
{"label":"K3F (B3,E6)", "x":0, "y":3},
|
||||
{"label":"K30 (B3,D0)", "x":1.25, "y":3, "w":1.25},
|
||||
{"label":"K31 (B3,D1)", "x":2.5, "y":3},
|
||||
{"label":"K32 (B3,D2)", "x":3.5, "y":3},
|
||||
{"label":"K33 (B3,D3)", "x":4.5, "y":3},
|
||||
{"label":"K34 (B3,D5)", "x":5.5, "y":3},
|
||||
{"label":"K35 (B3,D4)", "x":6.5, "y":3},
|
||||
{"label":"K36 (B3,D6)", "x":7.5, "y":3},
|
||||
{"label":"K37 (B3,D7)", "x":8.5, "y":3},
|
||||
{"label":"K38 (B3,B4)", "x":9.5, "y":3},
|
||||
{"label":"K39 (B3,F7)", "x":10.5, "y":3},
|
||||
{"label":"K3A (B3,F6)", "x":11.5, "y":3},
|
||||
{"label":"K3B (B3,F5)", "x":12.5, "y":3},
|
||||
{"label":"K3C (B3,F4)", "x":13.5, "y":3, "w":1.75},
|
||||
{"label":"K3D (B3,F1)", "x":15.25, "y":3},
|
||||
{"label":"K3E (B3,F0)", "x":16.25, "y":3},
|
||||
{"label":"K4F (B7,E6)", "x":0, "y":4},
|
||||
{"label":"K40 (B7,D0)", "x":1.25, "y":4, "w":1.25},
|
||||
{"label":"K41 (B7,D1)", "x":2.5, "y":4, "w":1.25},
|
||||
{"label":"K42 (B7,D2)", "x":3.75, "y":4, "w":1.25},
|
||||
{"label":"K46 (B7,D6)", "x":5, "y":4, "w":6.25},
|
||||
{"label":"K48 (B7,B4)", "x":11.25, "y":4},
|
||||
{"label":"K49 (B7,F7)", "x":12.25, "y":4},
|
||||
{"label":"K4A (B7,F6)", "x":13.25, "y":4},
|
||||
{"label":"K4B (B7,F5)", "x":14.25, "y":4},
|
||||
{"label":"K4C (B7,F4)", "x":15.25, "y":4},
|
||||
{"label":"K4D (B7,F1)", "x":16.25, "y":4}
|
||||
]
|
||||
},
|
||||
"LAYOUT_ansi_1u": {
|
||||
"layout": [
|
||||
{"label":"K0F", "x":0, "y":0},
|
||||
{"label":"K00", "x":1.25, "y":0},
|
||||
{"label":"K01", "x":2.25, "y":0},
|
||||
{"label":"K02", "x":3.25, "y":0},
|
||||
{"label":"K03", "x":4.25, "y":0},
|
||||
{"label":"K04", "x":5.25, "y":0},
|
||||
{"label":"K05", "x":6.25, "y":0},
|
||||
{"label":"K06", "x":7.25, "y":0},
|
||||
{"label":"K07", "x":8.25, "y":0},
|
||||
{"label":"K08", "x":9.25, "y":0},
|
||||
{"label":"K09", "x":10.25, "y":0},
|
||||
{"label":"K0A", "x":11.25, "y":0},
|
||||
{"label":"K0B", "x":12.25, "y":0},
|
||||
{"label":"K0C", "x":13.25, "y":0},
|
||||
{"label":"K0E", "x":14.25, "y":0, "w":2},
|
||||
{"label":"K4E", "x":16.25, "y":0},
|
||||
{"label":"K1F", "x":0, "y":1},
|
||||
{"label":"K10", "x":1.25, "y":1, "w":1.5},
|
||||
{"label":"K11", "x":2.75, "y":1},
|
||||
{"label":"K12", "x":3.75, "y":1},
|
||||
{"label":"K13", "x":4.75, "y":1},
|
||||
{"label":"K14", "x":5.75, "y":1},
|
||||
{"label":"K15", "x":6.75, "y":1},
|
||||
{"label":"K16", "x":7.75, "y":1},
|
||||
{"label":"K17", "x":8.75, "y":1},
|
||||
{"label":"K18", "x":9.75, "y":1},
|
||||
{"label":"K19", "x":10.75, "y":1},
|
||||
{"label":"K1A", "x":11.75, "y":1},
|
||||
{"label":"K1B", "x":12.75, "y":1},
|
||||
{"label":"K1C", "x":13.75, "y":1},
|
||||
{"label":"K2C", "x":14.75, "y":1, "w":1.5},
|
||||
{"label":"K1E", "x":16.25, "y":1},
|
||||
{"label":"K2F", "x":0, "y":2},
|
||||
{"label":"K20", "x":1.25, "y":2, "w":1.75},
|
||||
{"label":"K21", "x":3, "y":2},
|
||||
{"label":"K22", "x":4, "y":2},
|
||||
{"label":"K23", "x":5, "y":2},
|
||||
{"label":"K24", "x":6, "y":2},
|
||||
{"label":"K25", "x":7, "y":2},
|
||||
{"label":"K26", "x":8, "y":2},
|
||||
{"label":"K27", "x":9, "y":2},
|
||||
{"label":"K28", "x":10, "y":2},
|
||||
{"label":"K29", "x":11, "y":2},
|
||||
{"label":"K2A", "x":12, "y":2},
|
||||
{"label":"K2B", "x":13, "y":2},
|
||||
{"label":"K1D", "x":14, "y":2, "w":2.25},
|
||||
{"label":"K2E", "x":16.25, "y":2},
|
||||
{"label":"K3F", "x":0, "y":3},
|
||||
{"label":"K30", "x":1.25, "y":3, "w":2.25},
|
||||
{"label":"K32", "x":3.5, "y":3},
|
||||
{"label":"K33", "x":4.5, "y":3},
|
||||
{"label":"K34", "x":5.5, "y":3},
|
||||
{"label":"K35", "x":6.5, "y":3},
|
||||
{"label":"K36", "x":7.5, "y":3},
|
||||
{"label":"K37", "x":8.5, "y":3},
|
||||
{"label":"K38", "x":9.5, "y":3},
|
||||
{"label":"K39", "x":10.5, "y":3},
|
||||
{"label":"K3A", "x":11.5, "y":3},
|
||||
{"label":"K3B", "x":12.5, "y":3},
|
||||
{"label":"K3C", "x":13.5, "y":3, "w":1.75},
|
||||
{"label":"K3D", "x":15.25, "y":3},
|
||||
{"label":"K3E", "x":16.25, "y":3},
|
||||
{"label":"K4F", "x":0, "y":4},
|
||||
{"label":"K40", "x":1.25, "y":4, "w":1.25},
|
||||
{"label":"K41", "x":2.5, "y":4, "w":1.25},
|
||||
{"label":"K42", "x":3.75, "y":4, "w":1.25},
|
||||
{"label":"K46", "x":5, "y":4, "w":6.25},
|
||||
{"label":"K48", "x":11.25, "y":4},
|
||||
{"label":"K49", "x":12.25, "y":4},
|
||||
{"label":"K4A", "x":13.25, "y":4},
|
||||
{"label":"K4B", "x":14.25, "y":4},
|
||||
{"label":"K4C", "x":15.25, "y":4},
|
||||
{"label":"K4D", "x":16.25, "y":4}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,81 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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
|
||||
|
||||
enum custom_layers {
|
||||
_QWERTY,
|
||||
_FN
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Qwerty
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | F1 | | Esc`~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bkspc | Ins |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F2 | | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | Del |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F3 | | Caps | A | S | D | F | G | H | J | K | L | ; | ' | Enter | Home|
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F4 | | Shift | Z | X | C | V | B | N | M | , | . | / | RShift | U | End |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F5 | | Ctrl | Gui | Alt | Space | RAlt | FN | RCtrl | L | D | R |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
[_QWERTY] = LAYOUT_ansi_1u(
|
||||
KC_F1, KC_GESC, 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_INS,
|
||||
KC_F2, 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_F3, 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_HOME,
|
||||
KC_F4, 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_END,
|
||||
KC_F5, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
/* FN
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* |Reset | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr | ScrLck |Pause|
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | |Prev |Play |Next | | | | |VolD |Mute |VolU | | |PgUp |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | |PgDn |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* |EEPRST| | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
[_FN] = LAYOUT_ansi_1u(
|
||||
RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, _______, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, KC_PGUP,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN,
|
||||
EEP_RST, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
||||
|
||||
bool led_update_user(led_t led_state) {
|
||||
// Turn LEDs On/Off for Caps Lock
|
||||
if (led_state.caps_lock) {
|
||||
rgblight_enable_noeeprom();
|
||||
rgblight_sethsv_noeeprom(0, 0, 80);
|
||||
} else {
|
||||
rgblight_sethsv_noeeprom(0, 0, 80);
|
||||
rgblight_disable_noeeprom();
|
||||
}
|
||||
return false;
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
# Default keymap for S7 Elephant
|
||||
|
||||
**Features**
|
||||
|
||||
* LEDs are functioning as Caps-Lock indicators
|
||||
|
||||
## QWERTY (Normal) Layer
|
||||
```
|
||||
,------. ,-------------------------------------------------------------------------------------------------.
|
||||
| F1 | | Esc`~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bkspc |Home |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| F2 | | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | End |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| F3 | | Caps | A | S | D | F | G | H | J | K | L | ; | ' | Enter | Ins |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| F4 | | Shift | Z | X | C | V | B | N | M | , | . | / | RShift | U | Del |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| F5 | | Ctrl | Gui | Alt | Space | FN | RAlt | RCtrl | L | D | R |
|
||||
`------' `-------------------------------------------------------------------------------------------------'
|
||||
```
|
||||
|
||||
## FN Layer
|
||||
```
|
||||
,------. ,-------------------------------------------------------------------------------------------------.
|
||||
|Reset | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr | ScrLck |Pause|
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | |Prev |Play |Next | | | | |VolD |Mute |VolU | | |PgUp |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | |PgDn |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
|EPRM | | | | | | | | | | | |
|
||||
`------' `-------------------------------------------------------------------------------------------------'
|
||||
```
|
|
@ -0,0 +1,108 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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
|
||||
|
||||
// For readability
|
||||
enum layer_names {
|
||||
_BASE,
|
||||
_FN1,
|
||||
_FN2,
|
||||
_FN3,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Default layer
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | F1 | | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bkspc | Ins |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F2 | | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | Del |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F3 | | Caps | A | S | D | F | G | H | J | K | L | ; | ' | Enter |Home |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F4 | | Shift | Z | X | C | V | B | N | M | , | . | / | RShift | U | End |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F5 | | Ctrl | Gui | Alt | Space | RAlt | FN | RCtrl | L | D | R |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_BASE] = LAYOUT_ansi_1u(
|
||||
KC_F1, 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_INS,
|
||||
KC_F2, 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_F3, 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_HOME,
|
||||
KC_F4, 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_END,
|
||||
KC_F5, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||
|
||||
/* Fn1 Layer
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | F6 | | `~ | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F7 | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F8 | | |VolD |VolU |Mute | | | | | | | | | |PgUp |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F9 | | |Prev |Play |Next | | | | | | | | | |PgDn |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | F10 | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_FN1] = LAYOUT_ansi_1u(
|
||||
KC_F6, KC_GRV, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_F7, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_F8, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP,
|
||||
KC_F9, KC_TRNS, KC_MPRV, KC_MPLY, KC_MNXT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN,
|
||||
KC_F10, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
|
||||
/* Fn2 Layer
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_FN2] = LAYOUT_ansi_1u(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
|
||||
/* Fn3 Layer
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_FN3] = LAYOUT_ansi_1u(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
};
|
|
@ -0,0 +1,35 @@
|
|||
# Default keymap for S7 Elephant
|
||||
|
||||
**Features**
|
||||
|
||||
* LEDs are functioning as Caps-Lock indicators
|
||||
|
||||
## QWERTY (Normal) Layer
|
||||
```
|
||||
,------. ,-------------------------------------------------------------------------------------------------.
|
||||
| F1 | | Esc`~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bkspc |Home |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| F2 | | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | End |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| F3 | | Caps | A | S | D | F | G | H | J | K | L | ; | ' | Enter | Ins |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| F4 | | Shift | Z | X | C | V | B | N | M | , | . | / | RShift | U | Del |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| F5 | | Ctrl | Gui | Alt | Space | FN | RAlt | RCtrl | L | D | R |
|
||||
`------' `-------------------------------------------------------------------------------------------------'
|
||||
```
|
||||
|
||||
## FN Layer
|
||||
```
|
||||
,------. ,-------------------------------------------------------------------------------------------------.
|
||||
|Reset | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr | ScrLck |Pause|
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | |Prev |Play |Next | | | | |VolD |Mute |VolU | | |PgUp |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | |PgDn |
|
||||
|------| |-------------------------------------------------------------------------------------------------|
|
||||
|EPRM | | | | | | | | | | | |
|
||||
`------' `-------------------------------------------------------------------------------------------------'
|
||||
```
|
|
@ -0,0 +1 @@
|
|||
VIA_ENABLE = yes
|
|
@ -0,0 +1,17 @@
|
|||
# S7 Elephant
|
||||
|
||||
![S7 Elephant](https://i.imgur.com/CaHxKBJ.jpg)
|
||||
|
||||
A high-end 70% custom keyboard designed and produced by [jacky](https://geekhack.org/index.php?action=profile;u=63864) from Geekhack.
|
||||
|
||||
* Keyboard Maintainer: QMK Community
|
||||
* Hardware Supported: S7 Elephant
|
||||
* Hardware Availability: [The GB has ended with little chance to run again.](https://geekhack.org/index.php?topic=96434.0)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make s7_elephant/rev2:default
|
||||
|
||||
To enter the bootloader, either short the pins on the PCB next to CAPSLOCK or the press the RESET button on the FN layer.
|
||||
|
||||
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).
|
|
@ -0,0 +1,17 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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 "rev2.h"
|
|
@ -0,0 +1,77 @@
|
|||
/* Copyright 2020 MudkipMao
|
||||
*
|
||||
* 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"
|
||||
|
||||
#define ___ KC_NO
|
||||
|
||||
/* ALL: This is an odd layout that the JSON file comes preloaded with. Split left-shift and ansi enter
|
||||
* ,------. ,-------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |------| |-------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `------' `-------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_all( \
|
||||
K0F, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K4E, \
|
||||
K1F, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K2C, K1E, \
|
||||
K2F, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K1D, K2E, \
|
||||
K3F, K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \
|
||||
K4F, K40, K41, K42, K46, K48, K49, K4A, K4B, K4C, K4D \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, ___, K2E, K2F }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F }, \
|
||||
{ K40, K41, K42, ___, ___, ___, K46, ___, K48, K49, K4A, K4B, K4C, K4D, K4E, K4F } \
|
||||
}
|
||||
|
||||
/* ANSI
|
||||
* ,---. ,---------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |---| |---------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* |---| |---------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |---| |---------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |---| |---------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `---' `---------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define LAYOUT_ansi_1u( \
|
||||
K0F, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0E, K4E, \
|
||||
K1F, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K2C, K1E, \
|
||||
K2F, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K1D, K2E, \
|
||||
K3F, K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \
|
||||
K4F, K40, K41, K42, K46, K48, K49, K4A, K4B, K4C, K4D \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, ___, K0E, K0F }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, ___, K2E, K2F }, \
|
||||
{ K30, ___, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F }, \
|
||||
{ K40, K41, K42, ___, ___, ___, K46, ___, K48, K49, K4A, K4B, K4C, K4D, K4E, K4F } \
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = atmel-dfu
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
||||
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 = no # USB Nkey Rollover
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
LTO_ENABLE = yes
|
Loading…
Reference in New Issue