[Keyboard] Add Mammoth75x (#14925)
This commit is contained in:
parent
d595dce89f
commit
eb8174bc40
21 changed files with 1242 additions and 0 deletions
57
keyboards/wuque/mammoth75x/config.h
Normal file
57
keyboards/wuque/mammoth75x/config.h
Normal file
|
@ -0,0 +1,57 @@
|
|||
/*
|
||||
Copyright 2021 wuquestudio
|
||||
|
||||
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 0xA06B
|
||||
#define PRODUCT_ID 0x0004
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER wuque studio
|
||||
#define PRODUCT mammoth75x
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 6
|
||||
#define MATRIX_COLS 16
|
||||
|
||||
#define MATRIX_ROW_PINS { B0, C7, D2, F7, D1, D0 }
|
||||
#define MATRIX_COL_PINS { D3, D5, D4, D6, D7, B4, B5, E6, F0, F1, F4, F5, F6, C6, B7, B3 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Set 0 if debouncing isn't needed */
|
||||
#define DEBOUNCE 5
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* Enable encoder */
|
||||
#define ENCODERS_PAD_A { B2 }
|
||||
#define ENCODERS_PAD_B { B1 }
|
||||
|
||||
#define ENCODERS 1
|
||||
// Note: array is { col, row )
|
||||
#define ENCODERS_CW_KEY { { 5, 5 } }
|
||||
#define ENCODERS_CCW_KEY { { 3, 5 } }
|
||||
|
||||
#define LED_CAPS_LOCK_PIN B6
|
||||
#define LED_PIN_ON_STATE 0
|
571
keyboards/wuque/mammoth75x/info.json
Normal file
571
keyboards/wuque/mammoth75x/info.json
Normal file
|
@ -0,0 +1,571 @@
|
|||
{
|
||||
"keyboard_name": "mammoth75x",
|
||||
"url": "https://shop.wuquestudio.com/",
|
||||
"maintainer": "spbgzh",
|
||||
"layouts": {
|
||||
"LAYOUT_all": {
|
||||
"layout": [
|
||||
{ "label": "Esc", "x": 0, "y": 0 },
|
||||
{ "label": "F1", "x": 1.5, "y": 0 },
|
||||
{ "label": "F2", "x": 2.5, "y": 0 },
|
||||
{ "label": "F3", "x": 3.5, "y": 0 },
|
||||
{ "label": "F4", "x": 4.5, "y": 0 },
|
||||
{ "label": "F5", "x": 6, "y": 0 },
|
||||
{ "label": "F6", "x": 7, "y": 0 },
|
||||
{ "label": "F7", "x": 8, "y": 0 },
|
||||
{ "label": "F8", "x": 9, "y": 0 },
|
||||
{ "label": "F9", "x": 10.5, "y": 0 },
|
||||
{ "label": "F10", "x": 11.5, "y": 0 },
|
||||
{ "label": "F11", "x": 12.5, "y": 0 },
|
||||
{ "label": "F12", "x": 13.5, "y": 0 },
|
||||
{ "label": "Delete", "x": 15, "y": 0 },
|
||||
{ "label": "EncoderRotateL", "x": 15.25, "y": 1.25, "w": 0.25 },
|
||||
{ "label": "EncoderClick", "x": 15.75, "y": 1.25 },
|
||||
{ "label": "EncoderRotateR", "x": 16.75, "y": 1.25, "w": 0.25 },
|
||||
|
||||
{ "label": "~", "x": 0, "y": 1.25 },
|
||||
{ "label": "1", "x": 1, "y": 1.25 },
|
||||
{ "label": "2", "x": 2, "y": 1.25 },
|
||||
{ "label": "3", "x": 3, "y": 1.25 },
|
||||
{ "label": "4", "x": 4, "y": 1.25 },
|
||||
{ "label": "5", "x": 5, "y": 1.25 },
|
||||
{ "label": "6", "x": 6, "y": 1.25 },
|
||||
{ "label": "7", "x": 7, "y": 1.25 },
|
||||
{ "label": "8", "x": 8, "y": 1.25 },
|
||||
{ "label": "9", "x": 9, "y": 1.25 },
|
||||
{ "label": "0", "x": 10, "y": 1.25 },
|
||||
{ "label": "-", "x": 11, "y": 1.25 },
|
||||
{ "label": "=", "x": 12, "y": 1.25 },
|
||||
{ "label": "Backspace", "x": 13, "y": 1.25 },
|
||||
|
||||
{ "label": "Tab", "x": 0, "y": 2.25, "w": 1.5 },
|
||||
{ "label": "Q", "x": 1.5, "y": 2.25 },
|
||||
{ "label": "W", "x": 2.5, "y": 2.25 },
|
||||
{ "label": "E", "x": 3.5, "y": 2.25 },
|
||||
{ "label": "R", "x": 4.5, "y": 2.25 },
|
||||
{ "label": "T", "x": 5.5, "y": 2.25 },
|
||||
{ "label": "Y", "x": 6.5, "y": 2.25 },
|
||||
{ "label": "U", "x": 7.5, "y": 2.25 },
|
||||
{ "label": "I", "x": 8.5, "y": 2.25 },
|
||||
{ "label": "O", "x": 9.5, "y": 2.25 },
|
||||
{ "label": "P", "x": 10.5, "y": 2.25 },
|
||||
{ "label": "[", "x": 11.5, "y": 2.25 },
|
||||
{ "label": "]", "x": 12.5, "y": 2.25 },
|
||||
{ "label": "\\", "x": 13.5,"y": 2.25, "w": 1.5 },
|
||||
{ "label": "Home", "x": 15.25, "y": 2.25 },
|
||||
{ "label": "PageUp", "x": 16.25, "y": 2.25 },
|
||||
|
||||
{ "label": "Caps Lock", "x": 0, "y": 3.25, "w": 1.75 },
|
||||
{ "label": "A", "x": 1.75, "y": 3.25 },
|
||||
{ "label": "S", "x": 2.75, "y": 3.25 },
|
||||
{ "label": "D", "x": 3.75, "y": 3.25 },
|
||||
{ "label": "F", "x": 4.75, "y": 3.25 },
|
||||
{ "label": "G", "x": 5.75, "y": 3.25 },
|
||||
{ "label": "H", "x": 6.75, "y": 3.25 },
|
||||
{ "label": "J", "x": 7.75, "y": 3.25 },
|
||||
{ "label": "K", "x": 8.75, "y": 3.25 },
|
||||
{ "label": "L", "x": 9.75, "y": 3.25 },
|
||||
{ "label": ";", "x": 10.75, "y": 3.25 },
|
||||
{ "label": "'", "x": 11.75, "y": 3.25 },
|
||||
{ "label": "Enter", "x": 12.75, "y": 3.25, "w": 2.25 },
|
||||
{ "label": "Backspace1", "x": 14, "y": 1.25 },
|
||||
{ "label": "End", "x": 15.25, "y": 3.25 },
|
||||
{ "label": "PageDown", "x": 16.25, "y": 3.25 },
|
||||
|
||||
{ "label": "Shift1", "x": 0, "y": 4.25, "w": 1.25 },
|
||||
{ "label": "Shift2", "x": 1.25, "y": 4.25 },
|
||||
{ "label": "Z", "x": 2.25, "y": 4.25 },
|
||||
{ "label": "X", "x": 3.25, "y": 4.25 },
|
||||
{ "label": "C", "x": 4.25, "y": 4.25 },
|
||||
{ "label": "V", "x": 5.25, "y": 4.25 },
|
||||
{ "label": "B", "x": 6.25, "y": 4.25 },
|
||||
{ "label": "N", "x": 7.25, "y": 4.25 },
|
||||
{ "label": "M", "x": 8.25, "y": 4.25 },
|
||||
{ "label": ",", "x": 9.25, "y": 4.25 },
|
||||
{ "label": ".", "x": 10.25, "y": 4.25 },
|
||||
{ "label": "/", "x": 11.25, "y": 4.25 },
|
||||
{ "label": "Shift1", "x": 12.25, "y": 4.25, "w": 1.75 },
|
||||
{ "label": "Shift2", "x": 14, "y": 4.25 },
|
||||
{ "label": "\u2191", "x": 15.25, "y": 4.25 },
|
||||
|
||||
{ "label": "Ctrl", "x": 0, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Win", "x": 1.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Alt", "x": 2.5, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Space","x": 3.75, "y": 5.25, "w": 2.25 },
|
||||
{ "label": "Space","x": 6, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Space","x": 7.25, "y": 5.25, "w": 2.75 },
|
||||
{ "label": "Alt", "x": 10, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Ctrl", "x": 11.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Menu", "x": 12.5, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "\u2190", "x": 14.25, "y": 5.25 },
|
||||
{ "label": "\u2193", "x": 15.25, "y": 5.25 },
|
||||
{ "label": "\u2192", "x": 16.25, "y": 5.25 }
|
||||
]
|
||||
},
|
||||
"LAYOUT_75_ansi": {
|
||||
"layout": [
|
||||
{ "label": "Esc", "x": 0, "y": 0 },
|
||||
{ "label": "F1", "x": 1.5, "y": 0 },
|
||||
{ "label": "F2", "x": 2.5, "y": 0 },
|
||||
{ "label": "F3", "x": 3.5, "y": 0 },
|
||||
{ "label": "F4", "x": 4.5, "y": 0 },
|
||||
{ "label": "F5", "x": 6, "y": 0 },
|
||||
{ "label": "F6", "x": 7, "y": 0 },
|
||||
{ "label": "F7", "x": 8, "y": 0 },
|
||||
{ "label": "F8", "x": 9, "y": 0 },
|
||||
{ "label": "F9", "x": 10.5, "y": 0 },
|
||||
{ "label": "F10", "x": 11.5, "y": 0 },
|
||||
{ "label": "F11", "x": 12.5, "y": 0 },
|
||||
{ "label": "F12", "x": 13.5, "y": 0 },
|
||||
{ "label": "Delete", "x": 15, "y": 0 },
|
||||
{ "label": "EncoderClick", "x": 15.75, "y": 1.25 },
|
||||
|
||||
{ "label": "~", "x": 0, "y": 1.25 },
|
||||
{ "label": "1", "x": 1, "y": 1.25 },
|
||||
{ "label": "2", "x": 2, "y": 1.25 },
|
||||
{ "label": "3", "x": 3, "y": 1.25 },
|
||||
{ "label": "4", "x": 4, "y": 1.25 },
|
||||
{ "label": "5", "x": 5, "y": 1.25 },
|
||||
{ "label": "6", "x": 6, "y": 1.25 },
|
||||
{ "label": "7", "x": 7, "y": 1.25 },
|
||||
{ "label": "8", "x": 8, "y": 1.25 },
|
||||
{ "label": "9", "x": 9, "y": 1.25 },
|
||||
{ "label": "0", "x": 10, "y": 1.25 },
|
||||
{ "label": "-", "x": 11, "y": 1.25 },
|
||||
{ "label": "=", "x": 12, "y": 1.25 },
|
||||
{ "label": "Backspace", "x": 13, "y": 1.25, "w":2},
|
||||
|
||||
{ "label": "Tab", "x": 0, "y": 2.25, "w": 1.5 },
|
||||
{ "label": "Q", "x": 1.5, "y": 2.25 },
|
||||
{ "label": "W", "x": 2.5, "y": 2.25 },
|
||||
{ "label": "E", "x": 3.5, "y": 2.25 },
|
||||
{ "label": "R", "x": 4.5, "y": 2.25 },
|
||||
{ "label": "T", "x": 5.5, "y": 2.25 },
|
||||
{ "label": "Y", "x": 6.5, "y": 2.25 },
|
||||
{ "label": "U", "x": 7.5, "y": 2.25 },
|
||||
{ "label": "I", "x": 8.5, "y": 2.25 },
|
||||
{ "label": "O", "x": 9.5, "y": 2.25 },
|
||||
{ "label": "P", "x": 10.5, "y": 2.25 },
|
||||
{ "label": "[", "x": 11.5, "y": 2.25 },
|
||||
{ "label": "]", "x": 12.5, "y": 2.25 },
|
||||
{ "label": "\\", "x": 13.5,"y": 2.25, "w": 1.5 },
|
||||
{ "label": "Home", "x": 15.25, "y": 2.25 },
|
||||
{ "label": "PageUp", "x": 16.25, "y": 2.25 },
|
||||
|
||||
{ "label": "Caps Lock", "x": 0, "y": 3.25, "w": 1.75 },
|
||||
{ "label": "A", "x": 1.75, "y": 3.25 },
|
||||
{ "label": "S", "x": 2.75, "y": 3.25 },
|
||||
{ "label": "D", "x": 3.75, "y": 3.25 },
|
||||
{ "label": "F", "x": 4.75, "y": 3.25 },
|
||||
{ "label": "G", "x": 5.75, "y": 3.25 },
|
||||
{ "label": "H", "x": 6.75, "y": 3.25 },
|
||||
{ "label": "J", "x": 7.75, "y": 3.25 },
|
||||
{ "label": "K", "x": 8.75, "y": 3.25 },
|
||||
{ "label": "L", "x": 9.75, "y": 3.25 },
|
||||
{ "label": ";", "x": 10.75, "y": 3.25 },
|
||||
{ "label": "'", "x": 11.75, "y": 3.25 },
|
||||
{ "label": "Enter", "x": 12.75, "y": 3.25, "w": 2.25 },
|
||||
{ "label": "End", "x": 15.25, "y": 3.25 },
|
||||
{ "label": "PageDown", "x": 16.25, "y": 3.25 },
|
||||
|
||||
{ "label": "Shift", "x": 0, "y": 4.25, "w": 2.25 },
|
||||
{ "label": "Z", "x": 2.25, "y": 4.25 },
|
||||
{ "label": "X", "x": 3.25, "y": 4.25 },
|
||||
{ "label": "C", "x": 4.25, "y": 4.25 },
|
||||
{ "label": "V", "x": 5.25, "y": 4.25 },
|
||||
{ "label": "B", "x": 6.25, "y": 4.25 },
|
||||
{ "label": "N", "x": 7.25, "y": 4.25 },
|
||||
{ "label": "M", "x": 8.25, "y": 4.25 },
|
||||
{ "label": ",", "x": 9.25, "y": 4.25 },
|
||||
{ "label": ".", "x": 10.25, "y": 4.25 },
|
||||
{ "label": "/", "x": 11.25, "y": 4.25 },
|
||||
{ "label": "Shift", "x": 12.25, "y": 4.25, "w": 2.75 },
|
||||
{ "label": "\u2191", "x": 15.25, "y": 4.25 },
|
||||
|
||||
{ "label": "Ctrl", "x": 0, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Win", "x": 1.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Alt", "x": 2.5, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Space","x": 3.75, "y": 5.25, "w": 6.25 },
|
||||
{ "label": "Alt", "x": 10, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Ctrl", "x": 11.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Menu", "x": 12.5, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "\u2190", "x": 14.25, "y": 5.25 },
|
||||
{ "label": "\u2193", "x": 15.25, "y": 5.25 },
|
||||
{ "label": "\u2192", "x": 16.25, "y": 5.25 }
|
||||
]
|
||||
},
|
||||
"LAYOUT_75_ansi_split_lshift": {
|
||||
"layout": [
|
||||
{ "label": "Esc", "x": 0, "y": 0 },
|
||||
{ "label": "F1", "x": 1.5, "y": 0 },
|
||||
{ "label": "F2", "x": 2.5, "y": 0 },
|
||||
{ "label": "F3", "x": 3.5, "y": 0 },
|
||||
{ "label": "F4", "x": 4.5, "y": 0 },
|
||||
{ "label": "F5", "x": 6, "y": 0 },
|
||||
{ "label": "F6", "x": 7, "y": 0 },
|
||||
{ "label": "F7", "x": 8, "y": 0 },
|
||||
{ "label": "F8", "x": 9, "y": 0 },
|
||||
{ "label": "F9", "x": 10.5, "y": 0 },
|
||||
{ "label": "F10", "x": 11.5, "y": 0 },
|
||||
{ "label": "F11", "x": 12.5, "y": 0 },
|
||||
{ "label": "F12", "x": 13.5, "y": 0 },
|
||||
{ "label": "Delete", "x": 15, "y": 0 },
|
||||
{ "label": "EncoderClick", "x": 15.75, "y": 1.25 },
|
||||
|
||||
{ "label": "~", "x": 0, "y": 1.25 },
|
||||
{ "label": "1", "x": 1, "y": 1.25 },
|
||||
{ "label": "2", "x": 2, "y": 1.25 },
|
||||
{ "label": "3", "x": 3, "y": 1.25 },
|
||||
{ "label": "4", "x": 4, "y": 1.25 },
|
||||
{ "label": "5", "x": 5, "y": 1.25 },
|
||||
{ "label": "6", "x": 6, "y": 1.25 },
|
||||
{ "label": "7", "x": 7, "y": 1.25 },
|
||||
{ "label": "8", "x": 8, "y": 1.25 },
|
||||
{ "label": "9", "x": 9, "y": 1.25 },
|
||||
{ "label": "0", "x": 10, "y": 1.25 },
|
||||
{ "label": "-", "x": 11, "y": 1.25 },
|
||||
{ "label": "=", "x": 12, "y": 1.25 },
|
||||
{ "label": "Backspace", "x": 13, "y": 1.25, "w":2},
|
||||
|
||||
{ "label": "Tab", "x": 0, "y": 2.25, "w": 1.5 },
|
||||
{ "label": "Q", "x": 1.5, "y": 2.25 },
|
||||
{ "label": "W", "x": 2.5, "y": 2.25 },
|
||||
{ "label": "E", "x": 3.5, "y": 2.25 },
|
||||
{ "label": "R", "x": 4.5, "y": 2.25 },
|
||||
{ "label": "T", "x": 5.5, "y": 2.25 },
|
||||
{ "label": "Y", "x": 6.5, "y": 2.25 },
|
||||
{ "label": "U", "x": 7.5, "y": 2.25 },
|
||||
{ "label": "I", "x": 8.5, "y": 2.25 },
|
||||
{ "label": "O", "x": 9.5, "y": 2.25 },
|
||||
{ "label": "P", "x": 10.5, "y": 2.25 },
|
||||
{ "label": "[", "x": 11.5, "y": 2.25 },
|
||||
{ "label": "]", "x": 12.5, "y": 2.25 },
|
||||
{ "label": "\\", "x": 13.5,"y": 2.25, "w": 1.5 },
|
||||
{ "label": "Home", "x": 15.25, "y": 2.25 },
|
||||
{ "label": "PageUp", "x": 16.25, "y": 2.25 },
|
||||
|
||||
{ "label": "Caps Lock", "x": 0, "y": 3.25, "w": 1.75 },
|
||||
{ "label": "A", "x": 1.75, "y": 3.25 },
|
||||
{ "label": "S", "x": 2.75, "y": 3.25 },
|
||||
{ "label": "D", "x": 3.75, "y": 3.25 },
|
||||
{ "label": "F", "x": 4.75, "y": 3.25 },
|
||||
{ "label": "G", "x": 5.75, "y": 3.25 },
|
||||
{ "label": "H", "x": 6.75, "y": 3.25 },
|
||||
{ "label": "J", "x": 7.75, "y": 3.25 },
|
||||
{ "label": "K", "x": 8.75, "y": 3.25 },
|
||||
{ "label": "L", "x": 9.75, "y": 3.25 },
|
||||
{ "label": ";", "x": 10.75, "y": 3.25 },
|
||||
{ "label": "'", "x": 11.75, "y": 3.25 },
|
||||
{ "label": "Enter", "x": 12.75, "y": 3.25, "w": 2.25 },
|
||||
{ "label": "End", "x": 15.25, "y": 3.25 },
|
||||
{ "label": "PageDown", "x": 16.25, "y": 3.25 },
|
||||
|
||||
{ "label": "Shift1", "x": 0, "y": 4.25, "w": 1.25 },
|
||||
{ "label": "Shift2", "x": 1.25, "y": 4.25 },
|
||||
{ "label": "Z", "x": 2.25, "y": 4.25 },
|
||||
{ "label": "X", "x": 3.25, "y": 4.25 },
|
||||
{ "label": "C", "x": 4.25, "y": 4.25 },
|
||||
{ "label": "V", "x": 5.25, "y": 4.25 },
|
||||
{ "label": "B", "x": 6.25, "y": 4.25 },
|
||||
{ "label": "N", "x": 7.25, "y": 4.25 },
|
||||
{ "label": "M", "x": 8.25, "y": 4.25 },
|
||||
{ "label": ",", "x": 9.25, "y": 4.25 },
|
||||
{ "label": ".", "x": 10.25, "y": 4.25 },
|
||||
{ "label": "/", "x": 11.25, "y": 4.25 },
|
||||
{ "label": "Shift", "x": 12.25, "y": 4.25, "w": 2.75 },
|
||||
{ "label": "\u2191", "x": 15.25, "y": 4.25 },
|
||||
|
||||
{ "label": "Ctrl", "x": 0, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Win", "x": 1.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Alt", "x": 2.5, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Space","x": 3.75, "y": 5.25, "w": 6.25 },
|
||||
{ "label": "Alt", "x": 10, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Ctrl", "x": 11.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Menu", "x": 12.5, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "\u2190", "x": 14.25, "y": 5.25 },
|
||||
{ "label": "\u2193", "x": 15.25, "y": 5.25 },
|
||||
{ "label": "\u2192", "x": 16.25, "y": 5.25 }
|
||||
]
|
||||
},
|
||||
"LAYOUT_75_ansi_split_rshift": {
|
||||
"layout": [
|
||||
{ "label": "Esc", "x": 0, "y": 0 },
|
||||
{ "label": "F1", "x": 1.5, "y": 0 },
|
||||
{ "label": "F2", "x": 2.5, "y": 0 },
|
||||
{ "label": "F3", "x": 3.5, "y": 0 },
|
||||
{ "label": "F4", "x": 4.5, "y": 0 },
|
||||
{ "label": "F5", "x": 6, "y": 0 },
|
||||
{ "label": "F6", "x": 7, "y": 0 },
|
||||
{ "label": "F7", "x": 8, "y": 0 },
|
||||
{ "label": "F8", "x": 9, "y": 0 },
|
||||
{ "label": "F9", "x": 10.5, "y": 0 },
|
||||
{ "label": "F10", "x": 11.5, "y": 0 },
|
||||
{ "label": "F11", "x": 12.5, "y": 0 },
|
||||
{ "label": "F12", "x": 13.5, "y": 0 },
|
||||
{ "label": "Delete", "x": 15, "y": 0 },
|
||||
{ "label": "EncoderClick", "x": 15.75, "y": 1.25 },
|
||||
|
||||
{ "label": "~", "x": 0, "y": 1.25 },
|
||||
{ "label": "1", "x": 1, "y": 1.25 },
|
||||
{ "label": "2", "x": 2, "y": 1.25 },
|
||||
{ "label": "3", "x": 3, "y": 1.25 },
|
||||
{ "label": "4", "x": 4, "y": 1.25 },
|
||||
{ "label": "5", "x": 5, "y": 1.25 },
|
||||
{ "label": "6", "x": 6, "y": 1.25 },
|
||||
{ "label": "7", "x": 7, "y": 1.25 },
|
||||
{ "label": "8", "x": 8, "y": 1.25 },
|
||||
{ "label": "9", "x": 9, "y": 1.25 },
|
||||
{ "label": "0", "x": 10, "y": 1.25 },
|
||||
{ "label": "-", "x": 11, "y": 1.25 },
|
||||
{ "label": "=", "x": 12, "y": 1.25 },
|
||||
{ "label": "Backspace", "x": 13, "y": 1.25, "w":2},
|
||||
|
||||
{ "label": "Tab", "x": 0, "y": 2.25, "w": 1.5 },
|
||||
{ "label": "Q", "x": 1.5, "y": 2.25 },
|
||||
{ "label": "W", "x": 2.5, "y": 2.25 },
|
||||
{ "label": "E", "x": 3.5, "y": 2.25 },
|
||||
{ "label": "R", "x": 4.5, "y": 2.25 },
|
||||
{ "label": "T", "x": 5.5, "y": 2.25 },
|
||||
{ "label": "Y", "x": 6.5, "y": 2.25 },
|
||||
{ "label": "U", "x": 7.5, "y": 2.25 },
|
||||
{ "label": "I", "x": 8.5, "y": 2.25 },
|
||||
{ "label": "O", "x": 9.5, "y": 2.25 },
|
||||
{ "label": "P", "x": 10.5, "y": 2.25 },
|
||||
{ "label": "[", "x": 11.5, "y": 2.25 },
|
||||
{ "label": "]", "x": 12.5, "y": 2.25 },
|
||||
{ "label": "\\", "x": 13.5,"y": 2.25, "w": 1.5 },
|
||||
{ "label": "Home", "x": 15.25, "y": 2.25 },
|
||||
{ "label": "PageUp", "x": 16.25, "y": 2.25 },
|
||||
|
||||
{ "label": "Caps Lock", "x": 0, "y": 3.25, "w": 1.75 },
|
||||
{ "label": "A", "x": 1.75, "y": 3.25 },
|
||||
{ "label": "S", "x": 2.75, "y": 3.25 },
|
||||
{ "label": "D", "x": 3.75, "y": 3.25 },
|
||||
{ "label": "F", "x": 4.75, "y": 3.25 },
|
||||
{ "label": "G", "x": 5.75, "y": 3.25 },
|
||||
{ "label": "H", "x": 6.75, "y": 3.25 },
|
||||
{ "label": "J", "x": 7.75, "y": 3.25 },
|
||||
{ "label": "K", "x": 8.75, "y": 3.25 },
|
||||
{ "label": "L", "x": 9.75, "y": 3.25 },
|
||||
{ "label": ";", "x": 10.75, "y": 3.25 },
|
||||
{ "label": "'", "x": 11.75, "y": 3.25 },
|
||||
{ "label": "Enter", "x": 12.75, "y": 3.25, "w": 2.25 },
|
||||
{ "label": "End", "x": 15.25, "y": 3.25 },
|
||||
{ "label": "PageDown", "x": 16.25, "y": 3.25 },
|
||||
|
||||
{ "label": "Shift", "x": 0, "y": 4.25, "w": 2.25 },
|
||||
{ "label": "Z", "x": 2.25, "y": 4.25 },
|
||||
{ "label": "X", "x": 3.25, "y": 4.25 },
|
||||
{ "label": "C", "x": 4.25, "y": 4.25 },
|
||||
{ "label": "V", "x": 5.25, "y": 4.25 },
|
||||
{ "label": "B", "x": 6.25, "y": 4.25 },
|
||||
{ "label": "N", "x": 7.25, "y": 4.25 },
|
||||
{ "label": "M", "x": 8.25, "y": 4.25 },
|
||||
{ "label": ",", "x": 9.25, "y": 4.25 },
|
||||
{ "label": ".", "x": 10.25, "y": 4.25 },
|
||||
{ "label": "/", "x": 11.25, "y": 4.25 },
|
||||
{ "label": "Shift1", "x": 12.25, "y": 4.25, "w": 1.75 },
|
||||
{ "label": "Shift2", "x": 14, "y": 4.25 },
|
||||
{ "label": "\u2191", "x": 15.25, "y": 4.25 },
|
||||
|
||||
{ "label": "Ctrl", "x": 0, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Win", "x": 1.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Alt", "x": 2.5, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Space","x": 3.75, "y": 5.25, "w": 6.25 },
|
||||
{ "label": "Alt", "x": 10, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Ctrl", "x": 11.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Menu", "x": 12.5, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "\u2190", "x": 14.25, "y": 5.25 },
|
||||
{ "label": "\u2193", "x": 15.25, "y": 5.25 },
|
||||
{ "label": "\u2192", "x": 16.25, "y": 5.25 }
|
||||
]
|
||||
},
|
||||
"LAYOUT_75_ansi_split_bs": {
|
||||
"layout": [
|
||||
{ "label": "Esc", "x": 0, "y": 0 },
|
||||
{ "label": "F1", "x": 1.5, "y": 0 },
|
||||
{ "label": "F2", "x": 2.5, "y": 0 },
|
||||
{ "label": "F3", "x": 3.5, "y": 0 },
|
||||
{ "label": "F4", "x": 4.5, "y": 0 },
|
||||
{ "label": "F5", "x": 6, "y": 0 },
|
||||
{ "label": "F6", "x": 7, "y": 0 },
|
||||
{ "label": "F7", "x": 8, "y": 0 },
|
||||
{ "label": "F8", "x": 9, "y": 0 },
|
||||
{ "label": "F9", "x": 10.5, "y": 0 },
|
||||
{ "label": "F10", "x": 11.5, "y": 0 },
|
||||
{ "label": "F11", "x": 12.5, "y": 0 },
|
||||
{ "label": "F12", "x": 13.5, "y": 0 },
|
||||
{ "label": "Delete", "x": 15, "y": 0 },
|
||||
{ "label": "EncoderClick", "x": 15.75, "y": 1.25 },
|
||||
|
||||
{ "label": "~", "x": 0, "y": 1.25 },
|
||||
{ "label": "1", "x": 1, "y": 1.25 },
|
||||
{ "label": "2", "x": 2, "y": 1.25 },
|
||||
{ "label": "3", "x": 3, "y": 1.25 },
|
||||
{ "label": "4", "x": 4, "y": 1.25 },
|
||||
{ "label": "5", "x": 5, "y": 1.25 },
|
||||
{ "label": "6", "x": 6, "y": 1.25 },
|
||||
{ "label": "7", "x": 7, "y": 1.25 },
|
||||
{ "label": "8", "x": 8, "y": 1.25 },
|
||||
{ "label": "9", "x": 9, "y": 1.25 },
|
||||
{ "label": "0", "x": 10, "y": 1.25 },
|
||||
{ "label": "-", "x": 11, "y": 1.25 },
|
||||
{ "label": "=", "x": 12, "y": 1.25 },
|
||||
{ "label": "Backspace", "x": 13, "y": 1.25},
|
||||
|
||||
{ "label": "Tab", "x": 0, "y": 2.25, "w": 1.5 },
|
||||
{ "label": "Q", "x": 1.5, "y": 2.25 },
|
||||
{ "label": "W", "x": 2.5, "y": 2.25 },
|
||||
{ "label": "E", "x": 3.5, "y": 2.25 },
|
||||
{ "label": "R", "x": 4.5, "y": 2.25 },
|
||||
{ "label": "T", "x": 5.5, "y": 2.25 },
|
||||
{ "label": "Y", "x": 6.5, "y": 2.25 },
|
||||
{ "label": "U", "x": 7.5, "y": 2.25 },
|
||||
{ "label": "I", "x": 8.5, "y": 2.25 },
|
||||
{ "label": "O", "x": 9.5, "y": 2.25 },
|
||||
{ "label": "P", "x": 10.5, "y": 2.25 },
|
||||
{ "label": "[", "x": 11.5, "y": 2.25 },
|
||||
{ "label": "]", "x": 12.5, "y": 2.25 },
|
||||
{ "label": "\\", "x": 13.5,"y": 2.25, "w": 1.5 },
|
||||
{ "label": "Home", "x": 15.25, "y": 2.25 },
|
||||
{ "label": "PageUp", "x": 16.25, "y": 2.25 },
|
||||
|
||||
{ "label": "Caps Lock", "x": 0, "y": 3.25, "w": 1.75 },
|
||||
{ "label": "A", "x": 1.75, "y": 3.25 },
|
||||
{ "label": "S", "x": 2.75, "y": 3.25 },
|
||||
{ "label": "D", "x": 3.75, "y": 3.25 },
|
||||
{ "label": "F", "x": 4.75, "y": 3.25 },
|
||||
{ "label": "G", "x": 5.75, "y": 3.25 },
|
||||
{ "label": "H", "x": 6.75, "y": 3.25 },
|
||||
{ "label": "J", "x": 7.75, "y": 3.25 },
|
||||
{ "label": "K", "x": 8.75, "y": 3.25 },
|
||||
{ "label": "L", "x": 9.75, "y": 3.25 },
|
||||
{ "label": ";", "x": 10.75, "y": 3.25 },
|
||||
{ "label": "'", "x": 11.75, "y": 3.25 },
|
||||
{ "label": "Enter", "x": 12.75, "y": 3.25, "w": 2.25 },
|
||||
{ "label": "Backspace1", "x": 14, "y": 1.25 },
|
||||
{ "label": "End", "x": 15.25, "y": 3.25 },
|
||||
{ "label": "PageDown", "x": 16.25, "y": 3.25 },
|
||||
|
||||
{ "label": "Shift", "x": 0, "y": 4.25, "w": 2.25 },
|
||||
{ "label": "Z", "x": 2.25, "y": 4.25 },
|
||||
{ "label": "X", "x": 3.25, "y": 4.25 },
|
||||
{ "label": "C", "x": 4.25, "y": 4.25 },
|
||||
{ "label": "V", "x": 5.25, "y": 4.25 },
|
||||
{ "label": "B", "x": 6.25, "y": 4.25 },
|
||||
{ "label": "N", "x": 7.25, "y": 4.25 },
|
||||
{ "label": "M", "x": 8.25, "y": 4.25 },
|
||||
{ "label": ",", "x": 9.25, "y": 4.25 },
|
||||
{ "label": ".", "x": 10.25, "y": 4.25 },
|
||||
{ "label": "/", "x": 11.25, "y": 4.25 },
|
||||
{ "label": "Shift", "x": 12.25, "y": 4.25, "w": 2.75 },
|
||||
{ "label": "\u2191", "x": 15.25, "y": 4.25 },
|
||||
|
||||
{ "label": "Ctrl", "x": 0, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Win", "x": 1.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Alt", "x": 2.5, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Space","x": 3.75, "y": 5.25, "w": 6.25 },
|
||||
{ "label": "Alt", "x": 10, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Ctrl", "x": 11.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Menu", "x": 12.5, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "\u2190", "x": 14.25, "y": 5.25 },
|
||||
{ "label": "\u2193", "x": 15.25, "y": 5.25 },
|
||||
{ "label": "\u2192", "x": 16.25, "y": 5.25 }
|
||||
]
|
||||
},
|
||||
"LAYOUT_75_ansi_split_space": {
|
||||
"layout": [
|
||||
{ "label": "Esc", "x": 0, "y": 0 },
|
||||
{ "label": "F1", "x": 1.5, "y": 0 },
|
||||
{ "label": "F2", "x": 2.5, "y": 0 },
|
||||
{ "label": "F3", "x": 3.5, "y": 0 },
|
||||
{ "label": "F4", "x": 4.5, "y": 0 },
|
||||
{ "label": "F5", "x": 6, "y": 0 },
|
||||
{ "label": "F6", "x": 7, "y": 0 },
|
||||
{ "label": "F7", "x": 8, "y": 0 },
|
||||
{ "label": "F8", "x": 9, "y": 0 },
|
||||
{ "label": "F9", "x": 10.5, "y": 0 },
|
||||
{ "label": "F10", "x": 11.5, "y": 0 },
|
||||
{ "label": "F11", "x": 12.5, "y": 0 },
|
||||
{ "label": "F12", "x": 13.5, "y": 0 },
|
||||
{ "label": "Delete", "x": 15, "y": 0 },
|
||||
{ "label": "EncoderClick", "x": 15.75, "y": 1.25 },
|
||||
|
||||
{ "label": "~", "x": 0, "y": 1.25 },
|
||||
{ "label": "1", "x": 1, "y": 1.25 },
|
||||
{ "label": "2", "x": 2, "y": 1.25 },
|
||||
{ "label": "3", "x": 3, "y": 1.25 },
|
||||
{ "label": "4", "x": 4, "y": 1.25 },
|
||||
{ "label": "5", "x": 5, "y": 1.25 },
|
||||
{ "label": "6", "x": 6, "y": 1.25 },
|
||||
{ "label": "7", "x": 7, "y": 1.25 },
|
||||
{ "label": "8", "x": 8, "y": 1.25 },
|
||||
{ "label": "9", "x": 9, "y": 1.25 },
|
||||
{ "label": "0", "x": 10, "y": 1.25 },
|
||||
{ "label": "-", "x": 11, "y": 1.25 },
|
||||
{ "label": "=", "x": 12, "y": 1.25 },
|
||||
{ "label": "Backspace", "x": 13, "y": 1.25, "w":2},
|
||||
|
||||
{ "label": "Tab", "x": 0, "y": 2.25, "w": 1.5 },
|
||||
{ "label": "Q", "x": 1.5, "y": 2.25 },
|
||||
{ "label": "W", "x": 2.5, "y": 2.25 },
|
||||
{ "label": "E", "x": 3.5, "y": 2.25 },
|
||||
{ "label": "R", "x": 4.5, "y": 2.25 },
|
||||
{ "label": "T", "x": 5.5, "y": 2.25 },
|
||||
{ "label": "Y", "x": 6.5, "y": 2.25 },
|
||||
{ "label": "U", "x": 7.5, "y": 2.25 },
|
||||
{ "label": "I", "x": 8.5, "y": 2.25 },
|
||||
{ "label": "O", "x": 9.5, "y": 2.25 },
|
||||
{ "label": "P", "x": 10.5, "y": 2.25 },
|
||||
{ "label": "[", "x": 11.5, "y": 2.25 },
|
||||
{ "label": "]", "x": 12.5, "y": 2.25 },
|
||||
{ "label": "\\", "x": 13.5,"y": 2.25, "w": 1.5 },
|
||||
{ "label": "Home", "x": 15.25, "y": 2.25 },
|
||||
{ "label": "PageUp", "x": 16.25, "y": 2.25 },
|
||||
|
||||
{ "label": "Caps Lock", "x": 0, "y": 3.25, "w": 1.75 },
|
||||
{ "label": "A", "x": 1.75, "y": 3.25 },
|
||||
{ "label": "S", "x": 2.75, "y": 3.25 },
|
||||
{ "label": "D", "x": 3.75, "y": 3.25 },
|
||||
{ "label": "F", "x": 4.75, "y": 3.25 },
|
||||
{ "label": "G", "x": 5.75, "y": 3.25 },
|
||||
{ "label": "H", "x": 6.75, "y": 3.25 },
|
||||
{ "label": "J", "x": 7.75, "y": 3.25 },
|
||||
{ "label": "K", "x": 8.75, "y": 3.25 },
|
||||
{ "label": "L", "x": 9.75, "y": 3.25 },
|
||||
{ "label": ";", "x": 10.75, "y": 3.25 },
|
||||
{ "label": "'", "x": 11.75, "y": 3.25 },
|
||||
{ "label": "Enter", "x": 12.75, "y": 3.25, "w": 2.25 },
|
||||
{ "label": "End", "x": 15.25, "y": 3.25 },
|
||||
{ "label": "PageDown", "x": 16.25, "y": 3.25 },
|
||||
|
||||
{ "label": "Shift", "x": 0, "y": 4.25, "w": 2.25 },
|
||||
{ "label": "Z", "x": 2.25, "y": 4.25 },
|
||||
{ "label": "X", "x": 3.25, "y": 4.25 },
|
||||
{ "label": "C", "x": 4.25, "y": 4.25 },
|
||||
{ "label": "V", "x": 5.25, "y": 4.25 },
|
||||
{ "label": "B", "x": 6.25, "y": 4.25 },
|
||||
{ "label": "N", "x": 7.25, "y": 4.25 },
|
||||
{ "label": "M", "x": 8.25, "y": 4.25 },
|
||||
{ "label": ",", "x": 9.25, "y": 4.25 },
|
||||
{ "label": ".", "x": 10.25, "y": 4.25 },
|
||||
{ "label": "/", "x": 11.25, "y": 4.25 },
|
||||
{ "label": "Shift", "x": 12.25, "y": 4.25, "w": 2.75 },
|
||||
{ "label": "\u2191", "x": 15.25, "y": 4.25 },
|
||||
|
||||
{ "label": "Ctrl", "x": 0, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Win", "x": 1.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Alt", "x": 2.5, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Space","x": 3.75, "y": 5.25, "w": 2.25 },
|
||||
{ "label": "Space","x": 6, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Space","x": 7.25, "y": 5.25, "w": 2.75 },
|
||||
{ "label": "Alt", "x": 10, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Ctrl", "x": 11.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "Menu", "x": 12.5, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "\u2190", "x": 14.25, "y": 5.25 },
|
||||
{ "label": "\u2193", "x": 15.25, "y": 5.25 },
|
||||
{ "label": "\u2192", "x": 16.25, "y": 5.25 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
36
keyboards/wuque/mammoth75x/keymaps/75_ansi/keymap.c
Normal file
36
keyboards/wuque/mammoth75x/keymaps/75_ansi/keymap.c
Normal file
|
@ -0,0 +1,36 @@
|
|||
/* Copyright 2021 wuquestudio
|
||||
*
|
||||
* 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_75_ansi(
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_MUTE,
|
||||
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_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_INS, KC_PGUP,
|
||||
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_END, KC_PGDN,
|
||||
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_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT_75_ansi(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
1
keyboards/wuque/mammoth75x/keymaps/75_ansi/readme.md
Normal file
1
keyboards/wuque/mammoth75x/keymaps/75_ansi/readme.md
Normal file
|
@ -0,0 +1 @@
|
|||
# The 75_ansi keymap for mammoth75x
|
36
keyboards/wuque/mammoth75x/keymaps/75_split_bs/keymap.c
Normal file
36
keyboards/wuque/mammoth75x/keymaps/75_split_bs/keymap.c
Normal file
|
@ -0,0 +1,36 @@
|
|||
/* Copyright 2021 wuquestudio
|
||||
*
|
||||
* 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_75_ansi_split_bs(
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_MUTE,
|
||||
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_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_INS, KC_PGUP,
|
||||
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_BSPC, KC_END, KC_PGDN,
|
||||
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_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT_75_ansi_split_bs(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
1
keyboards/wuque/mammoth75x/keymaps/75_split_bs/readme.md
Normal file
1
keyboards/wuque/mammoth75x/keymaps/75_split_bs/readme.md
Normal file
|
@ -0,0 +1 @@
|
|||
# The 75_split_bs keymap for mammoth75x
|
36
keyboards/wuque/mammoth75x/keymaps/75_split_lshift/keymap.c
Normal file
36
keyboards/wuque/mammoth75x/keymaps/75_split_lshift/keymap.c
Normal file
|
@ -0,0 +1,36 @@
|
|||
/* Copyright 2021 wuquestudio
|
||||
*
|
||||
* 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_75_ansi_split_lshift(
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_MUTE,
|
||||
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_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_INS, KC_PGUP,
|
||||
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_END, KC_PGDN,
|
||||
KC_LSFT, 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_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT_75_ansi_split_lshift(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
|
@ -0,0 +1 @@
|
|||
# The 75_split_lshift keymap for mammoth75x
|
36
keyboards/wuque/mammoth75x/keymaps/75_split_rshift/keymap.c
Normal file
36
keyboards/wuque/mammoth75x/keymaps/75_split_rshift/keymap.c
Normal file
|
@ -0,0 +1,36 @@
|
|||
/* Copyright 2021 wuquestudio
|
||||
*
|
||||
* 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_75_ansi_split_rshift(
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_MUTE,
|
||||
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_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_INS, KC_PGUP,
|
||||
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_END, KC_PGDN,
|
||||
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_RSFT, KC_UP,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT_75_ansi_split_rshift(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
|
@ -0,0 +1 @@
|
|||
# The 75_split_lshift keymap for mammoth75x
|
36
keyboards/wuque/mammoth75x/keymaps/75_split_space/keymap.c
Normal file
36
keyboards/wuque/mammoth75x/keymaps/75_split_space/keymap.c
Normal file
|
@ -0,0 +1,36 @@
|
|||
/* Copyright 2021 wuquestudio
|
||||
*
|
||||
* 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_75_ansi_split_space(
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_MUTE,
|
||||
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_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_INS, KC_PGUP,
|
||||
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_END, KC_PGDN,
|
||||
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_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT_75_ansi_split_space(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
|
@ -0,0 +1 @@
|
|||
# The 75_split_space keymap for mammoth75x
|
36
keyboards/wuque/mammoth75x/keymaps/default/keymap.c
Normal file
36
keyboards/wuque/mammoth75x/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,36 @@
|
|||
/* Copyright 2021 wuquestudio
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_all(
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_VOLD, KC_MUTE,KC_VOLU,
|
||||
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_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_INS, KC_PGUP,
|
||||
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_BSPC, KC_END, KC_PGDN,
|
||||
KC_LSFT, 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_RSFT, KC_UP,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT_all(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
1
keyboards/wuque/mammoth75x/keymaps/default/readme.md
Normal file
1
keyboards/wuque/mammoth75x/keymaps/default/readme.md
Normal file
|
@ -0,0 +1 @@
|
|||
# The default keymap for mammoth75x
|
52
keyboards/wuque/mammoth75x/keymaps/via/keymap.c
Normal file
52
keyboards/wuque/mammoth75x/keymaps/via/keymap.c
Normal file
|
@ -0,0 +1,52 @@
|
|||
/* Copyright 2021 wuquestudio
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_all(
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_VOLD, KC_MUTE,KC_VOLU,
|
||||
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_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_INS, KC_PGUP,
|
||||
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_BSPC, KC_END, KC_PGDN,
|
||||
KC_LSFT, 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_RSFT, KC_UP,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT_all(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[2] = LAYOUT_all(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[3] = LAYOUT_all(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
1
keyboards/wuque/mammoth75x/keymaps/via/readme.md
Normal file
1
keyboards/wuque/mammoth75x/keymaps/via/readme.md
Normal file
|
@ -0,0 +1 @@
|
|||
# The via keymap for mammoth75x
|
2
keyboards/wuque/mammoth75x/keymaps/via/rules.mk
Normal file
2
keyboards/wuque/mammoth75x/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
67
keyboards/wuque/mammoth75x/mammoth75x.c
Normal file
67
keyboards/wuque/mammoth75x/mammoth75x.c
Normal file
|
@ -0,0 +1,67 @@
|
|||
/* Copyright 2021 wuquestudio
|
||||
*
|
||||
* 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 "mammoth75x.h"
|
||||
|
||||
#ifdef VIA_ENABLE
|
||||
static uint8_t encoder_state[ENCODERS] = {0};
|
||||
static keypos_t encoder_cw[ENCODERS] = ENCODERS_CW_KEY;
|
||||
static keypos_t encoder_ccw[ENCODERS] = ENCODERS_CCW_KEY;
|
||||
|
||||
void encoder_action_unregister(void)
|
||||
{
|
||||
for (int index = 0; index < ENCODERS; ++index)
|
||||
{
|
||||
if (encoder_state[index])
|
||||
{
|
||||
keyevent_t encoder_event = (keyevent_t){
|
||||
.key = encoder_state[index] >> 1 ? encoder_cw[index] : encoder_ccw[index],
|
||||
.pressed = false,
|
||||
.time = (timer_read() | 1)};
|
||||
encoder_state[index] = 0;
|
||||
action_exec(encoder_event);
|
||||
}
|
||||
}
|
||||
}
|
||||
void encoder_action_register(uint8_t index, bool clockwise)
|
||||
{
|
||||
keyevent_t encoder_event = (keyevent_t){
|
||||
.key = clockwise ? encoder_cw[index] : encoder_ccw[index],
|
||||
.pressed = true,
|
||||
.time = (timer_read() | 1)};
|
||||
encoder_state[index] = (clockwise ^ 1) | (clockwise << 1);
|
||||
action_exec(encoder_event);
|
||||
}
|
||||
|
||||
void matrix_scan_kb(void)
|
||||
{
|
||||
encoder_action_unregister();
|
||||
matrix_scan_user();
|
||||
}
|
||||
|
||||
bool encoder_update_kb(uint8_t index, bool clockwise)
|
||||
{
|
||||
encoder_action_register(index, clockwise);
|
||||
return true;
|
||||
};
|
||||
#else
|
||||
bool encoder_update_kb(uint8_t index, bool clockwise) {
|
||||
if (!encoder_update_user(index, clockwise)) { return false; }
|
||||
tap_code_delay(clockwise ? KC_VOLU : KC_VOLD, 10);
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
223
keyboards/wuque/mammoth75x/mammoth75x.h
Normal file
223
keyboards/wuque/mammoth75x/mammoth75x.h
Normal file
|
@ -0,0 +1,223 @@
|
|||
/* Copyright 2021 wuquestudio
|
||||
*
|
||||
* 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"
|
||||
|
||||
|
||||
/* Standard Arrangement
|
||||
* ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐
|
||||
* │00 ││01 │02 │03 │04 ││05 │06 │07 │08 ││09 │0a │0b │0c ││0d │
|
||||
* └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ◯
|
||||
* │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │3d │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ ┌───┬───┐
|
||||
* │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │2d │ │2e │2f │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┼───┤
|
||||
* │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │ │3e │3f │
|
||||
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ └───┴───┘
|
||||
* │40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │4a │4b │4c │4d │ ┌───┐
|
||||
* ├────┼───┴┬──┴─┬─┴───┴──┬┴───┼───┴───┴──┬┴───┼───┴┬────┬┴───┘ │4e │
|
||||
* │50 │51 │52 │54 │56 │58 │5a │5b │5c │ ┌───┼───┼───┐
|
||||
* └────┴────┴────┴────────┴────┴──────────┴────┴────┴────┘ │5d │5e │5f │
|
||||
* └───┴───┴───┘
|
||||
*/
|
||||
#define LAYOUT_all( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K53, K0E, K55, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F, \
|
||||
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E, \
|
||||
K50, K51, K52, K54, K56, K58, K5A, K5B, K5C, K5D, K5E, K5F \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, KC_NO }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, KC_NO, KC_NO }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F }, \
|
||||
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E, KC_NO }, \
|
||||
{ K50, K51, K52, K53, K54, K55, K56, KC_NO, K58, KC_NO, K5A, K5B, K5C, K5D, K5E, K5F }, \
|
||||
}
|
||||
|
||||
|
||||
/* LAYOUT_75_ansi
|
||||
* ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐
|
||||
* │00 ││01 │02 │03 │04 ││05 │06 │07 │08 ││09 │0a │0b │0c ││0d │
|
||||
* └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ◯
|
||||
* │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ┌───┬───┐
|
||||
* │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │2d │ │2e │2f │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┼───┤
|
||||
* │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │ │3e │3f │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤ └───┴───┘
|
||||
* │40 │42 │43 │44 │45 │46 │47 │48 │49 │4a │4b │4c │ ┌───┐
|
||||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┘ │4e │
|
||||
* │50 │51 │52 │56 │5a │5b │5c │ ┌───┼───┼───┐
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┘ │5d │5e │5f │
|
||||
* └───┴───┴───┘
|
||||
*/
|
||||
#define LAYOUT_75_ansi( \
|
||||
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, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, K3F, \
|
||||
K40, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4E, \
|
||||
K50, K51, K52, K56, K5A, K5B, K5C, K5D, K5E, K5F \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, KC_NO }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, KC_NO, KC_NO }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, KC_NO, K3E, K3F }, \
|
||||
{ K40, KC_NO, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, KC_NO, K4E, KC_NO }, \
|
||||
{ K50, K51, K52, KC_NO, KC_NO, KC_NO, K56, KC_NO, KC_NO, KC_NO, K5A, K5B, K5C, K5D, K5E, K5F }, \
|
||||
}
|
||||
|
||||
|
||||
/* LAYOUT_75_ansi_split_lshift
|
||||
* ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐
|
||||
* │00 ││01 │02 │03 │04 ││05 │06 │07 │08 ││09 │0a │0b │0c ││0d │
|
||||
* └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ◯
|
||||
* │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ┌───┬───┐
|
||||
* │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │2d │ │2e │2f │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┼───┤
|
||||
* │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │ │3e │3f │
|
||||
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤ └───┴───┘
|
||||
* │40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │4a │4b │4c │ ┌───┐
|
||||
* ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┘ │4e │
|
||||
* │50 │51 │52 │56 │5a │5b │5c │ ┌───┼───┼───┐
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┘ │5d │5e │5f │
|
||||
* └───┴───┴───┘
|
||||
*/
|
||||
#define LAYOUT_75_ansi_split_lshift( \
|
||||
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, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, K3F, \
|
||||
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4E, \
|
||||
K50, K51, K52, K56, K5A, K5B, K5C, K5D, K5E, K5F \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, KC_NO }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, KC_NO, KC_NO }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, KC_NO, K3E, K3F }, \
|
||||
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, KC_NO, K4E, KC_NO }, \
|
||||
{ K50, K51, K52, KC_NO, KC_NO, KC_NO, K56, KC_NO, KC_NO, KC_NO, K5A, K5B, K5C, K5D, K5E, K5F }, \
|
||||
}
|
||||
|
||||
|
||||
/* LAYOUT_75_ansi_split_rshift
|
||||
* ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐
|
||||
* │00 ││01 │02 │03 │04 ││05 │06 │07 │08 ││09 │0a │0b │0c ││0d │
|
||||
* └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ◯
|
||||
* │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ┌───┬───┐
|
||||
* │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │2d │ │2e │2f │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┼───┤
|
||||
* │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │ │3e │3f │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ └───┴───┘
|
||||
* │40 │42 │43 │44 │45 │46 │47 │48 │49 │4a │4b │4c │4d │ ┌───┐
|
||||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬┴───┘ │4e │
|
||||
* │50 │51 │52 │56 │5a │5b │5c │ ┌───┼───┼───┐
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┘ │5d │5e │5f │
|
||||
* └───┴───┴───┘
|
||||
*/
|
||||
#define LAYOUT_75_ansi_split_rshift( \
|
||||
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, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, K3F, \
|
||||
K40, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E, \
|
||||
K50, K51, K52, K56, K5A, K5B, K5C, K5D, K5E, K5F \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, KC_NO }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, KC_NO, KC_NO }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, KC_NO, K3E, K3F }, \
|
||||
{ K40, KC_NO, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E, KC_NO }, \
|
||||
{ K50, K51, K52, KC_NO, KC_NO, KC_NO, K56, KC_NO, KC_NO, KC_NO, K5A, K5B, K5C, K5D, K5E, K5F }, \
|
||||
}
|
||||
|
||||
|
||||
/* LAYOUT_75_ansi_split_bs
|
||||
* ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐
|
||||
* │00 ││01 │02 │03 │04 ││05 │06 │07 │08 ││09 │0a │0b │0c ││0d │
|
||||
* └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ◯
|
||||
* │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │3d │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ ┌───┬───┐
|
||||
* │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │2d │ │2e │2f │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┼───┤
|
||||
* │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │ │3e │3f │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤ └───┴───┘
|
||||
* │40 │42 │43 │44 │45 │46 │47 │48 │49 │4a │4b │4c │ ┌───┐
|
||||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┘ │4e │
|
||||
* │50 │51 │52 │56 │5a │5b │5c │ ┌───┼───┼───┐
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┘ │5d │5e │5f │
|
||||
* └───┴───┴───┘
|
||||
*/
|
||||
#define LAYOUT_75_ansi_split_bs( \
|
||||
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, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F, \
|
||||
K40, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4E, \
|
||||
K50, K51, K52, K56, K5A, K5B, K5C, K5D, K5E, K5F \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, KC_NO }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, KC_NO, KC_NO }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F }, \
|
||||
{ K40, KC_NO, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, KC_NO, K4E, KC_NO }, \
|
||||
{ K50, K51, K52, KC_NO, KC_NO, KC_NO, K56, KC_NO, KC_NO, KC_NO, K5A, K5B, K5C, K5D, K5E, K5F }, \
|
||||
}
|
||||
|
||||
|
||||
/* LAYOUT_75_ansi_split_space
|
||||
* ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐
|
||||
* │00 ││01 │02 │03 │04 ││05 │06 │07 │08 ││09 │0a │0b │0c ││0d │
|
||||
* └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ◯
|
||||
* │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ┌───┬───┐
|
||||
* │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │2d │ │2e │2f │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┼───┤
|
||||
* │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │ │3e │3f │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤ └───┴───┘
|
||||
* │40 │42 │43 │44 │45 │46 │47 │48 │49 │4a │4b │4c │ ┌───┐
|
||||
* ├────┬───┴┬──┴─┬─┴───┴──┬┴───┼───┴───┴──┬┴───┼───┴┬────┬────┘ │4e │
|
||||
* │50 │51 │52 │54 │56 │58 │5a │5b │5c │ ┌───┼───┼───┐
|
||||
* └────┴────┴────┴────────┴────┴──────────┴────┴────┴────┘ │5d │5e │5f │
|
||||
* └───┴───┴───┘
|
||||
*/
|
||||
#define LAYOUT_75_ansi_split_space( \
|
||||
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, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, K3F, \
|
||||
K40, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4E, \
|
||||
K50, K51, K52, K54, K56, K58, K5A, K5B, K5C, K5D, K5E, K5F \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, KC_NO }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, KC_NO, KC_NO }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, KC_NO, K3E, K3F }, \
|
||||
{ K40, KC_NO, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, KC_NO, K4E, KC_NO }, \
|
||||
{ K50, K51, K52, KC_NO, K54, KC_NO, K56, KC_NO, K58, KC_NO, K5A, K5B, K5C, K5D, K5E, K5F }, \
|
||||
}
|
25
keyboards/wuque/mammoth75x/readme.md
Normal file
25
keyboards/wuque/mammoth75x/readme.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# mammoth75x
|
||||
|
||||
![mammoth75x](https://i.imgur.com/mhIKh2P.jpeg)
|
||||
|
||||
More Info at [wuquestudio](https://shop.wuquestudio.com/).
|
||||
|
||||
* Keyboard Maintainer: [spbgzh](https://github.com/spbgzh)
|
||||
* Hardware Supported: mammoth75x Standard
|
||||
* Hardware Availability: [mammoth75x](https://shop.wuquestudio.com/)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make wuque/mammoth75x:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make wuque/mammoth75x:default:flash
|
||||
|
||||
To reset the board into bootloader mode, do one of the following:
|
||||
|
||||
* Tap the Reset switch mounted on the PCB
|
||||
* In the case of the default keymap, use the key combination Fn + PageUp
|
||||
* Hold the Esc key while connecting the USB cable (also erases persistent settings)
|
||||
|
||||
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).
|
22
keyboards/wuque/mammoth75x/rules.mk
Normal file
22
keyboards/wuque/mammoth75x/rules.mk
Normal file
|
@ -0,0 +1,22 @@
|
|||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = atmel-dfu
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = yes # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
ENCODER_ENABLE = yes # Enable Encoder
|
Loading…
Reference in a new issue