[Keyboard] move That-Canadian 's boards into /maple_computing (#16050)
This commit is contained in:
parent
07bb65384c
commit
a1b39e6db2
169 changed files with 22 additions and 22 deletions
1
keyboards/maple_computing/6ball/6ball.c
Normal file
1
keyboards/maple_computing/6ball/6ball.c
Normal file
|
@ -0,0 +1 @@
|
|||
#include "6ball.h"
|
10
keyboards/maple_computing/6ball/6ball.h
Normal file
10
keyboards/maple_computing/6ball/6ball.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
k05, k00, k01, \
|
||||
k04, k03, k02 \
|
||||
) { \
|
||||
{ k00, k01, k02, k03, k04, k05 } \
|
||||
}
|
47
keyboards/maple_computing/6ball/config.h
Normal file
47
keyboards/maple_computing/6ball/config.h
Normal file
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xCEEB
|
||||
#define PRODUCT_ID 0x0007
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER That-Canadian
|
||||
#define PRODUCT 6-Ball
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 1
|
||||
#define MATRIX_COLS 6
|
||||
|
||||
/* pin-out */
|
||||
#define MATRIX_ROW_PINS { F5 }
|
||||
#define MATRIX_COL_PINS { F4, D4, B5, B6, B2, F6 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN F7
|
||||
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
#define RGBLED_NUM 6 // Number of LEDs
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define TAPPING_TERM 200
|
18
keyboards/maple_computing/6ball/info.json
Normal file
18
keyboards/maple_computing/6ball/info.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"keyboard_name": "6-Ball",
|
||||
"url": "",
|
||||
"maintainer": "qmk",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0.5},
|
||||
{"x":1, "y":0},
|
||||
{"x":2, "y":0.5},
|
||||
|
||||
{"x":0, "y":1.5},
|
||||
{"x":1, "y":2},
|
||||
{"x":2, "y":1.5}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
22
keyboards/maple_computing/6ball/keymaps/default/keymap.c
Normal file
22
keyboards/maple_computing/6ball/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,22 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define _MAIN 0
|
||||
#define _FN 1
|
||||
|
||||
#define KC_CAPW LGUI(LSFT(KC_3)) // Capture whole screen
|
||||
#define KC_CPYW LGUI(LSFT(LCTL(KC_3))) // Copy whole screen
|
||||
#define KC_CAPP LGUI(LSFT(KC_4)) // Capture portion of screen
|
||||
#define KC_CPYP LGUI(LSFT(LCTL(KC_4))) // Copy portion of screen
|
||||
#define KC_X0 LT(_FN, KC_ESC)
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_MAIN] = LAYOUT(
|
||||
KC_F, KC_X0, KC_LCTL,
|
||||
KC_R, KC_D, KC_M
|
||||
),
|
||||
|
||||
[_FN] = LAYOUT(
|
||||
KC_F, KC_TRNS, RGB_HUI,
|
||||
RGB_TOG, RGB_MOD, RGB_HUD
|
||||
)
|
||||
};
|
14
keyboards/maple_computing/6ball/readme.md
Normal file
14
keyboards/maple_computing/6ball/readme.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
6-Ball
|
||||
======
|
||||
|
||||
A circular 6-key macropad made by ThatCanadian.
|
||||
|
||||
Keyboard Maintainer: QMK Community
|
||||
Hardware Supported: Pro Micro ATmega32U4
|
||||
Hardware Availability: ThatCanadian
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make maple_computing/6ball:default
|
||||
|
||||
See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information.
|
19
keyboards/maple_computing/6ball/rules.mk
Normal file
19
keyboards/maple_computing/6ball/rules.mk
Normal file
|
@ -0,0 +1,19 @@
|
|||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = caterina
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
UNICODE_ENABLE = yes # Unicode
|
||||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
1
keyboards/maple_computing/c39/c39.c
Executable file
1
keyboards/maple_computing/c39/c39.c
Executable file
|
@ -0,0 +1 @@
|
|||
#include "c39.h"
|
17
keyboards/maple_computing/c39/c39.h
Executable file
17
keyboards/maple_computing/c39/c39.h
Executable file
|
@ -0,0 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define ___ KC_NO
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C } \
|
||||
}
|
||||
|
||||
#define LAYOUT_ortho_3x13 LAYOUT
|
76
keyboards/maple_computing/c39/config.h
Executable file
76
keyboards/maple_computing/c39/config.h
Executable file
|
@ -0,0 +1,76 @@
|
|||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xCA17
|
||||
#define PRODUCT_ID 0xCA39
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER Maple Computing
|
||||
#define PRODUCT C39
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 3
|
||||
#define MATRIX_COLS 13
|
||||
|
||||
#define MATRIX_ROW_PINS { D1, B4, B5 }
|
||||
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, D7, E6, C6, D2, D3 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/*
|
||||
* Force NKRO
|
||||
*
|
||||
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
|
||||
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
|
||||
* makefile for this to work.)
|
||||
*
|
||||
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
|
||||
* until the next keyboard reset.
|
||||
*
|
||||
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
|
||||
* fully operational during normal computer usage.
|
||||
*
|
||||
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
|
||||
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
|
||||
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
|
||||
* power-up.
|
||||
*
|
||||
*/
|
||||
//#define FORCE_NKRO
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
//#define NO_ACTION_MACRO
|
||||
//#define NO_ACTION_FUNCTION
|
10
keyboards/maple_computing/c39/info.json
Executable file
10
keyboards/maple_computing/c39/info.json
Executable file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"keyboard_name": "C39",
|
||||
"url": "",
|
||||
"maintainer": "Space Cat",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [{"label":"Q", "x":0, "y":0}, {"label":"W", "x":1, "y":0}, {"label":"E", "x":2, "y":0}, {"label":"R", "x":3, "y":0}, {"label":"T", "x":4, "y":0}, {"label":"Back", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"M1", "x":11.25, "y":0}, {"label":"M2", "x":12.25, "y":0}, {"label":"A", "x":0, "y":1}, {"label":"S", "x":1, "y":1}, {"label":"D", "x":2, "y":1}, {"label":"F", "x":3, "y":1}, {"label":"G", "x":4, "y":1}, {"label":"Enter", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"label":"M3", "x":11.25, "y":1}, {"label":"M4", "x":12.25, "y":1}, {"label":"Z", "x":0, "y":2}, {"label":"X", "x":1, "y":2}, {"label":"C", "x":2, "y":2}, {"label":"V", "x":3, "y":2}, {"label":"B", "x":4, "y":2}, {"label":"Fn", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":"<", "x":8, "y":2}, {"label":">", "x":9, "y":2}, {"label":"?", "x":10, "y":2}, {"label":"M5", "x":11.25, "y":2}, {"label":"M6", "x":12.25, "y":2}]
|
||||
}
|
||||
}
|
||||
}
|
45
keyboards/maple_computing/c39/keymaps/default/keymap.c
Executable file
45
keyboards/maple_computing/c39/keymaps/default/keymap.c
Executable file
|
@ -0,0 +1,45 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _QWERTY 0
|
||||
#define _FN1 1
|
||||
|
||||
// Defines for task manager and such
|
||||
#define CALTDEL LCTL(LALT(KC_DEL))
|
||||
#define TSKMGR LCTL(LSFT(KC_ESC))
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Qwerty
|
||||
* ,----------------------------------------------------------------------------. ,-------------.
|
||||
* | Q | W | E | R | T | Bksp | Y | U | I | O | P | | M1 | M2 |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+ |------+------|
|
||||
* | A | S | D | F | G | Enter| H | J | K | L | ; | | M3 | M4 |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+ |------+------|
|
||||
* | Z | X | C | V | B | FN1 | N | M | , | . | / | | M5 | M6 |
|
||||
* `----------------------------------------------------------------------------' `-------------'
|
||||
*/
|
||||
[_QWERTY] = LAYOUT(
|
||||
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_BSPC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_1, KC_2,
|
||||
KC_A, KC_S, KC_D, KC_F, KC_G, MT(MOD_LSFT, KC_ENT), KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_3, KC_4,
|
||||
KC_Z, KC_X, KC_C, KC_V, KC_B, LT(_FN1, KC_SPC), KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_5, KC_6
|
||||
),
|
||||
|
||||
/* FN1
|
||||
* ,----------------------------------------------------------------------------. ,-------------.
|
||||
* | 1 | 2 | 3 | 4 | 5 | Bksp | 6 | 7 | 8 | 9 | 0 | | M1 | M2 |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+ |------+------|
|
||||
* | 4 | 5 | 6 | + | | Enter| | | | | | | M3 | M4 |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+ |------+------|
|
||||
* | 7 | 8 | 9 | 0 | | FN1 | | | | | | | M5 | M6 |
|
||||
* `----------------------------------------------------------------------------' `-------------'
|
||||
*/
|
||||
[_FN1] = LAYOUT(
|
||||
KC_1, KC_2, KC_3, KC_4, KC_5, KC_BSPC, KC_6, KC_7, KC_8, KC_9, KC_0, KC_1, KC_2,
|
||||
KC_4, KC_5, KC_6, KC_PLUS, _______, KC_ENT, _______, _______, _______, _______, _______, KC_3, KC_4,
|
||||
KC_7, KC_8, KC_9, KC_0, _______, _______, _______, _______, _______, _______, _______, KC_5, KC_6
|
||||
),
|
||||
};
|
1
keyboards/maple_computing/c39/keymaps/default/readme.md
Executable file
1
keyboards/maple_computing/c39/keymaps/default/readme.md
Executable file
|
@ -0,0 +1 @@
|
|||
# The default keymap for the C39
|
34
keyboards/maple_computing/c39/keymaps/drashna/config.h
Normal file
34
keyboards/maple_computing/c39/keymaps/drashna/config.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
// place overrides here
|
||||
#undef MATRIX_COL_PINS
|
||||
#define MATRIX_COL_PINS \
|
||||
{ A3, A2, A1, A0, B13, B14, B15, B9, B3, B2, B4, A10, A9 }
|
||||
#undef MATRIX_ROW_PINS
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ B7, B1, B0 }
|
||||
|
||||
#define RGB_DI_PIN B10
|
||||
#define RGBLED_NUM 15
|
||||
|
||||
#define SOLENOID_PIN B11
|
||||
|
||||
#define AUDIO_PIN A5
|
||||
#define AUDIO_PIN_ALT A4
|
||||
#define AUDIO_PIN_ALT_AS_NEGATIVE
|
83
keyboards/maple_computing/c39/keymaps/drashna/keymap.c
Executable file
83
keyboards/maple_computing/c39/keymaps/drashna/keymap.c
Executable file
|
@ -0,0 +1,83 @@
|
|||
/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "drashna.h"
|
||||
|
||||
/*
|
||||
* The `LAYOUT_base` macro is a template to allow the use of identical
|
||||
* modifiers for the default layouts (eg QWERTY, Colemak, Dvorak, etc), so
|
||||
* that there is no need to set them up for each layout, and modify all of
|
||||
* them if I want to change them. This helps to keep consistency and ease
|
||||
* of use. K## is a placeholder to pass through the individual keycodes
|
||||
*/
|
||||
// clang-format off
|
||||
#define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__)
|
||||
#define LAYOUT_base( \
|
||||
K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
|
||||
K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
|
||||
K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A \
|
||||
) \
|
||||
LAYOUT_wrapper( \
|
||||
KC_ESC, K01, K02, K03, K04, K05, KC_NO, K06, K07, K08, K09, K0A, KC_DEL, \
|
||||
ALT_T(KC_TAB), K11, K12, K13, K14, K15, KC_BSPC, K16, K17, K18, K19, K1A, RALT_T(K1B), \
|
||||
KC_MLSF, CTL_T(K21), K22, K23, K24, LT(_LOWER,K25), KC_SPC, LT(_RAISE,K26), K27, K28, K29, RCTL_T(K2A), KC_ENT \
|
||||
)
|
||||
#define LAYOUT_base_wrapper(...) LAYOUT_base(__VA_ARGS__)
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_DEFAULT_LAYER_1] = LAYOUT_base_wrapper(
|
||||
_________________QWERTY_L1_________________, _________________QWERTY_R1_________________,
|
||||
_________________QWERTY_L2_________________, _________________QWERTY_R2_________________,
|
||||
_________________QWERTY_L3_________________, _________________QWERTY_R3_________________
|
||||
),
|
||||
|
||||
[_DEFAULT_LAYER_2] = LAYOUT_base_wrapper(
|
||||
______________COLEMAK_MOD_DH_L1____________, ______________COLEMAK_MOD_DH_R1____________,
|
||||
______________COLEMAK_MOD_DH_L2____________, ______________COLEMAK_MOD_DH_R2____________,
|
||||
______________COLEMAK_MOD_DH_L3____________, ______________COLEMAK_MOD_DH_R3____________
|
||||
),
|
||||
[_DEFAULT_LAYER_3] = LAYOUT_base_wrapper(
|
||||
_________________COLEMAK_L1________________, _________________COLEMAK_R1________________,
|
||||
_________________COLEMAK_L2________________, _________________COLEMAK_R2________________,
|
||||
_________________COLEMAK_L3________________, _________________COLEMAK_R3________________
|
||||
),
|
||||
|
||||
[_DEFAULT_LAYER_4] = LAYOUT_base_wrapper(
|
||||
_________________DVORAK_L1_________________, _________________DVORAK_R1_________________,
|
||||
_________________DVORAK_L2_________________, _________________DVORAK_R2_________________,
|
||||
_________________DVORAK_L3_________________, _________________DVORAK_R3_________________
|
||||
),
|
||||
|
||||
[_LOWER] = LAYOUT_wrapper(
|
||||
KC_TILD, _________________LOWER_L1__________________, _______, _________________LOWER_R1__________________, KC_BSPC,
|
||||
KC_DEL, _________________LOWER_L2__________________, _______, _________________LOWER_R2__________________, KC_PIPE,
|
||||
_______, _________________LOWER_L3__________________, _______, _________________LOWER_R3__________________, _______
|
||||
),
|
||||
|
||||
[_RAISE] = LAYOUT_wrapper(
|
||||
KC_GRV, _________________RAISE_L1__________________, _______, _________________RAISE_R1__________________, KC_BSPC,
|
||||
KC_DEL, _________________RAISE_L2__________________, _______, _________________RAISE_R2__________________, KC_BSLS,
|
||||
_______, _________________RAISE_L3__________________, _______, _________________RAISE_R3__________________, _______
|
||||
),
|
||||
|
||||
[_ADJUST] = LAYOUT_wrapper(
|
||||
KC_MAKE, _________________ADJUST_L1_________________, KC_NUKE, _________________ADJUST_R1_________________, KC_RST,
|
||||
VRSN, _________________ADJUST_L2_________________, MG_NKRO, _________________ADJUST_R2_________________, EEP_RST,
|
||||
TG_MODS, _________________ADJUST_L3_________________, KC_RGB_T,_________________ADJUST_R3_________________, RGB_IDL
|
||||
)
|
||||
};
|
||||
// clang-format on
|
3
keyboards/maple_computing/c39/keymaps/drashna/readme.md
Executable file
3
keyboards/maple_computing/c39/keymaps/drashna/readme.md
Executable file
|
@ -0,0 +1,3 @@
|
|||
# @drashna's keymap for the C39
|
||||
|
||||
HERE BE DRAGONS
|
19
keyboards/maple_computing/c39/keymaps/drashna/rules.mk
Normal file
19
keyboards/maple_computing/c39/keymaps/drashna/rules.mk
Normal file
|
@ -0,0 +1,19 @@
|
|||
# MCU name
|
||||
MCU = STM32F303
|
||||
BOARD = QMK_PROTON_C
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = stm32-dfu
|
||||
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes
|
||||
EXTRAKEY_ENABLE = yes
|
||||
CONSOLE_ENABLE = yes
|
||||
COMMAND_ENABLE = yes
|
||||
NKRO_ENABLE = yes
|
||||
AUDIO_ENABLE = yes
|
||||
UNICODE_ENABLE = yes
|
||||
HAPTIC_ENABLE = yes
|
||||
HAPTIC_DRIVER = SOLENOID
|
||||
|
||||
RGBLIGHT_STARTUP_ANIMATION = yes
|
|
@ -0,0 +1,34 @@
|
|||
|
||||
/*
|
||||
This is the c configuration file for the keymap
|
||||
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
Copyright 2015 Jack Humbert
|
||||
Copyright 2017 Art Ortenburger
|
||||
|
||||
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
|
||||
|
||||
/* key combination for magic key command */
|
||||
#undef IS_COMMAND
|
||||
#define IS_COMMAND() ( \
|
||||
get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LALT)) \
|
||||
)
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
# define RGB_DI_PIN D0
|
||||
# define RGBLED_NUM 4
|
||||
#endif // !RGBLIGHT_ENABLE
|
131
keyboards/maple_computing/c39/keymaps/kuchosauronad0/keymap.c
Normal file
131
keyboards/maple_computing/c39/keymaps/kuchosauronad0/keymap.c
Normal file
|
@ -0,0 +1,131 @@
|
|||
/*
|
||||
This is the keymap for the keyboard
|
||||
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
Copyright 2015 Jack Humbert
|
||||
Copyright 2017 Art Ortenburger
|
||||
|
||||
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
|
||||
#include "kuchosauronad0.h"
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
extern rgblight_config_t rgblight_config;
|
||||
#endif
|
||||
|
||||
#ifdef INDICATOR_LIGHTS
|
||||
extern userspace_config_t userspace_config;
|
||||
uint8_t last_mod;
|
||||
uint8_t last_led;
|
||||
uint8_t last_osm;
|
||||
#endif
|
||||
|
||||
|
||||
#define LAYOUT_collide39_base( \
|
||||
K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
|
||||
K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
|
||||
K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A \
|
||||
) \
|
||||
LAYOUT_wrapper( \
|
||||
MT(MOD_LALT,KC_TAB), K01, K02, K03, K04, K05, LT(RAISE,KC_PGUP), K06, K07, K08, K09, K0A, KC_BSPC, \
|
||||
SFT_T(KC_ESC), K11, K12, K13, K14, K15, LT(LOWER,KC_PGDN), K16, K17, K18, K19, K1A, SFT_T(KC_ENT), \
|
||||
MT(MOD_LCTL,KC_DEL), K21, K22, K23, K24, K25, KC_SPACE, K26, K27, K28, K29, K2A, KC_LEAD \
|
||||
)
|
||||
|
||||
/*
|
||||
* ,------. ,----------------------------------------------------------------------------. ,------.
|
||||
* |ALTTAB| | Q | W | E | R | T |RSE/PU| Y | U | I | O | P | | BSPC |
|
||||
* |------| |------+------+------+------+------+------+------+------+------+------+------+ |------|
|
||||
* |SF/ESC| | A | S | D | F | G |LWR/PD| H | J | K | L | ; | | ENTER|
|
||||
* |------| |------+------+------+------+------+------+------+------+------+------+------+ |------|
|
||||
* |CTLDEL| | Z | X | C | V | B |SPACE | N | M | , | . | / | |LEADER|
|
||||
* `------' `----------------------------------------------------------------------------' `------'
|
||||
*/
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_QWERTY] = LAYOUT_collide39_base_wrapper(
|
||||
_________________QWERTY_L1_________________, _________________QWERTY_R1_________________,
|
||||
_________________QWERTY_L2_________________, _________________QWERTY_R2_________________,
|
||||
_________________QWERTY_L3_________________, _________________QWERTY_R3_________________
|
||||
),
|
||||
|
||||
[_COLEMAK] = LAYOUT_collide39_base_wrapper(
|
||||
_________________COLEMAK_L1________________, _________________COLEMAK_R1________________,
|
||||
_________________COLEMAK_L2________________, _________________COLEMAK_R2________________,
|
||||
_________________COLEMAK_L3________________, _________________COLEMAK_R3________________
|
||||
),
|
||||
|
||||
[_DVORAK] = LAYOUT_collide39_base_wrapper(
|
||||
_________________DVORAK_L1_________________, _________________DVORAK_R1_________________,
|
||||
_________________DVORAK_L2_________________, _________________DVORAK_R2_________________,
|
||||
_________________DVORAK_L3_________________, _________________DVORAK_R3_________________
|
||||
),
|
||||
|
||||
#ifdef UNICODEMAP_ENABLE
|
||||
[_UNICODE] = LAYOUT_collide39_base_wrapper(
|
||||
_______________UNICODE_L1__________________, _______________UNICODE_R1__________________,
|
||||
_______________UNICODE_L2__________________, _______________UNICODE_R2__________________,
|
||||
_______________UNICODE_L3__________________, _______________UNICODE_R3__________________
|
||||
),
|
||||
#endif
|
||||
[_WORKMAN] = LAYOUT_collide39_base_wrapper(
|
||||
_________________RGB_UP____________________, _________________RGB_UP____________________,
|
||||
_________________RGB_CENTER________________, _________________RGB_CENTER________________,
|
||||
_________________RGB_DOWN__________________, _________________RGB_DOWN__________________
|
||||
),
|
||||
|
||||
[_PLOVER] = LAYOUT_wrapper(\
|
||||
KC_1, _________________PLOVER_L1_________________, _______, _________________PLOVER_R1_________________, KC_1,
|
||||
KC_NO, _________________PLOVER_L2_________________, _______, _________________PLOVER_R2_________________, KC_NO,
|
||||
KC_NO, _________________PLOVER_L3_________________, _______, _________________PLOVER_R3_________________, _______
|
||||
),
|
||||
|
||||
[_MODS] = LAYOUT_wrapper(\
|
||||
KC_LALT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RALT,
|
||||
KC_LCTL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RCTL,
|
||||
KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
[_LOWER] = LAYOUT_wrapper(\
|
||||
KC_TILD, _________________LOWER_L1__________________, _______, _________________LOWER_R1__________________, KC_BSPC,
|
||||
KC_F11, _________________LOWER_L2__________________, _______, _________________LOWER_R2__________________, KC_PIPE,
|
||||
KC_F12, _________________LOWER_L3__________________, _______, _________________LOWER_R3__________________, _______
|
||||
),
|
||||
|
||||
[_RAISE] = LAYOUT_wrapper(\
|
||||
KC_GRV, _________________RAISE_L1__________________, _______, _________________RAISE_R1__________________, KC_BSPC,
|
||||
_______, _________________RAISE_L2__________________, _______, _________________RAISE_R2__________________, KC_BSLS,
|
||||
_______, _________________RAISE_L3__________________, _______, _________________RAISE_R3__________________, _______
|
||||
),
|
||||
|
||||
[_ADJUST] = LAYOUT_wrapper(\
|
||||
KC_MAKE, _________________ADJUST_L1_________________, _______, _________________ADJUST_R1_________________, KC_RESET,
|
||||
VRSN, _________________ADJUST_L2_________________, _______, _________________ADJUST_R2_________________, EEP_RST,
|
||||
DEBUG, _________________ADJUST_L3_________________, _______, _________________ADJUST_R3_________________, _______
|
||||
)
|
||||
|
||||
};
|
||||
|
||||
void matrix_init_keymap(void) {
|
||||
#ifndef CONVERT_TO_PROTON_C
|
||||
setPinOutput(D5);
|
||||
writePinHigh(D5);
|
||||
setPinOutput(B0);
|
||||
writePinHigh(B0);
|
||||
#endif
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
# Personal keymap for the collide39
|
||||
|
||||
## Features:
|
||||
|
||||
- leader key
|
||||
- combos
|
||||
- tap dance
|
||||
- rgb backlight for the space key using a chameleon 4x WS28xx leds
|
||||
|
||||
#
|
|
@ -0,0 +1,20 @@
|
|||
BOOTLOADER = caterina
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE = no # Console for debug(+400)
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
LEADER_ENABLE = yes # default is yes
|
||||
TAP_DANCE_ENABLE = no #(+1254)
|
||||
COMBO_ENABLE = yes
|
||||
UNICODE_ENABLE = no #(+1134)
|
||||
UNICODEMAP_ENABLE = yes
|
||||
RGBLIGHT_ENABLE = yes
|
||||
AUDIO_ENABLE = no
|
||||
NKRO_ENABLE = yes
|
||||
|
||||
INDICATOR_LIGHTS = yes
|
||||
MACROS_ENABLED = no
|
||||
RGBLIGHT_STARTUP_ANIMATION = yes
|
||||
|
||||
NO_SECRETS = no
|
16
keyboards/maple_computing/c39/readme.md
Executable file
16
keyboards/maple_computing/c39/readme.md
Executable file
|
@ -0,0 +1,16 @@
|
|||
# C39
|
||||
=======
|
||||
|
||||

|
||||
|
||||
A compact 39 key keyboard.
|
||||
|
||||
Keyboard Maintainer: [Maple Computing]()
|
||||
Hardware Supported: C39 PCB
|
||||
Hardware Availability: [SpaceCat.design](https://spacecat.design)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make maple_computing/c39:default
|
||||
|
||||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
|
18
keyboards/maple_computing/c39/rules.mk
Executable file
18
keyboards/maple_computing/c39/rules.mk
Executable file
|
@ -0,0 +1,18 @@
|
|||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = caterina
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = yes # Console for debug
|
||||
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
NKRO_ENABLE = no # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
RGBLIGHT_ENABLE = no # RGB Enable / Disable
|
0
keyboards/maple_computing/christmas_tree/.noci
Normal file
0
keyboards/maple_computing/christmas_tree/.noci
Normal file
1
keyboards/maple_computing/christmas_tree/V2017/V2017.c
Normal file
1
keyboards/maple_computing/christmas_tree/V2017/V2017.c
Normal file
|
@ -0,0 +1 @@
|
|||
#include "V2017.h"
|
3
keyboards/maple_computing/christmas_tree/V2017/V2017.h
Normal file
3
keyboards/maple_computing/christmas_tree/V2017/V2017.h
Normal file
|
@ -0,0 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
#include "christmas_tree.h"
|
5
keyboards/maple_computing/christmas_tree/V2017/config.h
Normal file
5
keyboards/maple_computing/christmas_tree/V2017/config.h
Normal file
|
@ -0,0 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
#define DEVICE_VER 0x2017
|
3
keyboards/maple_computing/christmas_tree/V2017/rules.mk
Normal file
3
keyboards/maple_computing/christmas_tree/V2017/rules.mk
Normal file
|
@ -0,0 +1,3 @@
|
|||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
|
||||
AUDIO_ENABLE = no # Audio output
|
|
@ -0,0 +1 @@
|
|||
#include "christmas_tree.h"
|
14
keyboards/maple_computing/christmas_tree/christmas_tree.h
Normal file
14
keyboards/maple_computing/christmas_tree/christmas_tree.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
k00, k10, k20, k30, k40, k50 \
|
||||
) { \
|
||||
{ k00 }, \
|
||||
{ k10 }, \
|
||||
{ k20 }, \
|
||||
{ k30 }, \
|
||||
{ k40 }, \
|
||||
{ k50 } \
|
||||
}
|
54
keyboards/maple_computing/christmas_tree/config.h
Normal file
54
keyboards/maple_computing/christmas_tree/config.h
Normal file
|
@ -0,0 +1,54 @@
|
|||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0x3070
|
||||
#define MANUFACTURER Maple Computing
|
||||
#define PRODUCT Christmas Tree
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 6
|
||||
#define MATRIX_COLS 1
|
||||
|
||||
/* Planck PCB default pin-out */
|
||||
#define MATRIX_ROW_PINS { D3, F4, D0, F6, F5, D4 }
|
||||
#define MATRIX_COL_PINS { D1 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
#define BACKLIGHT_PIN D2
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* define if matrix has ghost */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
/* number of backlight levels */
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
|
||||
/* 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
|
10
keyboards/maple_computing/christmas_tree/info.json
Normal file
10
keyboards/maple_computing/christmas_tree/info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"keyboard_name": "Christmas Tree",
|
||||
"url": "https://www.reddit.com/r/MechanicalKeyboards/comments/7cqxpf/gb_christmas_tree_pcb_gb_now_live/",
|
||||
"maintainer": "That-Canadian",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [{"x":1, "y":0}, {"x":0.5, "y":1}, {"x":1.5, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,82 @@
|
|||
/* Copyright 2015-2017 Jack Humbert
|
||||
*
|
||||
* 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 layers {
|
||||
_BASE,
|
||||
_FUNC
|
||||
};
|
||||
|
||||
enum custom_keycodes {
|
||||
FUNC = SAFE_RANGE,
|
||||
BACKLIT
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Base
|
||||
* ,------.
|
||||
* | 1 |
|
||||
* ,------+------.
|
||||
* | 2 | 3 |
|
||||
* ,------+------+------.
|
||||
* | 4 | FUNC | 6 |
|
||||
* `--------------------'
|
||||
*/
|
||||
[_BASE] = LAYOUT(
|
||||
KC_1,
|
||||
KC_2, KC_3,
|
||||
KC_4, MO(_FUNC), KC_6
|
||||
),
|
||||
|
||||
/* Func
|
||||
* ,------.
|
||||
* |BCKLIT|
|
||||
* ,------+------.
|
||||
* | 8 | 9 |
|
||||
* ,------+------+------.
|
||||
* | 0 | FUNC | RESET|
|
||||
* `--------------------'
|
||||
*/
|
||||
[_FUNC] = LAYOUT(
|
||||
BACKLIT,
|
||||
KC_8, KC_9,
|
||||
KC_0, _______, RESET
|
||||
)
|
||||
|
||||
|
||||
};
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case BACKLIT:
|
||||
if (record->event.pressed) {
|
||||
register_code(KC_RSFT);
|
||||
#ifdef BACKLIGHT_ENABLE
|
||||
register_code(KC_LSFT);
|
||||
backlight_step();
|
||||
#endif
|
||||
} else {
|
||||
unregister_code(KC_RSFT);
|
||||
unregister_code(KC_LSFT);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
# The Default Christmas Tree Layout
|
||||
|
14
keyboards/maple_computing/christmas_tree/readme.md
Normal file
14
keyboards/maple_computing/christmas_tree/readme.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
Christmas Tree
|
||||
===
|
||||
|
||||

|
||||
|
||||
A tiny 6 key macro pad, in the shape of a christmas tree, made by That-Canadian, SpaceCat, and ChillCaps.
|
||||
|
||||
Keyboard Maintainer: [That-Canadian](https://github.com/That-Canadian)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make maple_computing/christmas_tree/V2017:default
|
||||
|
||||
See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information.
|
20
keyboards/maple_computing/christmas_tree/rules.mk
Normal file
20
keyboards/maple_computing/christmas_tree/rules.mk
Normal file
|
@ -0,0 +1,20 @@
|
|||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = caterina
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = yes # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = no # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
|
||||
|
||||
DEFAULT_FOLDER = maple_computing/christmas_tree/V2017
|
0
keyboards/maple_computing/ivy/.noci
Normal file
0
keyboards/maple_computing/ivy/.noci
Normal file
66
keyboards/maple_computing/ivy/config.h
Normal file
66
keyboards/maple_computing/ivy/config.h
Normal file
|
@ -0,0 +1,66 @@
|
|||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0x1337
|
||||
#define PRODUCT_ID 0x6012
|
||||
#define MANUFACTURER Maple Computing
|
||||
#define PRODUCT Ivy
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 3
|
||||
#define MATRIX_COLS 3
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* define if matrix has ghost */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
/* Set 0 if debouncing isn't needed */
|
||||
#define DEBOUNCE 5
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define BACKLIGHT_PIN D2
|
||||
|
||||
/* number of backlight levels */
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
//#define NO_ACTION_MACRO
|
||||
//#define NO_ACTION_FUNCTION
|
1
keyboards/maple_computing/ivy/ivy.c
Normal file
1
keyboards/maple_computing/ivy/ivy.c
Normal file
|
@ -0,0 +1 @@
|
|||
#include "ivy.h"
|
7
keyboards/maple_computing/ivy/ivy.h
Normal file
7
keyboards/maple_computing/ivy/ivy.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef KEYBOARD_maple_computing_ivy_rev1
|
||||
#include "rev1.h"
|
||||
#endif
|
||||
|
||||
#include "quantum.h"
|
41
keyboards/maple_computing/ivy/keymaps/default/keymap.c
Normal file
41
keyboards/maple_computing/ivy/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,41 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
|
||||
enum pad_layers {
|
||||
_L1,
|
||||
_FUNC
|
||||
};
|
||||
|
||||
// Defines for task manager and such
|
||||
#define CALTDEL LCTL(LALT(KC_DEL))
|
||||
#define TSKMGR LCTL(LSFT(KC_ESC))
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Layer 1
|
||||
* ,------.
|
||||
* | 1 |
|
||||
* |------|
|
||||
* | 2 |
|
||||
* |------|
|
||||
* | FN |
|
||||
* `------'
|
||||
*/
|
||||
[_L1] = LAYOUT(
|
||||
KC_1,
|
||||
KC_2,
|
||||
MO(_FUNC)
|
||||
),
|
||||
|
||||
[_FUNC] = LAYOUT(
|
||||
CALTDEL,
|
||||
TSKMGR,
|
||||
_______
|
||||
)
|
||||
|
||||
};
|
15
keyboards/maple_computing/ivy/readme.md
Normal file
15
keyboards/maple_computing/ivy/readme.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
IVY
|
||||
===
|
||||
|
||||

|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make maple_computing/ivy/rev1:default
|
||||
|
||||
Install examples:
|
||||
|
||||
make maple_computing/ivy/rev1:default:dfu
|
||||
|
||||
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).
|
27
keyboards/maple_computing/ivy/rev1/config.h
Normal file
27
keyboards/maple_computing/ivy/rev1/config.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define DEVICE_VER 0x0001
|
||||
|
||||
/* Let's Macro V2 pin-out */
|
||||
#define MATRIX_ROW_PINS { F1, B2, D3 }
|
||||
#define MATRIX_COL_PINS { F5, B3, D5 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
14
keyboards/maple_computing/ivy/rev1/info.json
Normal file
14
keyboards/maple_computing/ivy/rev1/info.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"keyboard_name": "IVY",
|
||||
"url": "",
|
||||
"maintainer": "That-Canadian",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0},
|
||||
{"x":1, "y":0},
|
||||
{"x":2, "y":0}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
keyboards/maple_computing/ivy/rev1/rev1.c
Normal file
1
keyboards/maple_computing/ivy/rev1/rev1.c
Normal file
|
@ -0,0 +1 @@
|
|||
#include "ivy.h"
|
14
keyboards/maple_computing/ivy/rev1/rev1.h
Normal file
14
keyboards/maple_computing/ivy/rev1/rev1.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include "ivy.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, \
|
||||
K01, \
|
||||
K02 \
|
||||
) \
|
||||
{ \
|
||||
{ K00, KC_NO, KC_NO }, \
|
||||
{ KC_NO, K01, KC_NO }, \
|
||||
{ KC_NO, KC_NO, K02 }, \
|
||||
}
|
0
keyboards/maple_computing/ivy/rev1/rules.mk
Normal file
0
keyboards/maple_computing/ivy/rev1/rules.mk
Normal file
20
keyboards/maple_computing/ivy/rules.mk
Normal file
20
keyboards/maple_computing/ivy/rules.mk
Normal file
|
@ -0,0 +1,20 @@
|
|||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = caterina
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = no # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
|
||||
|
||||
DEFAULT_FOLDER = ivy/rev1
|
52
keyboards/maple_computing/jnao/config.h
Normal file
52
keyboards/maple_computing/jnao/config.h
Normal file
|
@ -0,0 +1,52 @@
|
|||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0x1337
|
||||
#define PRODUCT_ID 0x6017
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER Maple Computing
|
||||
#define PRODUCT JNAO Keyboard
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 5
|
||||
#define MATRIX_COLS 12
|
||||
|
||||
#define MATRIX_ROW_PINS { E6, F0, F5, F6, F7 }
|
||||
#define MATRIX_COL_PINS { F1, F4, B1, B2, B3, B7, D1, D2, D4, D6, D7, B4 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
#define BACKLIGHT_PIN D0
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* number of backlight levels */
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
|
||||
/* 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
|
||||
|
123
keyboards/maple_computing/jnao/info.json
Normal file
123
keyboards/maple_computing/jnao/info.json
Normal file
|
@ -0,0 +1,123 @@
|
|||
{
|
||||
"keyboard_name": "JNAO",
|
||||
"url": "",
|
||||
"maintainer": "That-Canadian",
|
||||
"layouts": {
|
||||
"LAYOUT_ortho_5x12": {
|
||||
"layout": [
|
||||
{"label":"`", "x":0, "y":0},
|
||||
{"label":"1", "x":1, "y":0},
|
||||
{"label":"2", "x":2, "y":0},
|
||||
{"label":"3", "x":3, "y":0},
|
||||
{"label":"4", "x":4, "y":0},
|
||||
{"label":"5", "x":5, "y":0},
|
||||
{"label":"6", "x":6, "y":0},
|
||||
{"label":"7", "x":7, "y":0},
|
||||
{"label":"8", "x":8, "y":0},
|
||||
{"label":"9", "x":9, "y":0},
|
||||
{"label":"0", "x":10, "y":0},
|
||||
{"label":"Backspace", "x":11, "y":0},
|
||||
{"label":"Tab", "x":0, "y":1},
|
||||
{"label":"Q", "x":1, "y":1},
|
||||
{"label":"W", "x":2, "y":1},
|
||||
{"label":"E", "x":3, "y":1},
|
||||
{"label":"R", "x":4, "y":1},
|
||||
{"label":"T", "x":5, "y":1},
|
||||
{"label":"Y", "x":6, "y":1},
|
||||
{"label":"U", "x":7, "y":1},
|
||||
{"label":"I", "x":8, "y":1},
|
||||
{"label":"O", "x":9, "y":1},
|
||||
{"label":"P", "x":10, "y":1},
|
||||
{"label":"Delete", "x":11, "y":1},
|
||||
{"label":"Esc", "x":0, "y":2},
|
||||
{"label":"A", "x":1, "y":2},
|
||||
{"label":"S", "x":2, "y":2},
|
||||
{"label":"D", "x":3, "y":2},
|
||||
{"label":"F", "x":4, "y":2},
|
||||
{"label":"G", "x":5, "y":2},
|
||||
{"label":"H", "x":6, "y":2},
|
||||
{"label":"J", "x":7, "y":2},
|
||||
{"label":"K", "x":8, "y":2},
|
||||
{"label":"L", "x":9, "y":2},
|
||||
{"label":";", "x":10, "y":2},
|
||||
{"label":"'", "x":11, "y":2},
|
||||
{"label":"Shift", "x":0, "y":3},
|
||||
{"label":"Z", "x":1, "y":3},
|
||||
{"label":"X", "x":2, "y":3},
|
||||
{"label":"C", "x":3, "y":3},
|
||||
{"label":"V", "x":4, "y":3},
|
||||
{"label":"B", "x":5, "y":3},
|
||||
{"label":"N", "x":6, "y":3},
|
||||
{"label":"M", "x":7, "y":3},
|
||||
{"label":",", "x":8, "y":3},
|
||||
{"label":".", "x":9, "y":3},
|
||||
{"label":"/", "x":10, "y":3},
|
||||
{"label":"Enter", "x":11, "y":3},
|
||||
{"label":"Fn", "x":0, "y":4},
|
||||
{"label":"Ctrl", "x":1, "y":4},
|
||||
{"label":"Alt", "x":2, "y":4},
|
||||
{"label":"Meta", "x":3, "y":4},
|
||||
{"label":"Lower", "x":4, "y":4},
|
||||
{"label":"Space", "x":5, "y":4},
|
||||
{"label":"Space", "x":6, "y":4},
|
||||
{"label":"Raise", "x":7, "y":4},
|
||||
{"label":"Left", "x":8, "y":4},
|
||||
{"label":"Down", "x":9, "y":4},
|
||||
{"label":"Up", "x":10, "y":4},
|
||||
{"label":"Right", "x":11, "y":4}
|
||||
]
|
||||
},
|
||||
"LAYOUT_ortho_4x12": {
|
||||
"layout": [
|
||||
{"label":"Tab", "x":0, "y":0},
|
||||
{"label":"Q", "x":1, "y":0},
|
||||
{"label":"W", "x":2, "y":0},
|
||||
{"label":"E", "x":3, "y":0},
|
||||
{"label":"R", "x":4, "y":0},
|
||||
{"label":"T", "x":5, "y":0},
|
||||
{"label":"Y", "x":6, "y":0},
|
||||
{"label":"U", "x":7, "y":0},
|
||||
{"label":"I", "x":8, "y":0},
|
||||
{"label":"O", "x":9, "y":0},
|
||||
{"label":"P", "x":10, "y":0},
|
||||
{"label":"Delete", "x":11, "y":0},
|
||||
{"label":"Esc", "x":0, "y":1},
|
||||
{"label":"A", "x":1, "y":1},
|
||||
{"label":"S", "x":2, "y":1},
|
||||
{"label":"D", "x":3, "y":1},
|
||||
{"label":"F", "x":4, "y":1},
|
||||
{"label":"G", "x":5, "y":1},
|
||||
{"label":"H", "x":6, "y":1},
|
||||
{"label":"J", "x":7, "y":1},
|
||||
{"label":"K", "x":8, "y":1},
|
||||
{"label":"L", "x":9, "y":1},
|
||||
{"label":";", "x":10, "y":1},
|
||||
{"label":"'", "x":11, "y":1},
|
||||
{"label":"Shift", "x":0, "y":2},
|
||||
{"label":"Z", "x":1, "y":2},
|
||||
{"label":"X", "x":2, "y":2},
|
||||
{"label":"C", "x":3, "y":2},
|
||||
{"label":"V", "x":4, "y":2},
|
||||
{"label":"B", "x":5, "y":2},
|
||||
{"label":"N", "x":6, "y":2},
|
||||
{"label":"M", "x":7, "y":2},
|
||||
{"label":",", "x":8, "y":2},
|
||||
{"label":".", "x":9, "y":2},
|
||||
{"label":"/", "x":10, "y":2},
|
||||
{"label":"Enter", "x":11, "y":2},
|
||||
{"label":"Fn", "x":0, "y":3},
|
||||
{"label":"Ctrl", "x":1, "y":3},
|
||||
{"label":"Alt", "x":2, "y":3},
|
||||
{"label":"Meta", "x":3, "y":3},
|
||||
{"label":"Lower", "x":4, "y":3},
|
||||
{"label":"Space", "x":5, "y":3},
|
||||
{"label":"Space", "x":6, "y":3},
|
||||
{"label":"Raise", "x":7, "y":3},
|
||||
{"label":"Left", "x":8, "y":3},
|
||||
{"label":"Down", "x":9, "y":3},
|
||||
{"label":"Up", "x":10, "y":3},
|
||||
{"label":"Right", "x":11, "y":3}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
keyboards/maple_computing/jnao/jnao.c
Normal file
1
keyboards/maple_computing/jnao/jnao.c
Normal file
|
@ -0,0 +1 @@
|
|||
#include "jnao.h"
|
32
keyboards/maple_computing/jnao/jnao.h
Normal file
32
keyboards/maple_computing/jnao/jnao.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT_ortho_5x12( \
|
||||
k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, k011, k012, \
|
||||
k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, k111, k112, \
|
||||
k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, k211, k212, \
|
||||
k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, k311, k312, \
|
||||
k41, k42, k43, k44, k45, k46, k47, k48, k49, k410, k411, k412 \
|
||||
) \
|
||||
{ \
|
||||
{ k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, k011, k012 }, \
|
||||
{ k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, k111, k112 }, \
|
||||
{ k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, k211, k212 }, \
|
||||
{ k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, k311, k312 }, \
|
||||
{ k41, k42, k43, k44, k45, k46, k47, k48, k49, k410, k411, k412 } \
|
||||
}
|
||||
|
||||
#define LAYOUT_ortho_4x12( \
|
||||
k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, k011, k012, \
|
||||
k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, k111, k112, \
|
||||
k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, k211, k212, \
|
||||
k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, k311, k312 \
|
||||
) \
|
||||
{ \
|
||||
{k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, k011, k012}, \
|
||||
{k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, k111, k112}, \
|
||||
{k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, k211, k212}, \
|
||||
{k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, k311, k312}, \
|
||||
{KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO} \
|
||||
}
|
155
keyboards/maple_computing/jnao/keymaps/default/keymap.c
Normal file
155
keyboards/maple_computing/jnao/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,155 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum layer_names {
|
||||
_QWERTY,
|
||||
_LOWER,
|
||||
_RAISE,
|
||||
_FUNCTION,
|
||||
_ADJUST,
|
||||
};
|
||||
|
||||
enum jnao_keycodes {
|
||||
QWERTY = SAFE_RANGE,
|
||||
LOWER,
|
||||
RAISE,
|
||||
};
|
||||
|
||||
// Defines for task manager and such
|
||||
#define CALTDEL LCTL(LALT(KC_DEL))
|
||||
#define TSKMGR LCTL(LSFT(KC_ESC))
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Qwerty
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Func | A | S | D | F | G | H | J | K | L | ; | Enter|
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Shift| Z | X | C | V | B | N | M | , | . | / | ' |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Ctrl | ` | GUI | ALT |Lower | Space |Raise | Left | Down | Up |Right |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_QWERTY] = LAYOUT_ortho_5x12(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
MO(_FUNCTION), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||
OSM(MOD_LSFT), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
|
||||
KC_LCTL, KC_GRV, KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||
),
|
||||
|
||||
/* Lower
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | ~ | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Esc | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } |Enter |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | | F7 | F8 | F9 | F10 | F11 | F12 | | | Mute | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | |Lower | Bksp |Raise | Next | Vol- | Vol+ | Play |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_LOWER] = LAYOUT_ortho_5x12(
|
||||
KC_TILD, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
KC_ESC, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL,
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, _______,
|
||||
_______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_MUTE, _______, KC_PIPE,
|
||||
_______, _______, _______, _______, _______, KC_BSPC, KC_BSPC, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
|
||||
),
|
||||
|
||||
/* Raise
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | ` | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | 4 | 5 | 6 | + | F5 | F6 | - | = | [ | ] |Enter |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* |Enter | 7 | 8 | 9 | - | F11 | F12 |ISO # |ISO / | Mute | | \ |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | , | 0 | . |Lower | Bksp |Raise | Next | Vol- | Vol+ | Play |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_RAISE] = LAYOUT_ortho_5x12(
|
||||
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
|
||||
_______, KC_4, KC_5, KC_6, KC_PLUS, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______,
|
||||
KC_ENT, KC_7, KC_8, KC_9, KC_MINS, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_MUTE, _______, KC_BSLS,
|
||||
_______, KC_COMM, KC_0, KC_DOT, _______, KC_BSPC, KC_BSPC, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
|
||||
),
|
||||
|
||||
/* Adjust (Lower + Raise)
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | ESC | F1 | F2 | F3 |ALTF4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* |Taskmg| | | | | | | | | | |caltde|
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | |Aud on|Audoff|AGnorm|AGswap|Qwerty| | | | |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | |Voice-|Voice+|Mus on|Musoff|MIDIon|MIDIof| | | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | |RESET |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_ADJUST] = LAYOUT_ortho_5x12(
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, LALT(KC_F4), KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
TSKMGR, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CALTDEL,
|
||||
_______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, _______, _______, _______, _______,
|
||||
_______, MUV_DE, MUV_IN, MU_ON, MU_OFF, MI_ON, MI_OFF, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET
|
||||
),
|
||||
|
||||
/* Function
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Esc | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | up | | | |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | | | | | | Left | Down |Right | | |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Caps | | | | | | | | | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_FUNCTION] = LAYOUT_ortho_5x12(
|
||||
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_UP, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______,
|
||||
KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
|
||||
|
||||
};
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case LOWER:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_LOWER);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
} else {
|
||||
layer_off(_LOWER);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case RAISE:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_RAISE);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
} else {
|
||||
layer_off(_RAISE);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
};
|
150
keyboards/maple_computing/jnao/keymaps/default_4x12/keymap.c
Normal file
150
keyboards/maple_computing/jnao/keymaps/default_4x12/keymap.c
Normal file
|
@ -0,0 +1,150 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum layer_names {
|
||||
_QWERTY,
|
||||
_LOWER,
|
||||
_RAISE,
|
||||
_FUNCTION,
|
||||
_ADJUST,
|
||||
};
|
||||
|
||||
enum planck_keycodes {
|
||||
QWERTY = SAFE_RANGE,
|
||||
LOWER,
|
||||
RAISE
|
||||
};
|
||||
|
||||
// Defines for task manager and such
|
||||
#define CALTDEL LCTL(LALT(KC_DEL))
|
||||
#define TSKMGR LCTL(LSFT(KC_ESC))
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Qwerty
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Func | A | S | D | F | G | H | J | K | L | ; | Enter|
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Shift| Z | X | C | V | B | N | M | , | . | / | ' |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Ctrl | ` | GUI | Alt |Lower | Space |Raise | Left | Down | Up |Right |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_QWERTY] = LAYOUT_ortho_4x12(
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
MO(_FUNCTION), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||
OSM(MOD_LSFT), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
|
||||
KC_LCTL, KC_GRV, KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||
),
|
||||
|
||||
/* Lower
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Esc | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } |Enter |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | | F7 | F8 | F9 | F10 | F11 | F12 | | | Mute | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | |Lower | Bksp | Bksp |Raise | Next | Vol- | Vol+ | Play |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_LOWER] = LAYOUT_ortho_4x12(
|
||||
KC_ESC, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL,
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, _______,
|
||||
_______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_MUTE, _______, KC_PIPE,
|
||||
_______, _______, _______, _______, _______, KC_BSPC, KC_BSPC, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
|
||||
),
|
||||
|
||||
/* Raise
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | 4 | 5 | 6 | + | F5 | F6 | - | = | [ | ] |Enter |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* |Enter | 7 | 8 | 9 | - | F11 | F12 |ISO # |ISO / | Mute | | \ |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | , | 0 | . |Lower | Bksp | Bksp |Raise | Next | Vol- | Vol+ | Play |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_RAISE] = LAYOUT_ortho_4x12(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
|
||||
_______, KC_4, KC_5, KC_6, KC_PLUS, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______,
|
||||
KC_ENT, KC_7, KC_8, KC_9, KC_MINS, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_MUTE, _______, KC_BSLS,
|
||||
_______, KC_COMM, KC_0, KC_DOT, _______, KC_BSPC, KC_BSPC, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
|
||||
),
|
||||
|
||||
/* Adjust (Lower + Raise)
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* |Taskmg| | | | | | | | | | |caltde|
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | |Aud on|Audoff|AGnorm|AGswap|Qwerty| | | | |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | |Voice-|Voice+|Mus on|Musoff|MIDIon|MIDIof| | | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | | RESET|
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_ADJUST] = LAYOUT_ortho_4x12(
|
||||
TSKMGR, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CALTDEL,
|
||||
_______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, _______, _______, _______, _______,
|
||||
_______, MUV_DE, MUV_IN, MU_ON, MU_OFF, MI_ON, MI_OFF, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET
|
||||
),
|
||||
|
||||
/* Function
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | Up | | | |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | | | | | | Left | Down |Right | | |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Caps | | | | | | | | | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_FUNCTION] = LAYOUT_ortho_4x12(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______,
|
||||
KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
|
||||
};
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
|
||||
float tone_startup[][2] = SONG(STARTUP_SOUND);
|
||||
float tone_qwerty[][2] = SONG(QWERTY_SOUND);
|
||||
float tone_dvorak[][2] = SONG(DVORAK_SOUND);
|
||||
float tone_colemak[][2] = SONG(COLEMAK_SOUND);
|
||||
float music_scale[][2] = SONG(MUSIC_SCALE_SOUND);
|
||||
|
||||
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
|
||||
#endif
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case LOWER:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_LOWER);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
} else {
|
||||
layer_off(_LOWER);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case RAISE:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_RAISE);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
} else {
|
||||
layer_off(_RAISE);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
145
keyboards/maple_computing/jnao/keymaps/via/keymap.c
Normal file
145
keyboards/maple_computing/jnao/keymaps/via/keymap.c
Normal file
|
@ -0,0 +1,145 @@
|
|||
/* Copyright 2020 Matthew Dias
|
||||
*
|
||||
* 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 layer_names {
|
||||
_QWERTY,
|
||||
_LOWER,
|
||||
_RAISE,
|
||||
_ADJUST,
|
||||
};
|
||||
|
||||
enum jnao_keycodes {
|
||||
QWERTY = SAFE_RANGE,
|
||||
LOWER,
|
||||
RAISE,
|
||||
};
|
||||
|
||||
// Defines for task manager and such
|
||||
#define CALTDEL LCTL(LALT(KC_DEL))
|
||||
#define TSKMGR LCTL(LSFT(KC_ESC))
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Qwerty
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Caps | A | S | D | F | G | H | J | K | L | ; | Enter|
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Shift| Z | X | C | V | B | N | M | , | . | / | ' |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Ctrl | ` | GUI | ALT |Lower | Space |Raise | Left | Down | Up |Right |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_QWERTY] = LAYOUT_ortho_5x12(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||
OSM(MOD_LSFT), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
|
||||
KC_LCTL, KC_GRV, KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||
),
|
||||
|
||||
/* Lower
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | ~ | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Esc | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } |Enter |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | | F7 | F8 | F9 | F10 | F11 | F12 | | | Mute | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | |Lower | Bksp |Raise | Next | Vol- | Vol+ | Play |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_LOWER] = LAYOUT_ortho_5x12(
|
||||
KC_TILD, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
KC_ESC, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL,
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, _______,
|
||||
_______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_MUTE, _______, KC_PIPE,
|
||||
_______, _______, _______, _______, _______, KC_BSPC, KC_BSPC, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
|
||||
),
|
||||
|
||||
/* Raise
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | ` | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | 4 | 5 | 6 | + | F5 | F6 | - | = | [ | ] |Enter |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* |Enter | 7 | 8 | 9 | - | F11 | F12 |ISO # |ISO / | Mute | | \ |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | , | 0 | . |Lower | Bksp |Raise | Next | Vol- | Vol+ | Play |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_RAISE] = LAYOUT_ortho_5x12(
|
||||
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
|
||||
_______, KC_4, KC_5, KC_6, KC_PLUS, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______,
|
||||
KC_ENT, KC_7, KC_8, KC_9, KC_MINS, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_MUTE, _______, KC_BSLS,
|
||||
_______, KC_COMM, KC_0, KC_DOT, _______, KC_BSPC, KC_BSPC, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
|
||||
),
|
||||
|
||||
/* Adjust (Lower + Raise)
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | ESC | F1 | F2 | F3 |ALTF4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* |Taskmg| | | | | | | | | | |caltde|
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | |Aud on|Audoff|AGnorm|AGswap|Qwerty| | | | |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | |Voice-|Voice+|Mus on|Musoff|MIDIon|MIDIof| | | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | |RESET |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_ADJUST] = LAYOUT_ortho_5x12(
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, LALT(KC_F4), KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
TSKMGR, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CALTDEL,
|
||||
_______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, _______, _______, _______, _______,
|
||||
_______, MUV_DE, MUV_IN, MU_ON, MU_OFF, MI_ON, MI_OFF, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET
|
||||
)
|
||||
};
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case LOWER:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_LOWER);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
} else {
|
||||
layer_off(_LOWER);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
}
|
||||
return false;
|
||||
case RAISE:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_RAISE);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
} else {
|
||||
layer_off(_RAISE);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
};
|
1
keyboards/maple_computing/jnao/keymaps/via/rules.mk
Normal file
1
keyboards/maple_computing/jnao/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1 @@
|
|||
VIA_ENABLE = yes
|
14
keyboards/maple_computing/jnao/readme.md
Normal file
14
keyboards/maple_computing/jnao/readme.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
JNAO
|
||||
====
|
||||
|
||||
An no-frills 5x12 or 4x12 ortholinear keyboard
|
||||
|
||||
Keyboard Maintainer: [That-Canadian](https://github.com/that-canadian)
|
||||
Hardware Supported: JNAO PCB
|
||||
Hardware Availability: [SpaceCat](https://spacecat.design) and [Keebio](https://keeb.io/)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make maple_computing/jnao:default
|
||||
|
||||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
|
25
keyboards/maple_computing/jnao/rules.mk
Normal file
25
keyboards/maple_computing/jnao/rules.mk
Normal file
|
@ -0,0 +1,25 @@
|
|||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = atmel-dfu
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = yes # Console for debug
|
||||
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
NKRO_ENABLE = no # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
LAYOUTS = ortho_5x12 ortho_4x12
|
||||
LAYOUTS_HAS_RGB = no
|
||||
|
||||
# Disable unsupported hardware
|
||||
RGBLIGHT_SUPPORTED = no
|
||||
AUDIO_SUPPORTED = no
|
0
keyboards/maple_computing/launchpad/.noci
Normal file
0
keyboards/maple_computing/launchpad/.noci
Normal file
66
keyboards/maple_computing/launchpad/config.h
Normal file
66
keyboards/maple_computing/launchpad/config.h
Normal file
|
@ -0,0 +1,66 @@
|
|||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0x1337
|
||||
#define PRODUCT_ID 0x6007
|
||||
#define MANUFACTURER Maple Computing
|
||||
#define PRODUCT Launch Pad
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 4
|
||||
#define MATRIX_COLS 2
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* define if matrix has ghost */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
/* 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
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
//#define NO_ACTION_MACRO
|
||||
//#define NO_ACTION_FUNCTION
|
||||
|
||||
#ifdef SUBPROJECT_rev1
|
||||
#include "rev1/config.h"
|
||||
#endif
|
|
@ -0,0 +1,32 @@
|
|||
/* Copyright 2020 Brandon Schlack
|
||||
*
|
||||
* 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
|
||||
|
||||
/* Underlight Configuration */
|
||||
#ifdef RGB_DI_PIN
|
||||
#undef RGB_DI_PIN
|
||||
#define RGB_DI_PIN F4
|
||||
#undef RGBLED_NUM
|
||||
#define RGBLED_NUM 2 // Number of LEDs
|
||||
#endif
|
||||
#define RGBLIGHT_EFFECT_BREATHING // Only have Breathing Animation
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
||||
|
||||
/* Mouse Keys Configuration */
|
||||
#define MK_3_SPEED
|
||||
#define MK_W_INTERVAL_UNMOD 20
|
|
@ -0,0 +1,213 @@
|
|||
/* Copyright 2020 Brandon Schlack
|
||||
*
|
||||
* 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
|
||||
#include "brandonschlack.h"
|
||||
|
||||
/**
|
||||
* Layer Names
|
||||
*/
|
||||
#define _REEDER _BASE
|
||||
enum bdn9_layers {
|
||||
_MEDIA = KEYMAP_LAYERS,
|
||||
_NAVI,
|
||||
_KARABINER
|
||||
};
|
||||
|
||||
/**
|
||||
* Keycodes & Macros
|
||||
*/
|
||||
#define DF_REDR DF(_REEDER) // Set Default Layer to Reeder shortcuts
|
||||
#define DF_MEDA DF(_MEDIA) // Set Default Layer to Media controls
|
||||
#define DF_NAVI DF(_NAVI) // Set Default Layer to Navigation shortcuts
|
||||
#define DF_KBNR DF(_KARABINER) // Set Default Layer to Basic Macro keys
|
||||
|
||||
// Tap Dances
|
||||
enum launchpad_dances {
|
||||
TD_SHLD_LGHT = 0,
|
||||
TD_SHLD_ADJT,
|
||||
TD_REDR_H
|
||||
};
|
||||
//Tap Dance Definitions
|
||||
qk_tap_dance_action_t tap_dance_actions[] = {
|
||||
[TD_SHLD_LGHT] = ACTION_TAP_DANCE_TRIGGER_LAYER(SINGLE_HOLD, _LIGHT),
|
||||
[TD_SHLD_ADJT] = ACTION_TAP_DANCE_TRIGGER_LAYER(SINGLE_HOLD, _ADJUST),
|
||||
[TD_REDR_H] = ACTION_TAP_DANCE_DOUBLE(KC_H, KC_R)
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Reeder
|
||||
* ┌──────┬──────┐
|
||||
* │CmdTab│ View │
|
||||
* ├──────┼──────┤
|
||||
* │PrvSub│PrvItm│
|
||||
* ├──────┼──────┤
|
||||
* │NxtSub│NxtItm│
|
||||
* ├──────┼──────┤
|
||||
* │ Clr │ Sync │
|
||||
* └──────┴──────┘
|
||||
*/
|
||||
[_REEDER] = LAYOUT( \
|
||||
CMD_TAB, TD(TD_REDR_H), \
|
||||
KC_P, KC_K, \
|
||||
KC_N, KC_J, \
|
||||
TD(TD_SHLD_LGHT), TD(TD_SHLD_ADJT) \
|
||||
),
|
||||
|
||||
/* Media
|
||||
* ┌──────┬──────┐
|
||||
* │ Mute │ Play │
|
||||
* ├──────┼──────┤
|
||||
* │ Vol+ │PrvTrk│
|
||||
* ├──────┼──────┤
|
||||
* │ Vol- │NxtTrk│
|
||||
* ├──────┼──────┤
|
||||
* │ Spce │ Plyr │
|
||||
* └──────┴──────┘
|
||||
*/
|
||||
[_MEDIA] = LAYOUT( \
|
||||
KC_MUTE, KC_MPLY, \
|
||||
KC_VOLU, KC_MNXT, \
|
||||
KC_VOLD, KC_MPRV, \
|
||||
TD(TD_SHLD_LGHT), TD(TD_SHLD_ADJT) \
|
||||
),
|
||||
|
||||
/* Navigation
|
||||
* ┌──────┬──────┐
|
||||
* │ PTab │ NTab │
|
||||
* ├──────┼──────┤
|
||||
* │ SclL │ SclU │
|
||||
* ├──────┼──────┤
|
||||
* │ SclR │ SclD │
|
||||
* ├──────┼──────┤
|
||||
* │LstTab│ClsTab│
|
||||
* └──────┴──────┘
|
||||
*/
|
||||
[_NAVI] = LAYOUT( \
|
||||
PRV_TAB, NXT_TAB, \
|
||||
MC_WH_L, MC_WH_U, \
|
||||
MC_WH_R, MC_WH_D, \
|
||||
TD(TD_SHLD_LGHT), TD(TD_SHLD_ADJT) \
|
||||
),
|
||||
|
||||
/* Macro
|
||||
* ┌──────┬──────┐
|
||||
* │ 1 │ 2 │
|
||||
* ├──────┼──────┤
|
||||
* │ 3 │ 4 │
|
||||
* ├──────┼──────┤
|
||||
* │ 5 │ 6 │
|
||||
* ├──────┼──────┤
|
||||
* │ 7 │ 8 │
|
||||
* └──────┴──────┘
|
||||
*/
|
||||
[_KARABINER] = LAYOUT( \
|
||||
KC_P1, KC_P2, \
|
||||
KC_P3, KC_P4, \
|
||||
KC_P5, KC_P6, \
|
||||
TD(TD_SHLD_LGHT), TD(TD_SHLD_ADJT) \
|
||||
),
|
||||
|
||||
/* Lights
|
||||
* ┌──────┬──────┐
|
||||
* │ THM+ │ HUE+ │
|
||||
* ├──────┼──────┤
|
||||
* │ SAT- │ SAT+ │
|
||||
* ├──────┼──────┤
|
||||
* │ VAL- │ VAL+ │
|
||||
* ├──────┼──────┤
|
||||
* │ XXXX │ Mde+ │
|
||||
* └──────┴──────┘
|
||||
*/
|
||||
[_LIGHT] = LAYOUT( \
|
||||
RGB_THM, RGB_HUI, \
|
||||
RGB_SAD, RGB_SAI, \
|
||||
RGB_VAD, RGB_VAI, \
|
||||
XXXXXXX, RGB_MOD \
|
||||
),
|
||||
|
||||
/* Adjust
|
||||
* ┌──────┬──────┐
|
||||
* │ Make │ Rset │
|
||||
* ├──────┼──────┤
|
||||
* │ Redr │ Meda │
|
||||
* ├──────┼──────┤
|
||||
* │ Navi │ Mcro │
|
||||
* ├──────┼──────┤
|
||||
* │ Lght │ XXXX │
|
||||
* └──────┴──────┘
|
||||
*/
|
||||
[_ADJUST] = LAYOUT( \
|
||||
QM_MAKE, RESET, \
|
||||
DF_REDR, DF_MEDA, \
|
||||
DF_NAVI, DF_KBNR, \
|
||||
TG_LGHT, XXXXXXX \
|
||||
)
|
||||
|
||||
};
|
||||
|
||||
void matrix_init_keymap(void) {
|
||||
}
|
||||
|
||||
// Runs once after keyboard initializes
|
||||
void keyboard_post_init_keymap(void) {
|
||||
};
|
||||
|
||||
/**
|
||||
* Tap Dances
|
||||
*/
|
||||
void process_tap_dance_keycode (bool reset, uint8_t toggle_layer) {
|
||||
uint16_t keycode = 0;
|
||||
switch (toggle_layer) {
|
||||
case _LIGHT:
|
||||
switch (get_highest_layer(layer_state)) {
|
||||
case _REEDER:
|
||||
keycode = KC_L;
|
||||
break;
|
||||
case _MEDIA:
|
||||
keycode = KC_SPC;
|
||||
break;
|
||||
case _NAVI:
|
||||
keycode = REO_TAB;
|
||||
break;
|
||||
case _KARABINER:
|
||||
keycode = KC_P7;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case _ADJUST:
|
||||
switch (get_highest_layer(layer_state)) {
|
||||
case _REEDER:
|
||||
keycode = KC_R;
|
||||
break;
|
||||
case _MEDIA:
|
||||
keycode = MC_PLYR;
|
||||
break;
|
||||
case _NAVI:
|
||||
keycode = CLS_TAB;
|
||||
break;
|
||||
case _KARABINER:
|
||||
keycode = KC_P8;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (!reset) {
|
||||
register_code16(keycode);
|
||||
} else {
|
||||
unregister_code16(keycode);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
# brandonschlack's layout for Launchpad
|
||||
Fun little macropad build, with an awesome case from [StrataKB](https://stratakb.com/store/cases/launchpad-v2-full-case).
|
||||
|
||||
## Media Layer
|
||||
This layer is used for media controls. Player button is a hotkey to focus the current media player with [BeardedSpice](https://beardedspice.github.io/)
|
||||
| | |
|
||||
|:-:|:-:|
|
||||
| Mute | Play/Pause |
|
||||
| Vol + | Next Track |
|
||||
| Vol - | Prev Track |
|
||||
| | Current Player |
|
||||
---
|
||||
|
||||
## Keypad Layer
|
||||
This layer is used to send keypad keys, meant to be remapped based on current app with [Karabiner](https://pqrs.org/osx/karabiner/)
|
||||
| | |
|
||||
|:-:|:-:|
|
||||
| 1 | 2 |
|
||||
| 3 | 4 |
|
||||
| 5 | 6 |
|
||||
| 7 | 8 |
|
||||
---
|
||||
|
||||
## Magic Layer
|
||||
This layer is used as a meta layer for the pad. This layer is accessed by holding key in Row 3, Col 0
|
||||
| | |
|
||||
|:-:|:-:|
|
||||
| MAKE | RESET |
|
||||
| **Media** Layer | **Keypad** Layer|
|
||||
| XXX | XXX |
|
||||
| ___ | XXX |
|
|
@ -0,0 +1,13 @@
|
|||
# Use macropad-specific defines, layers, functions. Flash bootloader with QM_MAKE
|
||||
IS_MACROPAD = yes
|
||||
|
||||
# Use dfu bootloader for Elite-C
|
||||
BOOTLOADER = atmel-dfu
|
||||
|
||||
# Build Options
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
||||
CONSOLE_ENABLE = yes # Console for debug(+400)
|
||||
MOUSEKEY_ENABLE = yes # Use mouse keys for scrolling.
|
||||
COMMAND_ENABLE = no # Disable Command, breaks with Mouse Keys set to constant.
|
||||
TAP_DANCE_ENABLE = yes # Use tap dance
|
55
keyboards/maple_computing/launchpad/keymaps/default/keymap.c
Normal file
55
keyboards/maple_computing/launchpad/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,55 @@
|
|||
// Below layout is based upon /u/That-Canadian's planck layout
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _QWERTY 0
|
||||
|
||||
#define _FUNC 15
|
||||
|
||||
// Defines for task manager and such
|
||||
#define CALTDEL LCTL(LALT(KC_DEL))
|
||||
#define TSKMGR LCTL(LSFT(KC_ESC))
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Qwerty
|
||||
* ,-------------.
|
||||
* | 1 | 2 |
|
||||
* |------+------|
|
||||
* | 3 | 4 |
|
||||
* |------+------|
|
||||
* | 5 | 6 |
|
||||
* |------+------|
|
||||
* | FUNC | 8 |
|
||||
* `-------------'
|
||||
*/
|
||||
[_QWERTY] = LAYOUT(
|
||||
KC_1, KC_2,
|
||||
KC_3, KC_4,
|
||||
KC_5, KC_6,
|
||||
MO(_FUNC), KC_8
|
||||
),
|
||||
|
||||
/* Function
|
||||
* ,-------------.
|
||||
* | Q |CALDEL|
|
||||
* |------+------|
|
||||
* | A |TSKMGR|
|
||||
* |------+------|
|
||||
* | Z | X |
|
||||
* |------+------|
|
||||
* | | C |
|
||||
* `-------------'
|
||||
*/
|
||||
[_FUNC] = LAYOUT(
|
||||
KC_Q, CALTDEL,
|
||||
KC_A, TSKMGR,
|
||||
KC_Z, KC_X,
|
||||
_______, KC_C
|
||||
)
|
||||
|
||||
};
|
|
@ -0,0 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
/* Underlight Configuration */
|
||||
#define RGB_DI_PIN F4
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
#define RGBLED_NUM 2 // Number of LEDs
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
|
@ -0,0 +1,76 @@
|
|||
// Below layout is based upon /u/That-Canadian's planck layout
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _QWERTY 0
|
||||
#define _RGB 1
|
||||
#define _FUNC 15
|
||||
|
||||
// Defines for task manager and such
|
||||
#define CALTDEL LCTL(LALT(KC_DEL))
|
||||
#define TSKMGR LCTL(LSFT(KC_ESC))
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Qwerty
|
||||
* ,-------------.
|
||||
* | 1 | 2 |
|
||||
* |------+------|
|
||||
* | 3 | 4 |
|
||||
* |------+------|
|
||||
* | 5 | 6 |
|
||||
* |------+------|
|
||||
* | FUNC | RGB |
|
||||
* `-------------'
|
||||
*/
|
||||
[_QWERTY] = LAYOUT(
|
||||
KC_1, KC_2,
|
||||
KC_3, KC_4,
|
||||
KC_5, KC_6,
|
||||
MO(_FUNC), TG(_RGB)
|
||||
),
|
||||
|
||||
/* RGB
|
||||
* ,-------------.
|
||||
* | Mode-| Mode+|
|
||||
* |------+------|
|
||||
* | HUE- | HUE+ |
|
||||
* |------+------|
|
||||
* | SAT- | SAT+ |
|
||||
* |------+------|
|
||||
* |RGBTOG| |
|
||||
* `-------------'
|
||||
*/
|
||||
[_RGB] = LAYOUT(
|
||||
RGB_RMOD, RGB_MOD,
|
||||
RGB_HUD, RGB_HUI,
|
||||
RGB_SAD, RGB_SAI,
|
||||
RGB_TOG, KC_TRNS
|
||||
),
|
||||
|
||||
/* Function
|
||||
* ,-------------.
|
||||
* | Q |CALDEL|
|
||||
* |------+------|
|
||||
* | A |TSKMGR|
|
||||
* |------+------|
|
||||
* | Z | X |
|
||||
* |------+------|
|
||||
* | | C |
|
||||
* `-------------'
|
||||
*/
|
||||
[_FUNC] = LAYOUT(
|
||||
KC_Q, CALTDEL,
|
||||
KC_A, TSKMGR,
|
||||
KC_Z, KC_X,
|
||||
_______, KC_C
|
||||
)
|
||||
|
||||
};
|
||||
|
||||
void matrix_init_user(void) {}
|
|
@ -0,0 +1,41 @@
|
|||
# Launch Pad
|
||||
|
||||

|
||||
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
A budget-minded, 4-8 key macro-pad with built in legs, plate & case.
|
||||
|
||||
Supports MX & Alps switches. 2x 1u or 1x 2u supported for each row.
|
||||
|
||||
Supports 2u PCB-Mount stabilizers.
|
||||
|
||||
Runs off of 1x Pro Micro & 8x diodes (1n4148).
|
||||
|
||||
Optional "Reset" switch can be used on the PCB.
|
||||
|
||||
A fantastic project for beginners to learn to solder, veteran's of the hobby who want to add an easy macro-pad to their collection, and everyone in between.
|
||||
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make launchpad/rev1:default
|
||||
|
||||
See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information.
|
||||
|
||||
# Under Glow
|
||||
|
||||

|
||||
|
||||
SpaceCat now provides an underglow add-on kit. Please refer to the picture above for wiring.
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make launchpad/rev1:default_rgb
|
||||
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
Due to PCB tolerance issues outside of our control, the snap-apart legs included on the PCB may need extra padding to prevent a small amount of wobbling once placed properly. We have included small, clear, and semi-permanent "glue dots" in each order (PCB Only -and- Full Kit) to help with this. You may also use plastic wrap, tape, Elmer's glue, hot glue, rubber cement, etc. We advise against using anything more "permanent" in case you wish to make changes to your Launch Pad in the future. It is also best to attach legs after all of your soldering and building is finished, to get the most accurate feel for your Launch Pad.
|
||||
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
@ -0,0 +1 @@
|
|||
RGBLIGHT_ENABLE = yes
|
31
keyboards/maple_computing/launchpad/keymaps/drashna/config.h
Normal file
31
keyboards/maple_computing/launchpad/keymaps/drashna/config.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
/* Underlight Configuration */
|
||||
#undef RGB_DI_PIN
|
||||
#define RGB_DI_PIN F5
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
#undef RGBLED_NUM
|
||||
#define RGBLED_NUM 8 // Number of LEDs
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
||||
|
||||
#define DRIVER_LED_TOTAL RGBLED_NUM
|
||||
#define AUDIO_PIN B7
|
||||
#define AUDIO_CLICKY
|
107
keyboards/maple_computing/launchpad/keymaps/drashna/keymap.c
Normal file
107
keyboards/maple_computing/launchpad/keymaps/drashna/keymap.c
Normal file
|
@ -0,0 +1,107 @@
|
|||
/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum local_layers {
|
||||
_QWERTY,
|
||||
_RGB,
|
||||
_FUNC,
|
||||
};
|
||||
|
||||
// Defines for task manager and such
|
||||
#define CALTDEL LCTL(LALT(KC_DEL))
|
||||
#define TSKMGR LCTL(LSFT(KC_ESC))
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Qwerty
|
||||
* ,-------------.
|
||||
* | 1 | 2 |
|
||||
* |------+------|
|
||||
* | 3 | 4 |
|
||||
* |------+------|
|
||||
* | 5 | 6 |
|
||||
* |------+------|
|
||||
* | FUNC | RGB |
|
||||
* `-------------'
|
||||
*/
|
||||
[_QWERTY] = LAYOUT( \
|
||||
KC_1, KC_2, \
|
||||
KC_3, KC_4, \
|
||||
KC_5, KC_6, \
|
||||
MO(_FUNC), TG(_RGB) \
|
||||
),
|
||||
|
||||
/* RGB
|
||||
* ,-------------.
|
||||
* | Mode-| Mode+|
|
||||
* |------+------|
|
||||
* | HUE- | HUE+ |
|
||||
* |------+------|
|
||||
* | SAT- | SAT+ |
|
||||
* |------+------|
|
||||
* |RGBTOG| |
|
||||
* `-------------'
|
||||
*/
|
||||
[_RGB] = LAYOUT( \
|
||||
RGB_RMOD, RGB_MOD, \
|
||||
RGB_HUD, RGB_HUI, \
|
||||
RGB_SAD, RGB_SAI, \
|
||||
RGB_TOG, KC_TRNS \
|
||||
),
|
||||
|
||||
/* Function
|
||||
* ,-------------.
|
||||
* | Q |CALDEL|
|
||||
* |------+------|
|
||||
* | A |TSKMGR|
|
||||
* |------+------|
|
||||
* | Z | X |
|
||||
* |------+------|
|
||||
* | | C |
|
||||
* `-------------'
|
||||
*/
|
||||
[_FUNC] = LAYOUT( \
|
||||
KC_Q, CALTDEL, \
|
||||
KC_A, TSKMGR, \
|
||||
KC_Z, KC_X, \
|
||||
_______, RESET \
|
||||
)
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
led_config_t g_led_config = {
|
||||
{
|
||||
{ 7, 0 },
|
||||
{ 6, 1 },
|
||||
{ 5, 2 },
|
||||
{ 4, 3 },
|
||||
},{
|
||||
{ 121, 2 }, { 121, 23 },
|
||||
{ 121, 41 }, { 121, 60 },
|
||||
{ 103, 2 }, { 103, 23 },
|
||||
{ 103, 41 }, { 103, 60 },
|
||||
},{
|
||||
1, 1, 1, 1,
|
||||
1, 1, 1, 1,
|
||||
}
|
||||
};
|
||||
#endif
|
|
@ -0,0 +1,7 @@
|
|||
BOOTLOADER = atmel-dfu
|
||||
|
||||
RGBLIGHT_ENABLE = no
|
||||
AUDIO_ENABLE = no
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
RGB_MATRIX_DRIVER = WS2812
|
94
keyboards/maple_computing/launchpad/keymaps/via/keymap.c
Normal file
94
keyboards/maple_computing/launchpad/keymaps/via/keymap.c
Normal file
|
@ -0,0 +1,94 @@
|
|||
// Below layout is based upon /u/That-Canadian's planck layout
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
enum layer_names {
|
||||
_QWERTY,
|
||||
_FUNC,
|
||||
_RGB,
|
||||
_LAYER3
|
||||
};
|
||||
|
||||
// Defines for task manager and such
|
||||
#define CALTDEL LCTL(LALT(KC_DEL))
|
||||
#define TSKMGR LCTL(LSFT(KC_ESC))
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Qwerty
|
||||
* ,-------------.
|
||||
* | 1 | 2 |
|
||||
* |------+------|
|
||||
* | 3 | 4 |
|
||||
* |------+------|
|
||||
* | 5 | 6 |
|
||||
* |------+------|
|
||||
* | FUNC | 8 |
|
||||
* `-------------'
|
||||
*/
|
||||
[_QWERTY] = LAYOUT(
|
||||
KC_1, KC_2,
|
||||
KC_3, KC_4,
|
||||
KC_5, KC_6,
|
||||
MO(_FUNC), TG(_RGB)
|
||||
),
|
||||
|
||||
/* Function
|
||||
* ,-------------.
|
||||
* | Q |CALDEL|
|
||||
* |------+------|
|
||||
* | A |TSKMGR|
|
||||
* |------+------|
|
||||
* | Z | X |
|
||||
* |------+------|
|
||||
* | | C |
|
||||
* `-------------'
|
||||
*/
|
||||
[_FUNC] = LAYOUT(
|
||||
KC_Q, CALTDEL,
|
||||
KC_A, TSKMGR,
|
||||
KC_Z, KC_X,
|
||||
KC_TRNS, KC_C
|
||||
),
|
||||
|
||||
/* RGB
|
||||
* ,-------------.
|
||||
* | MODE-| MODE+|
|
||||
* |------+------|
|
||||
* | HUE- | HUE+ |
|
||||
* |------+------|
|
||||
* | SAT- | SAT+ |
|
||||
* |------+------|
|
||||
* |TOGGLE| |
|
||||
* `-------------'
|
||||
*/
|
||||
[_RGB] = LAYOUT(
|
||||
RGB_RMOD, RGB_MOD,
|
||||
RGB_HUD, RGB_HUI,
|
||||
RGB_SAD, RGB_SAI,
|
||||
RGB_TOG, KC_TRNS
|
||||
),
|
||||
|
||||
/* Layer 3
|
||||
* ,-------------.
|
||||
* | | |
|
||||
* |------+------|
|
||||
* | | |
|
||||
* |------+------|
|
||||
* | | |
|
||||
* |------+------|
|
||||
* | | |
|
||||
* `-------------'
|
||||
*/
|
||||
[_LAYER3] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS
|
||||
)
|
||||
|
||||
};
|
3
keyboards/maple_computing/launchpad/keymaps/via/rules.mk
Normal file
3
keyboards/maple_computing/launchpad/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1,3 @@
|
|||
VIA_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
RGBLIGHT_ENABLE = yes
|
1
keyboards/maple_computing/launchpad/launchpad.c
Normal file
1
keyboards/maple_computing/launchpad/launchpad.c
Normal file
|
@ -0,0 +1 @@
|
|||
#include "launchpad.h"
|
7
keyboards/maple_computing/launchpad/launchpad.h
Normal file
7
keyboards/maple_computing/launchpad/launchpad.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#if defined(KEYBOARD_maple_computing_launchpad_rev1)
|
||||
# include "rev1.h"
|
||||
#endif
|
||||
|
||||
#include "quantum.h"
|
32
keyboards/maple_computing/launchpad/readme.md
Normal file
32
keyboards/maple_computing/launchpad/readme.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
Launch Pad
|
||||
===
|
||||
|
||||

|
||||
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
A budget-minded, 4-8 key macro-pad with built in legs, plate & case.
|
||||
|
||||
Supports MX & Alps switches. 2x 1u or 1x 2u supported for each row.
|
||||
|
||||
Supports 2u PCB-Mount stabilizers.
|
||||
|
||||
Runs off of 1x Pro Micro & 8x diodes (1n4148).
|
||||
|
||||
Optional "Reset" switch can be used on the PCB.
|
||||
|
||||
A fantastic project for beginners to learn to solder, veteran's of the hobby who want to add an easy macro-pad to their collection, and everyone in between.
|
||||
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make maple_computing/launchpad/rev1:default
|
||||
|
||||
See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information.
|
||||
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
Due to PCB tolerance issues outside of our control, the snap-apart legs included on the PCB may need extra padding to prevent a small amount of wobbling once placed properly. We have included small, clear, and semi-permanent "glue dots" in each order (PCB Only -and- Full Kit) to help with this. You may also use plastic wrap, tape, Elmer's glue, hot glue, rubber cement, etc. We advise against using anything more "permanent" in case you wish to make changes to your Launch Pad in the future. It is also best to attach legs after all of your soldering and building is finished, to get the most accurate feel for your Launch Pad.
|
||||
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
33
keyboards/maple_computing/launchpad/rev1/config.h
Normal file
33
keyboards/maple_computing/launchpad/rev1/config.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../config.h"
|
||||
|
||||
#define DEVICE_VER 0x0001
|
||||
|
||||
/* Let's Macro V2 pin-out */
|
||||
#define MATRIX_ROW_PINS { C6, B1, B3, D7 }
|
||||
#define MATRIX_COL_PINS { D2, F7 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define RGBLED_NUM 10
|
||||
#define RGB_DI_PIN F6
|
||||
#define RGBLIGHT_ANIMATIONS
|
22
keyboards/maple_computing/launchpad/rev1/info.json
Normal file
22
keyboards/maple_computing/launchpad/rev1/info.json
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"keyboard_name": "Launch Pad rev1",
|
||||
"url": "",
|
||||
"maintainer": "qmk",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0},
|
||||
{"x":1, "y":0},
|
||||
|
||||
{"x":0, "y":1},
|
||||
{"x":1, "y":1},
|
||||
|
||||
{"x":0, "y":2},
|
||||
{"x":1, "y":2},
|
||||
|
||||
{"x":0, "y":3},
|
||||
{"x":1, "y":3}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
keyboards/maple_computing/launchpad/rev1/rev1.c
Normal file
1
keyboards/maple_computing/launchpad/rev1/rev1.c
Normal file
|
@ -0,0 +1 @@
|
|||
#include "launchpad.h"
|
17
keyboards/maple_computing/launchpad/rev1/rev1.h
Normal file
17
keyboards/maple_computing/launchpad/rev1/rev1.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
#include "../launchpad.h"
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
k00, k01, \
|
||||
k10, k11, \
|
||||
k20, k21, \
|
||||
k30, k31 \
|
||||
) { \
|
||||
{ k00, k01 }, \
|
||||
{ k10, k11 }, \
|
||||
{ k20, k21 }, \
|
||||
{ k30, k31 } \
|
||||
}
|
0
keyboards/maple_computing/launchpad/rev1/rules.mk
Normal file
0
keyboards/maple_computing/launchpad/rev1/rules.mk
Normal file
20
keyboards/maple_computing/launchpad/rules.mk
Normal file
20
keyboards/maple_computing/launchpad/rules.mk
Normal file
|
@ -0,0 +1,20 @@
|
|||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = caterina
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
|
||||
|
||||
DEFAULT_FOLDER = maple_computing/launchpad/rev1
|
0
keyboards/maple_computing/lets_split_eh/.noci
Normal file
0
keyboards/maple_computing/lets_split_eh/.noci
Normal file
35
keyboards/maple_computing/lets_split_eh/config.h
Normal file
35
keyboards/maple_computing/lets_split_eh/config.h
Normal file
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0xE401
|
||||
#define DEVICE_VER 0x0100
|
||||
#define MANUFACTURER That-Canadian
|
||||
#define PRODUCT Lets Split Eh?
|
||||
|
||||
/* key matrix size */
|
||||
// Rows are doubled-up
|
||||
#define MATRIX_ROWS 8
|
||||
#define MATRIX_COLS 6
|
||||
|
||||
/* Set 0 if debouncing isn't needed */
|
||||
#define DEBOUNCE 5
|
47
keyboards/maple_computing/lets_split_eh/eh/config.h
Normal file
47
keyboards/maple_computing/lets_split_eh/eh/config.h
Normal file
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
Copyright 2015 Jack Humbert
|
||||
|
||||
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"
|
||||
|
||||
/* Let's Split EH? pin-out */
|
||||
#define MATRIX_ROW_PINS { B1, B3, D7, B4 }
|
||||
#define MATRIX_COL_PINS { F4, F5, C6, B6, B5, D5 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_PIN B7
|
||||
|
||||
/* number of backlight levels */
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN B2
|
||||
#define RGBLED_NUM 12 // Number of LEDs (each hand)
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
|
||||
/* Split Defines */
|
||||
#define SPLIT_HAND_PIN D3
|
||||
#define SOFT_SERIAL_PIN D0
|
||||
|
||||
// The 'EH' has previously forced use of I2C so this default has been kept
|
||||
// however users can undef to use serial
|
||||
#define USE_I2C
|
1
keyboards/maple_computing/lets_split_eh/eh/eh.c
Normal file
1
keyboards/maple_computing/lets_split_eh/eh/eh.c
Normal file
|
@ -0,0 +1 @@
|
|||
#include "lets_split_eh.h"
|
24
keyboards/maple_computing/lets_split_eh/eh/eh.h
Normal file
24
keyboards/maple_computing/lets_split_eh/eh/eh.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
#pragma once
|
||||
|
||||
#include "lets_split_eh.h"
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
|
||||
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
|
||||
L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \
|
||||
L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \
|
||||
) \
|
||||
{ \
|
||||
{ L00, L01, L02, L03, L04, L05 }, \
|
||||
{ L10, L11, L12, L13, L14, L15 }, \
|
||||
{ L20, L21, L22, L23, L24, L25 }, \
|
||||
{ L30, L31, L32, L33, L34, L35 }, \
|
||||
{ R00, R01, R02, R03, R04, R05 }, \
|
||||
{ R10, R11, R12, R13, R14, R15 }, \
|
||||
{ R20, R21, R22, R23, R24, R25 }, \
|
||||
{ R30, R31, R32, R33, R34, R35 } \
|
||||
}
|
||||
|
||||
#define LAYOUT_ortho_4x12 LAYOUT
|
62
keyboards/maple_computing/lets_split_eh/eh/info.json
Normal file
62
keyboards/maple_computing/lets_split_eh/eh/info.json
Normal file
|
@ -0,0 +1,62 @@
|
|||
{
|
||||
"keyboard_name": "Let's Split",
|
||||
"url": "",
|
||||
"maintainer": "qmk",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0},
|
||||
{"x":1, "y":0},
|
||||
{"x":2, "y":0},
|
||||
{"x":3, "y":0},
|
||||
{"x":4, "y":0},
|
||||
{"x":5, "y":0},
|
||||
{"x":7, "y":0},
|
||||
{"x":8, "y":0},
|
||||
{"x":9, "y":0},
|
||||
{"x":10, "y":0},
|
||||
{"x":11, "y":0},
|
||||
{"x":12, "y":0},
|
||||
|
||||
{"x":0, "y":1},
|
||||
{"x":1, "y":1},
|
||||
{"x":2, "y":1},
|
||||
{"x":3, "y":1},
|
||||
{"x":4, "y":1},
|
||||
{"x":5, "y":1},
|
||||
{"x":7, "y":1},
|
||||
{"x":8, "y":1},
|
||||
{"x":9, "y":1},
|
||||
{"x":10, "y":1},
|
||||
{"x":11, "y":1},
|
||||
{"x":12, "y":1},
|
||||
|
||||
{"x":0, "y":2},
|
||||
{"x":1, "y":2},
|
||||
{"x":2, "y":2},
|
||||
{"x":3, "y":2},
|
||||
{"x":4, "y":2},
|
||||
{"x":5, "y":2},
|
||||
{"x":7, "y":2},
|
||||
{"x":8, "y":2},
|
||||
{"x":9, "y":2},
|
||||
{"x":10, "y":2},
|
||||
{"x":11, "y":2},
|
||||
{"x":12, "y":2},
|
||||
|
||||
{"x":0, "y":3},
|
||||
{"x":1, "y":3},
|
||||
{"x":2, "y":3},
|
||||
{"x":3, "y":3},
|
||||
{"x":4, "y":3},
|
||||
{"x":5, "y":3},
|
||||
{"x":7, "y":3},
|
||||
{"x":8, "y":3},
|
||||
{"x":9, "y":3},
|
||||
{"x":10, "y":3},
|
||||
{"x":11, "y":3},
|
||||
{"x":12, "y":3}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
5
keyboards/maple_computing/lets_split_eh/eh/rules.mk
Normal file
5
keyboards/maple_computing/lets_split_eh/eh/rules.mk
Normal file
|
@ -0,0 +1,5 @@
|
|||
BACKLIGHT_ENABLE = yes
|
||||
RGBLIGHT_ENABLE = yes
|
||||
|
||||
# Disable unsupported hardware
|
||||
AUDIO_SUPPORTED = no
|
|
@ -0,0 +1,7 @@
|
|||
# Lets Split Eh Layout
|
||||
|
||||
Check out [user readme](../../../../users/bbaserdem/README.md) for more info.
|
||||
|
||||
# Usage
|
||||
|
||||
Fill in after flashing
|
4
keyboards/maple_computing/lets_split_eh/keymaps/bbaserdem/config.h
Executable file
4
keyboards/maple_computing/lets_split_eh/keymaps/bbaserdem/config.h
Executable file
|
@ -0,0 +1,4 @@
|
|||
#ifndef CONFIG_KEYMAP_H
|
||||
#define CONFIG_KEYMAP_H
|
||||
#include "../../config.h"
|
||||
#endif
|
27
keyboards/maple_computing/lets_split_eh/keymaps/bbaserdem/keymap.c
Executable file
27
keyboards/maple_computing/lets_split_eh/keymaps/bbaserdem/keymap.c
Executable file
|
@ -0,0 +1,27 @@
|
|||
#include "lets_split_eh.h"
|
||||
#include "bbaserdem.h"
|
||||
|
||||
|
||||
void matrix_init_keymap (void) {
|
||||
}
|
||||
|
||||
uint32_t layer_state_set_keymap(uint32_t state) {
|
||||
return state;
|
||||
}
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
// Main Dvorak layer
|
||||
[_DV] = LAYOUT_letssplit_wrapper(DVORAK),
|
||||
// Turkish and special character overlay
|
||||
[_AL] = LAYOUT_letssplit_wrapper(ALTCHAR),
|
||||
// Gaming layer
|
||||
[_GA] = LAYOUT_letssplit_wrapper(GAME),
|
||||
// Numbers layer
|
||||
[_NU] = LAYOUT_letssplit_wrapper(NUMBERS),
|
||||
// Settings layer
|
||||
[_SE] = LAYOUT_letssplit_wrapper(SETTINGS),
|
||||
// Mouse emulation layer
|
||||
[_MO] = LAYOUT_letssplit_wrapper(MOUSE),
|
||||
// Music layer
|
||||
[_MU] = LAYOUT_letssplit_wrapper(MUSIC),
|
||||
};
|
8
keyboards/maple_computing/lets_split_eh/keymaps/bbaserdem/rules.mk
Executable file
8
keyboards/maple_computing/lets_split_eh/keymaps/bbaserdem/rules.mk
Executable file
|
@ -0,0 +1,8 @@
|
|||
# Build options
|
||||
|
||||
BACKLIGHT_ENABLE = no # Switch LEDs
|
||||
MOUSEKEY_ENABLE = yes # Emulates mouse key using keypresses
|
||||
RGBLIGHT_ENABLE = yes # LED strips
|
||||
TAP_DANCE_ENABLE = no # Use multi-tap features
|
||||
AUDIO_ENABLE = no # Audio stuff
|
||||
|
120
keyboards/maple_computing/lets_split_eh/keymaps/default/keymap.c
Normal file
120
keyboards/maple_computing/lets_split_eh/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,120 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
enum layers {
|
||||
_QWERTY,
|
||||
_LOWER,
|
||||
_RAISE,
|
||||
_FUNCTION,
|
||||
_ADJUST,
|
||||
};
|
||||
|
||||
#define LOWER MO(_LOWER)
|
||||
#define RAISE MO(_RAISE)
|
||||
#define FUNCTION MO(_FUNCTION)
|
||||
#define ADJUST MO(_ADJUST)
|
||||
|
||||
// Defines for task manager and such
|
||||
#define CALTDEL LCTL(LALT(KC_DEL))
|
||||
#define TSKMGR LCTL(LSFT(KC_ESC))
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Qwerty
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Func | A | S | D | F | G | H | J | K | L | ; | Enter|
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Shift| Z | X | C | V | B | N | M | , | . | / | ' |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Ctrl | ` | GUI | Alt |Lower | Space |Raise | Left | Down | Up |Right |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_QWERTY] = LAYOUT(
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
FUNCTION, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||
OSM(MOD_LSFT), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
|
||||
KC_LCTL, KC_GRV, KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||
),
|
||||
|
||||
/* Lower
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Esc | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } |Enter |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | | F7 | F8 | F9 | F10 | F11 | F12 | | | Mute | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | |Lower | Bksp | Bksp |Raise | Next | Vol- | Vol+ | Play |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_LOWER] = LAYOUT(
|
||||
KC_ESC, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL,
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, _______,
|
||||
_______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_MUTE, _______, KC_PIPE,
|
||||
_______, _______, _______, _______, _______, KC_BSPC, KC_BSPC, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
|
||||
),
|
||||
|
||||
/* Raise
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | 4 | 5 | 6 | + | F5 | F6 | - | = | [ | ] |Enter |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* |Enter | 7 | 8 | 9 | - | F11 | F12 |ISO # |ISO / | Mute | | \ |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | , | 0 | . |Lower | Bksp | Bksp |Raise | Next | Vol- | Vol+ | Play |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_RAISE] = LAYOUT(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
|
||||
_______, KC_4, KC_5, KC_6, KC_PLUS, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______,
|
||||
KC_ENT, KC_7, KC_8, KC_9, KC_MINS, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_MUTE, _______, KC_BSLS,
|
||||
_______, KC_COMM, KC_0, KC_DOT, _______, KC_BSPC, KC_BSPC, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
|
||||
),
|
||||
|
||||
/* Adjust (Lower + Raise)
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* |Taskmg| | | | | | |RGBMOD|RGBVAI|RGBSAI|RGBHUI|caltde|
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | | | | | |RGBRMO|RGBVAD|RGBSAD|RGBHUD|RGBTOG|
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | |BLSTEP|
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | | RESET|
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_ADJUST] = LAYOUT(
|
||||
TSKMGR, _______, _______, _______, _______, _______, _______, RGB_MOD, RGB_VAI, RGB_SAI, RGB_HUI, CALTDEL,
|
||||
_______, _______, _______, _______, _______, _______, _______, RGB_RMOD,RGB_VAD, RGB_SAD, RGB_HUD, RGB_TOG,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_STEP,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET
|
||||
),
|
||||
|
||||
/* Function
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | Up | | | |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | | | | | | Left | Down |Right | | |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Caps | | | | | | | | | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_FUNCTION] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______,
|
||||
KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
|
||||
};
|
||||
|
||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
This is the c configuration file for the keymap
|
||||
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
Copyright 2015 Jack Humbert
|
||||
|
||||
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
|
|
@ -0,0 +1,159 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _DVORAK 0
|
||||
|
||||
#define _LOWER 3
|
||||
#define _RAISE 4
|
||||
#define _FUNCTION 15
|
||||
#define _ADJUST 16
|
||||
|
||||
enum custom_keycodes {
|
||||
DVORAK = SAFE_RANGE,
|
||||
LOWER,
|
||||
RAISE,
|
||||
ADJUST
|
||||
};
|
||||
|
||||
// Defines for task manager and such
|
||||
#define CALTDEL LCTL(LALT(KC_DEL))
|
||||
#define TSKMGR LCTL(LSFT(KC_ESC))
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Dvorak
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | ' | , | . | P | Y | Tab | Bksp | F | G | C | R | L |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | A | O | E | U | I | Enter| Enter| D | H | T | N | S |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | ; | Q | J | K | X | Shift| Shift| B | M | W | V | Z |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Ctrl | GUI | Alt | Shift|Space |Lower |Raise |Space | Left | Down | Up |Right |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_DVORAK] = LAYOUT( \
|
||||
KC_QUOTE, KC_COMMA, KC_DOT, KC_P, KC_Y, KC_TAB, KC_BSPC, KC_F, KC_G, KC_C, KC_R, KC_L, \
|
||||
KC_A, KC_O, KC_E, KC_U, KC_I, KC_ENT, KC_ENT, KC_D, KC_H, KC_T, KC_N, KC_S, \
|
||||
KC_SCOLON, KC_Q, KC_J, KC_K, KC_X, OSM(MOD_LSFT), OSM(MOD_RSFT), KC_B, KC_M, KC_W, KC_V, KC_Z, \
|
||||
KC_LCTL, KC_LGUI, KC_LALT, OSM(MOD_LSFT), KC_SPC, LOWER, RAISE, KC_SPC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT \
|
||||
),
|
||||
|
||||
/*[BASE] = LAYOUT(
|
||||
* KC_QUOTE, KC_COMMA, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L,
|
||||
* KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S,
|
||||
* KC_SCOLON, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z,
|
||||
* OSM(MOD_LSFT), OSM(MOD_LCTL), MO(KEYSEL), MO(BROWSER_CONTROL), MO(COMBINED), MO(KEYNAV), KC_ENTER, KC_SPACE, KC_BSPC, RCTL(KC_BSPC), KC_CAPSLOCK, OSM(MOD_LSFT)
|
||||
* ),
|
||||
*KC_GRV,
|
||||
*/
|
||||
/* Lower
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Esc | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } |Enter |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | | F7 | F8 | F9 | F10 | F11 | F12 | | | Mute | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | |Lower | Bksp | Bksp |Raise | Next | Vol- | Vol+ | Play |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_LOWER] = LAYOUT( \
|
||||
KC_ESC, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, \
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, _______, \
|
||||
_______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_MUTE, _______, KC_PIPE, \
|
||||
_______, _______, _______, _______, KC_BSPC, _______, _______, KC_BSPC, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY \
|
||||
),
|
||||
|
||||
/* Raise
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | 4 | 5 | 6 | + | F5 | F6 | - | = | [ | ] |Enter |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* |Enter | 7 | 8 | 9 | - | F11 | F12 |ISO # |ISO / | Mute | | \ |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | , | 0 | . |Lower | Bksp | Bksp |Raise | Next | Vol- | Vol+ | Play |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_RAISE] = LAYOUT( \
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \
|
||||
_______, KC_4, KC_5, KC_6, KC_PLUS, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______, \
|
||||
KC_ENT, KC_7, KC_8, KC_9, KC_MINS, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_MUTE, _______, KC_BSLS, \
|
||||
_______, KC_COMM, KC_0, KC_DOT, _______, KC_BSPC, KC_BSPC, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY \
|
||||
),
|
||||
|
||||
/* Adjust (Lower + Raise)
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* |Taskmg| | | | | | | |RGBVAI|RGBSAI|RGBHUI|caltde|
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | | | | | |Qwerty|RGBVAD|RGBSAD|RGBHUD|RGBTOG|
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | |BLSTEP|
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | | RESET|
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_ADJUST] = LAYOUT( \
|
||||
TSKMGR, _______, _______, _______, _______, _______, KC_DEL, _______, RGB_VAI, RGB_SAI, RGB_HUI, CALTDEL, \
|
||||
_______, _______, _______, _______, _______, _______, _______, DVORAK, RGB_VAD, RGB_SAD, RGB_HUD, RGB_TOG, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_STEP, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET \
|
||||
),
|
||||
|
||||
/* Function
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | Up | | | |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | | | | | | Left | Down |Right | | |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Caps | | | | | | | | | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_FUNCTION] = LAYOUT( \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, \
|
||||
KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
|
||||
)
|
||||
|
||||
};
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case LOWER:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_LOWER);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
} else {
|
||||
layer_off(_LOWER);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case RAISE:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_RAISE);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
} else {
|
||||
layer_off(_RAISE);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case ADJUST:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_ADJUST);
|
||||
} else {
|
||||
layer_off(_ADJUST);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
This is the c configuration file for the keymap
|
||||
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
Copyright 2015 Jack Humbert
|
||||
|
||||
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
|
||||
|
||||
// place overrides here
|
|
@ -0,0 +1,120 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
enum layers {
|
||||
_QWERTY,
|
||||
_LOWER,
|
||||
_RAISE,
|
||||
_FUNCTION,
|
||||
_ADJUST,
|
||||
};
|
||||
|
||||
#define LOWER MO(_LOWER)
|
||||
#define RAISE MO(_RAISE)
|
||||
#define FUNCTION MO(_FUNCTION)
|
||||
#define ADJUST MO(_ADJUST)
|
||||
|
||||
// Defines for task manager and such
|
||||
#define CALTDEL LCTL(LALT(KC_DEL))
|
||||
#define TSKMGR LCTL(LSFT(KC_ESC))
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Qwerty
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Tab | A | S | D | F | G | H | J | K | L | ; | " |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Shift| Z | X | C | V | B | N | M | , | . | / |Enter |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_QWERTY] = LAYOUT( \
|
||||
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT ,
|
||||
_______, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||
),
|
||||
|
||||
/* Lower
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | | F7 | F8 | F9 | F10 | F11 | F12 | | | Home | End | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | Next | Vol- | Vol+ | Play |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_LOWER] = LAYOUT( \
|
||||
KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC,
|
||||
KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
|
||||
_______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_HOME, KC_END, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
|
||||
),
|
||||
|
||||
/* Raise
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | | F7 | F8 | F9 | F10 | F11 | F12 | | |Pg Up |Pg Dn | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | Next | Vol- | Vol+ | Play |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_RAISE] = LAYOUT( \
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
|
||||
KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
|
||||
_______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_PGUP, KC_PGDN, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
|
||||
),
|
||||
|
||||
/* Adjust (Lower + Raise)
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | RESET| | | | | | |RGBMOD|RGBVAI|RGBSAI|RGBHUI|caltde|
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | | | | | |RGBRMO|RGBVAD|RGBSAD|RGBHUD|RGBTOG|
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | |BLSTEP|
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | | |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_ADJUST] = LAYOUT( \
|
||||
RESET, _______, _______, _______, _______, _______, _______, RGB_MOD, RGB_VAI, RGB_SAI, RGB_HUI, CALTDEL, \
|
||||
_______, _______, _______, _______, _______, _______, _______, RGB_RMOD,RGB_VAD, RGB_SAD, RGB_HUD, RGB_TOG, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_STEP, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
|
||||
),
|
||||
|
||||
/* Function
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | Up | | | |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | | | | | | Left | Down |Right | | |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Caps | | | | | | | | | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_FUNCTION] = LAYOUT( \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, \
|
||||
KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
|
||||
)
|
||||
|
||||
};
|
||||
|
||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue