Merge remote-tracking branch 'qmk/master' into merge-2024-04-15
This commit is contained in:
commit
17e46fcec7
8919 changed files with 113667 additions and 418236 deletions
|
|
@ -1,224 +0,0 @@
|
|||
/* 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
|
||||
|
||||
// Set the custom keymap
|
||||
#undef LAYOUT
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \
|
||||
k30, k31, k32, k33, k34, k35, k39, k3a, k3b \
|
||||
) { \
|
||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b}, \
|
||||
{k30, k31, k32, k33, k34, k35, XXX, XXX, XXX, k39, k3a, k3b} \
|
||||
}
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
||||
enum custom_layers {
|
||||
_QWERTY,
|
||||
_COLEMAK,
|
||||
_DVORAK,
|
||||
_LOWER,
|
||||
_RAISE,
|
||||
_ADJUST
|
||||
};
|
||||
|
||||
enum custom_keycodes {
|
||||
QWERTY = SAFE_RANGE,
|
||||
COLEMAK,
|
||||
DVORAK,
|
||||
LOWER,
|
||||
RAISE,
|
||||
BACKLIT,
|
||||
EXT_PLV
|
||||
};
|
||||
|
||||
#define CTL_ESC CTL_T(KC_ESC) // Tap for Escape, hold for Control
|
||||
#define HPR_TAB ALL_T(KC_TAB) // Tap for Tab, hold for Hyper (Super+Ctrl+Alt+Shift)
|
||||
#define MEH_GRV MEH_T(KC_GRV) // Tap for Backtick, hold for Meh (Ctrl+Alt+Shift)
|
||||
#define SFT_BSP SFT_T(KC_BSPC) // Tap for Backspace, hold for Shift
|
||||
#define SFT_ENT SFT_T(KC_ENT) // Tap for Enter, hold for Shift
|
||||
#define SFT_SPC SFT_T(KC_SPC) // Tap for Space, hold for Shift
|
||||
#define UMLAUT RALT(KC_U) // Combine Alt and U
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Qwerty
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Esc | A | S | D | F | G | H | J | K | L | ; | " |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Shift| Z | X | C | V | B | N | M | , | . | / |Enter |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Ctrl | Meh | Alt | GUI | Lower and Space | Raise | GUI |AltGr | Ctrl |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_QWERTY] = LAYOUT(
|
||||
HPR_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
CTL_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||
SFT_BSP, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SFT_ENT,
|
||||
KC_LCTL, MEH_GRV, KC_LALT, KC_LGUI, LT(_LOWER, KC_SPC), RAISE, KC_RGUI, KC_RALT, KC_RCTL
|
||||
),
|
||||
|
||||
/* Colemak
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Tab | Q | W | F | P | G | J | L | U | Y | ; | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Esc | A | R | S | T | D | H | N | E | I | O | " |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Shift| Z | X | C | V | B | K | M | , | . | / |Enter |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Ctrl | Meh | Alt | GUI | Lower and Space | Raise | GUI |AltGr | Ctrl |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_COLEMAK] = LAYOUT(
|
||||
HPR_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC,
|
||||
CTL_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT,
|
||||
SFT_BSP, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, SFT_ENT,
|
||||
KC_LCTL, MEH_GRV, KC_LALT, KC_LGUI, LT(_LOWER, KC_SPC), RAISE, KC_RGUI, KC_RALT, KC_RCTL
|
||||
),
|
||||
|
||||
/* Dvorak
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Tab | " | , | . | P | Y | F | G | C | R | L | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Esc | A | O | E | U | I | D | H | T | N | S | / |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Shift| ; | Q | J | K | X | B | M | W | V | Z |Enter |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Ctrl | Meh | Alt | GUI | Lower and Space | Raise | GUI |AltGr | Ctrl |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_DVORAK] = LAYOUT(
|
||||
HPR_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC,
|
||||
CTL_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH,
|
||||
SFT_BSP, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, SFT_ENT,
|
||||
KC_LCTL, MEH_GRV, KC_LALT, KC_LGUI, LT(_LOWER, KC_SPC), RAISE, KC_RGUI, KC_RALT, KC_RCTL
|
||||
),
|
||||
|
||||
/* Lower
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | | F7 | F8 | F9 | F10 | F11 | F12 | MS L | MS D |MS U | MS R |MS Btn|
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | 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_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_BTN1,
|
||||
_______, _______, _______, _______, _______, _______, 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 | Left | Down | Up | Rght |MS_BN2|
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | 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_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_BTN2,
|
||||
_______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MPLY
|
||||
),
|
||||
|
||||
/* Adjust (Lower + Raise)
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | | Reset| | | | | | | | | Reset| Del |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | |Aud on|Audoff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | |Voice-|Voice+|Mus on|Musoff|MIDIon|MIDIof| | | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_ADJUST] = LAYOUT(
|
||||
_______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, KC_DEL,
|
||||
_______, _______, MU_NEXT, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______,
|
||||
_______, AU_PREV, AU_NEXT, MU_ON, MU_OFF, MI_ON, MI_OFF, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
};
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case QWERTY:
|
||||
if (record->event.pressed) {
|
||||
set_single_persistent_default_layer(_QWERTY);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case COLEMAK:
|
||||
if (record->event.pressed) {
|
||||
set_single_persistent_default_layer(_COLEMAK);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case DVORAK:
|
||||
if (record->event.pressed) {
|
||||
set_single_persistent_default_layer(_DVORAK);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
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 BACKLIT:
|
||||
if (record->event.pressed) {
|
||||
register_code(KC_RSFT);
|
||||
#ifdef BACKLIGHT_ENABLE
|
||||
backlight_step();
|
||||
#endif
|
||||
} else {
|
||||
unregister_code(KC_RSFT);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
# Build Options
|
||||
# change to "no" to disable the options, or define them in the Makefile in
|
||||
# the appropriate keymap folder that will get included automatically
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE = no # Console for debug(+400)
|
||||
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
MIDI_ENABLE = no # MIDI controls
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
UNICODE_ENABLE = no # Unicode
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
||||
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
|
|
@ -1 +0,0 @@
|
|||
#define PERMISSIVE_HOLD
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
// Default Layer
|
||||
[0] = LAYOUT(
|
||||
QK_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
LT(2, KC_TAB), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, LT(2, KC_ENT),
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, MT(MOD_RSFT, KC_SLSH),
|
||||
KC_LCTL, KC_LGUI, KC_LALT, LT(1, KC_SPC), LT(1, KC_SPC), KC_RALT, MO(3), KC_RCTL
|
||||
),
|
||||
|
||||
// Number Layer
|
||||
[1] = LAYOUT(
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
|
||||
KC_TRNS, KC_MINS, KC_EQL, KC_SCLN, KC_QUOT, KC_TRNS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, MT(MOD_RSFT, KC_BSLS),
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
|
||||
// Shifted Layer
|
||||
[2] = LAYOUT(
|
||||
KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL,
|
||||
KC_TRNS, KC_UNDS, KC_PLUS, KC_COLN, KC_DQUO, KC_TRNS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LCBR, KC_RCBR, KC_PIPE,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
|
||||
// Fkey Layer
|
||||
[3] = LAYOUT(
|
||||
KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, QK_BOOT,
|
||||
KC_TRNS, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, TG(4), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
|
||||
// Gaming Layer
|
||||
[4] = LAYOUT(
|
||||
KC_ESC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_WH_U, KC_BTN1, KC_MS_U, KC_BTN2, KC_TRNS, KC_TRNS,
|
||||
KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_WH_D, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
};
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
Jetpacktuxedo's AMJ40 layout
|
||||
=====================
|
||||
|
||||
This is based heavily on my minivan layout, with most difference stemming from the different widths between the minivan and the AMJ40. 
|
||||
|
||||
## Base Layer (0)
|
||||
|
||||
The base layer is pretty simple, straight qwerty layout where available. Both spacebars go to layer 1 when held. `tab` is `tab` when pressed and `fn2` when held, `enter` is the same. `GESC` is `esc` when used alone, but `~` when shifted. `/` is `/` when tapped but `rshift` when held.
|
||||
```
|
||||
|GESC| Q | W | E | R | T | Y | U | I | O | P |BSPC|
|
||||
| TAB | A | S | D | F | G | H | J | K | L | ENTER |
|
||||
|LSHIFT | Z | X | C | V | B | N | M | , | . | / |
|
||||
|LCTRL|LWIN|LALT | SPACE | SPACE |RALT |FN 3|RCTRL |
|
||||
```
|
||||
|
||||
## Number Layer (1)
|
||||
|
||||
Numbers are set up just like on my minivan layout, but symbols are a bit different because the AMJ40 is one key narrower than the minivan and also lacks dedicated arrows. Decided to go with `hjkl` arrows, which takes some getting used to. `;` is on a layer now because of the narrowness I mentioned before, and it (along with `-`, `=`, and `'`) moves to the right hand to leave room for the `hjkl` arrows. `delete` on `backspace`, `[` and `]` on `<` and `>`, and `\` on `/` are all stolen straight from my minivan layout.
|
||||
```
|
||||
| ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 |DEL |
|
||||
| | - | = | ; | ' | | ← | ↓ | ↑ | → | |
|
||||
| | | | | | | | | [ | ] | \ |
|
||||
| | | | | | | | |
|
||||
```
|
||||
|
||||
## Shifted Layer (2)
|
||||
|
||||
I don't want to be using two key combos constantly, so I also added this symbol layer that is basically shift+numeric layer. Also has nav keys on top of where arrows sit on the previous layer
|
||||
```
|
||||
| ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) |DEL |
|
||||
| | _ | + | : | " | |HOME|PGDN|PGUP|END | |
|
||||
| | | | | | | | | { | } | | |
|
||||
| | | | | | | | |
|
||||
```
|
||||
|
||||
## Fkey Layer (3)
|
||||
|
||||
Honestly, I use this more for jumping to my gaming layer and for reset than I use it for Fkeys. Lol. Hitting the left windows key while in this layer locks the gaming layer listed below
|
||||
```
|
||||
| | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 |F10 |RSET|
|
||||
| |F11 |F12 | | | | | | | | |
|
||||
| | | | | | | | | | | |
|
||||
| |FN 4| | | | | | |
|
||||
```
|
||||
|
||||
## "Gaming" Layer (4)
|
||||
|
||||
Based on the "gaming" layer on my minivan that I mostly just use for mouse keys. To toggle this back off you hit the right windows key (to go to layer 3) and then the left windows key again.
|
||||
```
|
||||
|ESC | | | | | |MWUP|MLCK|M UP|MRCK| | |
|
||||
| TAB | | | | | |MWDN|M L |M DN|M R | |
|
||||
| | | | | | | | | | | |
|
||||
| | | | SPACE | | | | |
|
||||
```
|
||||
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
# Build Options
|
||||
# change to "no" to disable the options, or define them in the Makefile in
|
||||
# the appropriate keymap folder that will get included automatically
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # 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
|
||||
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
MIDI_ENABLE = no # MIDI controls
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
UNICODE_ENABLE = no # Unicode
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
|
||||
|
||||
# Do not enable SLEEP_LED_ENABLE. It uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
#include "../../config.h"
|
||||
|
||||
#define TAPPING_TERM 25
|
||||
#define RETRO_TAPPING
|
||||
#define PERMISSIVE_HOLD
|
||||
|
||||
|
||||
#endif
|
||||
|
|
@ -1,93 +0,0 @@
|
|||
|
||||
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Keymap myee
|
||||
// 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 _LOWER 1
|
||||
#define _RAISE 2
|
||||
#define _ADJUST 3
|
||||
|
||||
#define LOW_SPC LT(_LOWER, KC_SPC)
|
||||
#define RSE_SPC LT(_RAISE, KC_SPC)
|
||||
#define ADJ_TAB LT(ADJUST, KC_TAB)
|
||||
|
||||
enum custom_keycodes {
|
||||
QWERTY = SAFE_RANGE,
|
||||
LOWER,
|
||||
RAISE,
|
||||
ADJUST,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_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,
|
||||
ADJ_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
|
||||
KC_LCTL, KC_LGUI,KC_LALT, LOW_SPC, RSE_SPC, KC_RGUI,KC_RALT, KC_RCTL
|
||||
),
|
||||
|
||||
[_LOWER] = LAYOUT(
|
||||
KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_UP, KC_MINS, KC_EQL, KC_DEL,
|
||||
_______, _______, KC_ASTR, KC_LBRC, KC_RBRC, KC_QUOT, KC_DQUO, KC_LEFT, KC_DOWN, KC_RGHT, KC_BSLS,
|
||||
_______, _______, _______, KC_LPRN, KC_RPRN, KC_HOME, KC_PGUP, KC_PGDN, KC_END, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
[_RAISE] = LAYOUT(
|
||||
KC_GRV, KC_LPRN, KC_RPRN, KC_DQUO, KC_QUOT, KC_SCLN, KC_COLON,KC_UNDS, KC_PLUS, _______, _______, KC_BSPC,
|
||||
_______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
|
||||
_______, _______, _______, KC_LCBR, KC_RCBR, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, BL_UP, BL_DOWN
|
||||
),
|
||||
|
||||
[_ADJUST] = LAYOUT(
|
||||
_______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
KC_SYSTEM_SLEEP, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
};
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
AMJ40 Default Layout
|
||||
=====================
|
||||
|
||||
##Quantum MK Firmware
|
||||
For the full Quantum feature list, see the parent readme.md.
|
||||
|
||||
# Features
|
||||
* Based on a combination of the original AMJ40 keymap from the TMK firmware as well as the Planck Ortholinear keyboard's "Lower," "Raise," and "Adjust" layers.
|
||||
* View the keymap.c file to understand they layout of the keymap.
|
||||
* Has keys to toggle both the switch LEDs and underglow LEDs.
|
||||
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
# Build Options
|
||||
# change to "no" to disable the options, or define them in the Makefile in
|
||||
# the appropriate keymap folder that will get included automatically
|
||||
#
|
||||
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 = yes # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
MIDI_ENABLE = no # MIDI controls
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
UNICODE_ENABLE = no # Unicode
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
||||
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/bash
|
||||
git checkout amj60 # gets you on branch amj60
|
||||
git fetch origin # gets you up to date with origin
|
||||
git merge origin/master
|
||||
|
|
@ -130,6 +130,227 @@
|
|||
{"matrix": [0, 14], "x": 17, "y": 4},
|
||||
{"matrix": [0, 7], "x": 18, "y": 4},
|
||||
|
||||
{"matrix": [6, 0], "x": 0, "y": 5, "w": 1.25},
|
||||
{"matrix": [6, 1], "x": 1.25, "y": 5, "w": 1.25},
|
||||
{"matrix": [6, 2], "x": 2.5, "y": 5, "w": 1.25},
|
||||
{"matrix": [6, 3], "x": 3.75, "y": 5, "w": 6.25},
|
||||
{"matrix": [6, 4], "x": 10, "y": 5, "w": 1.5},
|
||||
{"matrix": [6, 5], "x": 11.5, "y": 5, "w": 1.5},
|
||||
{"matrix": [6, 6], "x": 13, "y": 5},
|
||||
{"matrix": [6, 8], "x": 14, "y": 5},
|
||||
{"matrix": [6, 9], "x": 15, "y": 5},
|
||||
{"matrix": [6, 10], "x": 16, "y": 5},
|
||||
{"matrix": [6, 11], "x": 17, "y": 5},
|
||||
{"matrix": [6, 12], "x": 18, "y": 5}
|
||||
]
|
||||
},
|
||||
"LAYOUT_96_ansi_rwkl_split_num_plus_enter": {
|
||||
"layout": [
|
||||
{"matrix": [1, 0], "x": 0, "y": 0},
|
||||
{"matrix": [1, 1], "x": 1, "y": 0},
|
||||
{"matrix": [1, 2], "x": 2, "y": 0},
|
||||
{"matrix": [1, 3], "x": 3, "y": 0},
|
||||
{"matrix": [1, 4], "x": 4, "y": 0},
|
||||
{"matrix": [1, 5], "x": 5, "y": 0},
|
||||
{"matrix": [1, 6], "x": 6, "y": 0},
|
||||
{"matrix": [1, 7], "x": 7, "y": 0},
|
||||
{"matrix": [1, 8], "x": 8, "y": 0},
|
||||
{"matrix": [1, 9], "x": 9, "y": 0},
|
||||
{"matrix": [1, 10], "x": 10, "y": 0},
|
||||
{"matrix": [1, 11], "x": 11, "y": 0},
|
||||
{"matrix": [1, 12], "x": 12, "y": 0},
|
||||
{"matrix": [1, 13], "x": 13, "y": 0},
|
||||
{"matrix": [1, 14], "x": 14, "y": 0},
|
||||
{"matrix": [1, 15], "x": 15, "y": 0},
|
||||
{"matrix": [0, 9], "x": 16, "y": 0},
|
||||
{"matrix": [0, 10], "x": 17, "y": 0},
|
||||
{"matrix": [0, 12], "x": 18, "y": 0},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 1},
|
||||
{"matrix": [2, 1], "x": 1, "y": 1},
|
||||
{"matrix": [2, 2], "x": 2, "y": 1},
|
||||
{"matrix": [2, 3], "x": 3, "y": 1},
|
||||
{"matrix": [2, 4], "x": 4, "y": 1},
|
||||
{"matrix": [2, 5], "x": 5, "y": 1},
|
||||
{"matrix": [2, 6], "x": 6, "y": 1},
|
||||
{"matrix": [2, 7], "x": 7, "y": 1},
|
||||
{"matrix": [2, 8], "x": 8, "y": 1},
|
||||
{"matrix": [2, 9], "x": 9, "y": 1},
|
||||
{"matrix": [2, 10], "x": 10, "y": 1},
|
||||
{"matrix": [2, 11], "x": 11, "y": 1},
|
||||
{"matrix": [2, 12], "x": 12, "y": 1},
|
||||
{"matrix": [2, 13], "x": 13, "y": 1, "w": 2},
|
||||
{"matrix": [2, 15], "x": 15, "y": 1},
|
||||
{"matrix": [0, 11], "x": 16, "y": 1},
|
||||
{"matrix": [0, 15], "x": 17, "y": 1},
|
||||
{"matrix": [6, 15], "x": 18, "y": 1},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 2, "w": 1.5},
|
||||
{"matrix": [3, 1], "x": 1.5, "y": 2},
|
||||
{"matrix": [3, 2], "x": 2.5, "y": 2},
|
||||
{"matrix": [3, 3], "x": 3.5, "y": 2},
|
||||
{"matrix": [3, 4], "x": 4.5, "y": 2},
|
||||
{"matrix": [3, 5], "x": 5.5, "y": 2},
|
||||
{"matrix": [3, 6], "x": 6.5, "y": 2},
|
||||
{"matrix": [3, 7], "x": 7.5, "y": 2},
|
||||
{"matrix": [3, 8], "x": 8.5, "y": 2},
|
||||
{"matrix": [3, 9], "x": 9.5, "y": 2},
|
||||
{"matrix": [3, 10], "x": 10.5, "y": 2},
|
||||
{"matrix": [3, 11], "x": 11.5, "y": 2},
|
||||
{"matrix": [3, 12], "x": 12.5, "y": 2},
|
||||
{"matrix": [3, 13], "x": 13.5, "y": 2, "w": 1.5},
|
||||
{"matrix": [3, 14], "x": 15, "y": 2},
|
||||
{"matrix": [3, 15], "x": 16, "y": 2},
|
||||
{"matrix": [0, 13], "x": 17, "y": 2},
|
||||
{"matrix": [6, 13], "x": 18, "y": 2},
|
||||
|
||||
{"matrix": [4, 0], "x": 0, "y": 3, "w": 1.75},
|
||||
{"matrix": [4, 1], "x": 1.75, "y": 3},
|
||||
{"matrix": [4, 2], "x": 2.75, "y": 3},
|
||||
{"matrix": [4, 3], "x": 3.75, "y": 3},
|
||||
{"matrix": [4, 4], "x": 4.75, "y": 3},
|
||||
{"matrix": [4, 5], "x": 5.75, "y": 3},
|
||||
{"matrix": [4, 6], "x": 6.75, "y": 3},
|
||||
{"matrix": [4, 7], "x": 7.75, "y": 3},
|
||||
{"matrix": [4, 8], "x": 8.75, "y": 3},
|
||||
{"matrix": [4, 9], "x": 9.75, "y": 3},
|
||||
{"matrix": [4, 10], "x": 10.75, "y": 3},
|
||||
{"matrix": [4, 11], "x": 11.75, "y": 3},
|
||||
{"matrix": [4, 12], "x": 12.75, "y": 3, "w": 2.25},
|
||||
{"matrix": [4, 13], "x": 15, "y": 3},
|
||||
{"matrix": [4, 14], "x": 16, "y": 3},
|
||||
{"matrix": [4, 15], "x": 17, "y": 3},
|
||||
{"matrix": [6, 14], "x": 18, "y": 3},
|
||||
|
||||
{"matrix": [5, 0], "x": 0, "y": 4, "w": 2.25},
|
||||
{"matrix": [5, 2], "x": 2.25, "y": 4},
|
||||
{"matrix": [5, 3], "x": 3.25, "y": 4},
|
||||
{"matrix": [5, 4], "x": 4.25, "y": 4},
|
||||
{"matrix": [5, 5], "x": 5.25, "y": 4},
|
||||
{"matrix": [5, 6], "x": 6.25, "y": 4},
|
||||
{"matrix": [5, 7], "x": 7.25, "y": 4},
|
||||
{"matrix": [5, 8], "x": 8.25, "y": 4},
|
||||
{"matrix": [5, 9], "x": 9.25, "y": 4},
|
||||
{"matrix": [5, 10], "x": 10.25, "y": 4},
|
||||
{"matrix": [5, 11], "x": 11.25, "y": 4},
|
||||
{"matrix": [5, 12], "x": 12.25, "y": 4, "w": 1.75},
|
||||
{"matrix": [5, 13], "x": 14, "y": 4},
|
||||
{"matrix": [5, 14], "x": 15, "y": 4},
|
||||
{"matrix": [5, 15], "x": 16, "y": 4},
|
||||
{"matrix": [0, 14], "x": 17, "y": 4},
|
||||
{"matrix": [0, 7], "x": 18, "y": 4},
|
||||
|
||||
{"matrix": [6, 0], "x": 0, "y": 5, "w": 1.25},
|
||||
{"matrix": [6, 1], "x": 1.25, "y": 5, "w": 1.25},
|
||||
{"matrix": [6, 2], "x": 2.5, "y": 5, "w": 1.25},
|
||||
{"matrix": [6, 3], "x": 3.75, "y": 5, "w": 6.25},
|
||||
{"matrix": [6, 4], "x": 10, "y": 5, "w": 1.5},
|
||||
{"matrix": [6, 5], "x": 11.5, "y": 5, "w": 1.5},
|
||||
{"matrix": [6, 6], "x": 13, "y": 5},
|
||||
{"matrix": [6, 8], "x": 14, "y": 5},
|
||||
{"matrix": [6, 9], "x": 15, "y": 5},
|
||||
{"matrix": [6, 10], "x": 16, "y": 5},
|
||||
{"matrix": [6, 11], "x": 17, "y": 5},
|
||||
{"matrix": [6, 12], "x": 18, "y": 5}
|
||||
]
|
||||
},
|
||||
"LAYOUT_96_ansi_rwkl_split_bs_num_plus_enter": {
|
||||
"layout": [
|
||||
{"matrix": [1, 0], "x": 0, "y": 0},
|
||||
{"matrix": [1, 1], "x": 1, "y": 0},
|
||||
{"matrix": [1, 2], "x": 2, "y": 0},
|
||||
{"matrix": [1, 3], "x": 3, "y": 0},
|
||||
{"matrix": [1, 4], "x": 4, "y": 0},
|
||||
{"matrix": [1, 5], "x": 5, "y": 0},
|
||||
{"matrix": [1, 6], "x": 6, "y": 0},
|
||||
{"matrix": [1, 7], "x": 7, "y": 0},
|
||||
{"matrix": [1, 8], "x": 8, "y": 0},
|
||||
{"matrix": [1, 9], "x": 9, "y": 0},
|
||||
{"matrix": [1, 10], "x": 10, "y": 0},
|
||||
{"matrix": [1, 11], "x": 11, "y": 0},
|
||||
{"matrix": [1, 12], "x": 12, "y": 0},
|
||||
{"matrix": [1, 13], "x": 13, "y": 0},
|
||||
{"matrix": [1, 14], "x": 14, "y": 0},
|
||||
{"matrix": [1, 15], "x": 15, "y": 0},
|
||||
{"matrix": [0, 9], "x": 16, "y": 0},
|
||||
{"matrix": [0, 10], "x": 17, "y": 0},
|
||||
{"matrix": [0, 12], "x": 18, "y": 0},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 1},
|
||||
{"matrix": [2, 1], "x": 1, "y": 1},
|
||||
{"matrix": [2, 2], "x": 2, "y": 1},
|
||||
{"matrix": [2, 3], "x": 3, "y": 1},
|
||||
{"matrix": [2, 4], "x": 4, "y": 1},
|
||||
{"matrix": [2, 5], "x": 5, "y": 1},
|
||||
{"matrix": [2, 6], "x": 6, "y": 1},
|
||||
{"matrix": [2, 7], "x": 7, "y": 1},
|
||||
{"matrix": [2, 8], "x": 8, "y": 1},
|
||||
{"matrix": [2, 9], "x": 9, "y": 1},
|
||||
{"matrix": [2, 10], "x": 10, "y": 1},
|
||||
{"matrix": [2, 11], "x": 11, "y": 1},
|
||||
{"matrix": [2, 12], "x": 12, "y": 1},
|
||||
{"matrix": [2, 13], "x": 13, "y": 1},
|
||||
{"matrix": [2, 14], "x": 14, "y": 1},
|
||||
{"matrix": [2, 15], "x": 15, "y": 1},
|
||||
{"matrix": [0, 11], "x": 16, "y": 1},
|
||||
{"matrix": [0, 15], "x": 17, "y": 1},
|
||||
{"matrix": [6, 15], "x": 18, "y": 1},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 2, "w": 1.5},
|
||||
{"matrix": [3, 1], "x": 1.5, "y": 2},
|
||||
{"matrix": [3, 2], "x": 2.5, "y": 2},
|
||||
{"matrix": [3, 3], "x": 3.5, "y": 2},
|
||||
{"matrix": [3, 4], "x": 4.5, "y": 2},
|
||||
{"matrix": [3, 5], "x": 5.5, "y": 2},
|
||||
{"matrix": [3, 6], "x": 6.5, "y": 2},
|
||||
{"matrix": [3, 7], "x": 7.5, "y": 2},
|
||||
{"matrix": [3, 8], "x": 8.5, "y": 2},
|
||||
{"matrix": [3, 9], "x": 9.5, "y": 2},
|
||||
{"matrix": [3, 10], "x": 10.5, "y": 2},
|
||||
{"matrix": [3, 11], "x": 11.5, "y": 2},
|
||||
{"matrix": [3, 12], "x": 12.5, "y": 2},
|
||||
{"matrix": [3, 13], "x": 13.5, "y": 2, "w": 1.5},
|
||||
{"matrix": [3, 14], "x": 15, "y": 2},
|
||||
{"matrix": [3, 15], "x": 16, "y": 2},
|
||||
{"matrix": [0, 13], "x": 17, "y": 2},
|
||||
{"matrix": [6, 13], "x": 18, "y": 2},
|
||||
|
||||
{"matrix": [4, 0], "x": 0, "y": 3, "w": 1.75},
|
||||
{"matrix": [4, 1], "x": 1.75, "y": 3},
|
||||
{"matrix": [4, 2], "x": 2.75, "y": 3},
|
||||
{"matrix": [4, 3], "x": 3.75, "y": 3},
|
||||
{"matrix": [4, 4], "x": 4.75, "y": 3},
|
||||
{"matrix": [4, 5], "x": 5.75, "y": 3},
|
||||
{"matrix": [4, 6], "x": 6.75, "y": 3},
|
||||
{"matrix": [4, 7], "x": 7.75, "y": 3},
|
||||
{"matrix": [4, 8], "x": 8.75, "y": 3},
|
||||
{"matrix": [4, 9], "x": 9.75, "y": 3},
|
||||
{"matrix": [4, 10], "x": 10.75, "y": 3},
|
||||
{"matrix": [4, 11], "x": 11.75, "y": 3},
|
||||
{"matrix": [4, 12], "x": 12.75, "y": 3, "w": 2.25},
|
||||
{"matrix": [4, 13], "x": 15, "y": 3},
|
||||
{"matrix": [4, 14], "x": 16, "y": 3},
|
||||
{"matrix": [4, 15], "x": 17, "y": 3},
|
||||
{"matrix": [6, 14], "x": 18, "y": 3},
|
||||
|
||||
{"matrix": [5, 0], "x": 0, "y": 4, "w": 2.25},
|
||||
{"matrix": [5, 2], "x": 2.25, "y": 4},
|
||||
{"matrix": [5, 3], "x": 3.25, "y": 4},
|
||||
{"matrix": [5, 4], "x": 4.25, "y": 4},
|
||||
{"matrix": [5, 5], "x": 5.25, "y": 4},
|
||||
{"matrix": [5, 6], "x": 6.25, "y": 4},
|
||||
{"matrix": [5, 7], "x": 7.25, "y": 4},
|
||||
{"matrix": [5, 8], "x": 8.25, "y": 4},
|
||||
{"matrix": [5, 9], "x": 9.25, "y": 4},
|
||||
{"matrix": [5, 10], "x": 10.25, "y": 4},
|
||||
{"matrix": [5, 11], "x": 11.25, "y": 4},
|
||||
{"matrix": [5, 12], "x": 12.25, "y": 4, "w": 1.75},
|
||||
{"matrix": [5, 13], "x": 14, "y": 4},
|
||||
{"matrix": [5, 14], "x": 15, "y": 4},
|
||||
{"matrix": [5, 15], "x": 16, "y": 4},
|
||||
{"matrix": [0, 14], "x": 17, "y": 4},
|
||||
{"matrix": [0, 7], "x": 18, "y": 4},
|
||||
|
||||
{"matrix": [6, 0], "x": 0, "y": 5, "w": 1.25},
|
||||
{"matrix": [6, 1], "x": 1.25, "y": 5, "w": 1.25},
|
||||
{"matrix": [6, 2], "x": 2.5, "y": 5, "w": 1.25},
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ uint8_t matrix_scan(void)
|
|||
if (matrix_debouncing[i] != cols) {
|
||||
matrix_debouncing[i] = cols;
|
||||
if (debouncing) {
|
||||
debug("bounce!: "); debug_hex(debouncing); debug("\n");
|
||||
dprintf("bounce!: %02X\n", debouncing);
|
||||
}
|
||||
debouncing = DEBOUNCE;
|
||||
}
|
||||
|
|
|
|||
25
keyboards/amjkeyboard/amj96/matrix_diagram.md
Normal file
25
keyboards/amjkeyboard/amj96/matrix_diagram.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Matrix Diagram for Han Chen AMJ96
|
||||
|
||||
There's a lot of options available on the PCB, including some on the
|
||||
bottom row, but I haven't ever found high quality images of a bare PCB
|
||||
with which to determine what's actually supported. :\\\
|
||||
\- @noroadsleft, 19 January, 2024
|
||||
|
||||
```
|
||||
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
|
||||
│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │1E │1F │09 │0A │0C │
|
||||
├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ ┌───────┐
|
||||
│20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2C │2D │2E │2F │0B │0F │6F │ │2D │ 2u Backspace
|
||||
├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┼───┼───┼───┤ └─┬─────┤ ┌─────┐ ┌───┐
|
||||
│30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │3E │3F │0D │6D │ │ │ │3D │ │ │
|
||||
├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┼───┼───┼───┤ ┌──┴┐?? │ ISO Enter ┌──┴┬────┤ Split Enter │?? │ 2u Numpad Plus
|
||||
│40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │4A │4B │4C │4D │4E │4F │6E │ │?? │ │ │?? │?? │ │ │
|
||||
├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┼───┼───┼───┤ ┌─┴───┴────┤ └───┴────┘ ├───┤
|
||||
│50 │51 │52 │53 │54 │55 │56 │57 │58 │59 │5A │5B │5C │5D │5E │5F │0E │07 │ │?? │ 2.75u │ │
|
||||
├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┴┬──┴──┬───┼───┼───┼───┼───┼───┤ └──────────┘ RShift │?? │ 2u Numpad Enter
|
||||
│60 │61 │62 │63 │64 │65 │66 │68 │69 │6A │6B │6C │ │ │
|
||||
└────┴────┴────┴────────────────────────┴─────┴─────┴───┴───┴───┴───┴───┴───┘ └───┘
|
||||
┌────────┐ ┌───────┐
|
||||
│50 │ 2.25u LShift │?? │ 2u Numpad Zero
|
||||
└────────┘ └───────┘
|
||||
```
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#include "rgblight.h"
|
||||
#endif
|
||||
|
||||
// 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 _BL 0
|
||||
#define _FL 1
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _BL: (Base Layer) Default Layer
|
||||
* ,-------------------.
|
||||
* |Esc |Setp| - | = |
|
||||
* |----|----|----|----|
|
||||
* | F1 | F2 | F3 | F4 |
|
||||
* |----|----|----|----|
|
||||
* | 7 | 8 | 9 | - |
|
||||
* |----|----|----|----|
|
||||
* | 4 | 5 | 6 | LF |
|
||||
* |----|----|----|----|
|
||||
* | 1 | 2 | 3 | \ |
|
||||
* |----|----|----|----|
|
||||
* |Left|Down| Up |Rght|
|
||||
* `-------------------'
|
||||
*/
|
||||
|
||||
[_BL] = LAYOUT_ortho_6x4(
|
||||
KC_ESC, KC_TAB, KC_MINS,KC_EQL,
|
||||
KC_F1, KC_F2, KC_F3, KC_F4,
|
||||
KC_P7, KC_P8, KC_P9, KC_PMNS,
|
||||
KC_P4, KC_P5, KC_P6, KC_PENT,
|
||||
KC_P1, KC_P2, KC_P3, KC_BSLS,
|
||||
KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT
|
||||
),
|
||||
|
||||
/* Keymap _FL: Function Layer
|
||||
* ,-------------------.
|
||||
* |Esc |TAB |BS | = |
|
||||
* |----|----|----|----|
|
||||
* | NL | / | * | - |
|
||||
* |----|----|----|----|
|
||||
* | 7 | 8 | 9 | |
|
||||
* |----|----|----|RST |
|
||||
* | 4 | 5 | 6 | |
|
||||
* |----|----|----|----|
|
||||
* | 1 | 2 | 3 | |
|
||||
* |----|----|----| En |
|
||||
* | 0 |./FN| |
|
||||
* `-------------------'
|
||||
*/
|
||||
[_FL] = LAYOUT_ortho_6x4(
|
||||
KC_ESC, KC_TAB, KC_BSPC, KC_PEQL,
|
||||
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
||||
KC_P7, KC_P8, KC_P9, QK_BOOT,
|
||||
KC_P4, KC_P5, KC_P6, KC_PENT,
|
||||
KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||
KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT
|
||||
),
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue