Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
@@ -61,22 +61,22 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
* .-----------------------------------------. .-----------------------------------------.
|
||||
* | + | | | | | Rst | | NumLk| / | * | - | | \ |
|
||||
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||
* | | Home | [ | Up | ] | PgUp | | 7 | 8 | 9 | + | | ] |
|
||||
* | | | [ | Up | ] | | | 7 | 8 | 9 | + | | ] |
|
||||
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||
* | | End | Left | Down | Right| PgDn | | 4 | 5 | 6 | , | | |
|
||||
* | | | Left | Down | Right| | | 4 | 5 | 6 | , | |Enter |
|
||||
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||
* | | Calc | MyPC |PrtScr| Enter|BckSpc| | 1 | 2 | 3 | = | | Enter|
|
||||
* | | Calc | MyPC |PrtScr| Enter|BckSpc| | 1 | 2 | 3 | = | PgUp | Home |
|
||||
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||
* | | Mute | | | | | | 0 | . | Enter| Home | End |
|
||||
* | | Mute | | | | | | 0 | . | Enter| PgDn | End |
|
||||
* '-----------------------------------------' '-----------------------------------------'
|
||||
*/
|
||||
|
||||
[_LEFTHAND] = LAYOUT(
|
||||
KC_EQL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, KC_TRNS, KC_BSLS,
|
||||
KC_TRNS, KC_TRNS, KC_LBRC, KC_UP, KC_RBRC, KC_TRNS, KC_P7, KC_P8, KC_P9, KC_PPLS, KC_TRNS, KC_RBRC,
|
||||
KC_LCTL, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_P4, KC_P5, KC_P6, KC_PCMM, KC_TRNS, KC_TRNS,
|
||||
KC_LSFT, KC_CALC, KC_MYCM, KC_PSCR, KC_ENT, KC_BSPC, KC_P1, KC_P2, KC_P3, KC_PEQL, KC_TRNS, KC_ENT,
|
||||
KC_LCTL, KC_MUTE, KC_LALT, KC_TRNS, KC_TRNS, KC_TRNS, KC_P0, KC_P0, KC_PDOT, KC_PENT, KC_HOME, KC_END
|
||||
KC_LCTL, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_P4, KC_P5, KC_P6, KC_PCMM, KC_TRNS, KC_ENT,
|
||||
KC_LSFT, KC_CALC, KC_MYCM, KC_PSCR, KC_ENT, KC_BSPC, KC_P1, KC_P2, KC_P3, KC_PEQL, KC_PGUP, KC_HOME,
|
||||
KC_LCTL, KC_MUTE, KC_LALT, KC_TRNS, KC_TRNS, KC_TRNS, KC_P0, KC_P0, KC_PDOT, KC_PENT, KC_PGDN, KC_END
|
||||
),
|
||||
|
||||
/* Func/Numpad layer
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/* Copyright 2021 Jonavin Eng
|
||||
*
|
||||
* 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
|
||||
|
||||
// Standard encoder position. Set to 1 for top right optional position
|
||||
#define ENCODER_DEFAULTACTIONS_INDEX 0
|
||||
|
||||
// Increase layers to 6 for VIA
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 6
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,43 @@
|
||||
/* Copyright 2021 Jonavin Eng
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
/* First section contains the physical layout of the board and position of keys.
|
||||
*
|
||||
* Second is a two-dimensional array which represents the switch matrix.
|
||||
*/
|
||||
|
||||
#define LAYOUT_landscape( \
|
||||
k50, k40, k30, \
|
||||
k51, k41, k31, k20, k10, k00, \
|
||||
k52, k42, k32, k21, k11, k01, \
|
||||
k53, k43, k33, k22, k12, k02, \
|
||||
k54, k44, k34, k23, k13, k03, \
|
||||
\
|
||||
BACK00, BACK01, BACK02 \
|
||||
\
|
||||
) { \
|
||||
{ BACK00, k00, k01, k02, k03 }, \
|
||||
{ BACK01, k10, k11, k12, k13 }, \
|
||||
{ BACK02, k20, k21, k22, k23 }, \
|
||||
{ k30, k31, k32, k33, k34 }, \
|
||||
{ k40, k41, k42, k43, k44 }, \
|
||||
{ k50, k51, k52, k53, k54 } \
|
||||
}
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
Jonavin's Custom MurphPad Landscape Layout
|
||||
|
||||
This allows you to use Murphpad in a horizontal/landscape orientation with extra layers
|
||||
|
||||
- OLED has been rotated for landscape mode
|
||||
- Keymap positions have been updated so it's easier to visualize the keymap in landscape
|
||||
|
||||
[_BASE] = LAYOUT_landscape(
|
||||
TT(_FN1), TT(_FN2), KC_MUTE,
|
||||
|
||||
KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, KC_PPLS, KC_BSPC,
|
||||
KC_TAB, KC_P7, KC_P8, KC_P9, KC_PDOT, KC_RGUI,
|
||||
KC_RSFT, KC_P4, KC_P5, KC_P6, KC_COMMA, KC_RCTL,
|
||||
KC_P0, KC_P1, KC_P2, KC_P3, KC_PENT, KC_RALT,
|
||||
|
||||
_______, _______, _______
|
||||
),
|
||||
|
||||
NOTE: VIA is enabled, but it will show it in the normal orientation until I build a landscape layout version
|
||||
|
||||
Special Features
|
||||
- FN1 layer has encoder selectable key codes and displayed on OLED
|
||||
|
||||
Change these in keymap.c to assign your desired key selection
|
||||
|
||||
static const keycodedescType PROGMEM keyselection[] = {
|
||||
// list of key codes that will be scrollled through by encoder and description
|
||||
{"TASK", KC_TASK},
|
||||
{"INS", KC_INS},
|
||||
{"DEL", KC_DEL},
|
||||
{"PrtSc", KC_PSCR},
|
||||
{"ScrLk", KC_SCLN},
|
||||
{"Break", KC_PAUS},
|
||||
{"C-A-D", KC_CAD}, // Ctrl-Alt-Del
|
||||
{"AltF4", KC_AF4},
|
||||
{"PLAY", KC_MEDIA_PLAY_PAUSE},
|
||||
{"RESET", RESET}, // firmware flash mode
|
||||
};
|
||||
|
||||
- Additional encoder functionality
|
||||
- While holding R Shift, changes layers
|
||||
- While holding R Ctrl, navigates next or previous word
|
||||
- While holding R Alt, media next track or previous track
|
||||
- Otherwise change volume up/dn
|
||||
|
||||
|
||||
rules.mk OPTIONS - Active features from userspace
|
||||
|
||||
- STARTUP_NUMLOCK_ON = yes
|
||||
- turns on NUMLOCK by default
|
||||
|
||||
DEFAULT MAPPING
|
||||
|
||||

|
||||
|
||||
|
||||
FN1 Layer 1
|
||||
|
||||

|
||||
|
||||
|
||||
RGB Layer 5 - Use Shift+Encoder to get to RGB layer 5
|
||||
|
||||

|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
VIA_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
|
||||
STARTUP_NUMLOCK_ON = yes
|
||||
ENCODER_DEFAULTACTIONS_ENABLE = no
|
||||
Reference in New Issue
Block a user