Move hexwire layout into 4x12 layout folder
This commit is contained in:
parent
2a5da62728
commit
f67c59aa7b
10 changed files with 56 additions and 389 deletions
|
@ -1,26 +0,0 @@
|
||||||
#ifndef CONFIG_USER_H
|
|
||||||
#define CONFIG_USER_H
|
|
||||||
|
|
||||||
#include "../../config.h"
|
|
||||||
|
|
||||||
/* Use I2C or Serial, not both */
|
|
||||||
|
|
||||||
#define USE_SERIAL
|
|
||||||
// #define USE_I2C
|
|
||||||
|
|
||||||
/* Select hand configuration */
|
|
||||||
|
|
||||||
#define MASTER_LEFT
|
|
||||||
// #define MASTER_RIGHT
|
|
||||||
// #define EE_HANDS
|
|
||||||
|
|
||||||
#define TAPPING_TERM 150
|
|
||||||
|
|
||||||
#undef RGBLED_NUM
|
|
||||||
#define RGBLIGHT_ANIMATIONS
|
|
||||||
#define RGBLED_NUM 8
|
|
||||||
#define RGBLIGHT_HUE_STEP 8
|
|
||||||
#define RGBLIGHT_SAT_STEP 8
|
|
||||||
#define RGBLIGHT_VAL_STEP 8
|
|
||||||
|
|
||||||
#endif
|
|
|
@ -1,5 +0,0 @@
|
||||||
RGBLIGHT_ENABLE = yes
|
|
||||||
|
|
||||||
ifndef QUANTUM_DIR
|
|
||||||
include ../../../../Makefile
|
|
||||||
endif
|
|
|
@ -1,108 +0,0 @@
|
||||||
Hexwire's Let's Split Layout
|
|
||||||
============================
|
|
||||||
|
|
||||||
### Changes from default layout
|
|
||||||
|
|
||||||
- Main layer
|
|
||||||
- The right space bar key has been changed to backspace, as I only hit space with my left thumb
|
|
||||||
- Backtick is at the lower right and also serves goes to the 3rd function layer when held
|
|
||||||
- Enter key acts as shift when held
|
|
||||||
- Escape key acts as control when held
|
|
||||||
- Minus key at upper right
|
|
||||||
- Lower layer
|
|
||||||
- Numbers are on the lower layer, to make it easier to use a numpad on the right hand
|
|
||||||
- Arrow keys
|
|
||||||
- Straight and curly brackets in the middle two columns
|
|
||||||
- Screenshot keys for MacOS
|
|
||||||
- Upper layer
|
|
||||||
- Symbols are on the upper layer
|
|
||||||
- Media keys
|
|
||||||
- Page Up/Down, Home/End
|
|
||||||
- 3rd function layer
|
|
||||||
- Function keys
|
|
||||||
|
|
||||||
## Layouts
|
|
||||||
|
|
||||||
### Qwerty
|
|
||||||
|
|
||||||
```
|
|
||||||
,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
||||||
TAB , Q , W , E , R , T , Y , U , I , O , P ,MINS,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
X0 , A , S , D , F , G , H , J , K , L ,SCLN,QUOT,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
LSFT, Z , X , C , V , B , N , M ,COMM,DOT ,SLSH, X4 ,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
X3 ,LCTL,LALT,LGUI, X1 ,SPC , BSPC, X2 ,LEFT,DOWN, UP ,RGHT
|
|
||||||
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
|
||||||
```
|
|
||||||
|
|
||||||
### Colemak
|
|
||||||
|
|
||||||
```
|
|
||||||
,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
||||||
TAB , Q , W , F , P , G , J , L , U , Y ,SCLN,MINS,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
X0 , A , R , S , T , D , H , N , E , I , O ,QUOT,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
LSFT, Z , X , C , V , B , K , M ,COMM,DOT ,SLSH, X4 ,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
X3 ,LCTL,LALT,LGUI, X1 ,SPC , BSPC, X2 ,LEFT,DOWN, UP ,RGHT
|
|
||||||
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
|
||||||
```
|
|
||||||
|
|
||||||
### Dvorak
|
|
||||||
|
|
||||||
```
|
|
||||||
,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
||||||
TAB ,QUOT,COMM,DOT , P , Y , F , G , C , R , L ,MINS,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
X0 , A , O , E , U , I , D , H , R , N , S ,SLSH,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
LSFT,SCLN, Q , J , K , X , B , M , W , V , Z , X4 ,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
X3 ,LCTL,LALT,LGUI, X1 ,SPC , BSPC, X2 ,LEFT,DOWN, UP ,RGHT
|
|
||||||
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
|
||||||
```
|
|
||||||
|
|
||||||
### Lower
|
|
||||||
|
|
||||||
```
|
|
||||||
,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
||||||
, 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , ,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
DEL ,CAPP,LEFT,RGHT, UP ,LBRC, RBRC, P4 , P5 , P6 ,PLUS,PIPE,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
,CPYP, , ,DOWN,LCBR, RCBR, P1 , P2 , P3 ,MINS, ,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
, , , , , , DEL , , P0 ,PDOT, ,
|
|
||||||
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
|
||||||
```
|
|
||||||
|
|
||||||
### Raise
|
|
||||||
|
|
||||||
```
|
|
||||||
,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
||||||
,EXLM, AT ,HASH,DLR ,PERC, CIRC,AMPR,ASTR,LPRN,RPRN, ,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
DEL ,MPRV,MNXT,VOLU,PGUP,UNDS, EQL ,HOME, , , ,BSLS,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
MUTE,MSTP,MPLY,VOLD,PGDN,MINS, PLUS,END , , , , ,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
, , , , , , , , , , ,
|
|
||||||
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3rd function layer
|
|
||||||
|
|
||||||
```
|
|
||||||
,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
||||||
F12 , F1 , F2 , F3 , F4 , F5 , F6 , F7 , F8 , F9 ,F10 ,F11 ,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
, , , , , , , , , , , ,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
, , , , , , , , , , , ,
|
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
, , , , , , , , , , ,
|
|
||||||
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
|
||||||
```
|
|
|
@ -1,206 +0,0 @@
|
||||||
#include "levinson.h"
|
|
||||||
#include "action_layer.h"
|
|
||||||
#include "eeconfig.h"
|
|
||||||
|
|
||||||
extern keymap_config_t keymap_config;
|
|
||||||
|
|
||||||
#define _QWERTY 0
|
|
||||||
#define _COLEMAK 1
|
|
||||||
#define _DVORAK 2
|
|
||||||
#define _LOWER 3
|
|
||||||
#define _RAISE 4
|
|
||||||
#define _FN3 5
|
|
||||||
#define _FN4 6
|
|
||||||
#define _ADJUST 16
|
|
||||||
|
|
||||||
enum custom_keycodes {
|
|
||||||
QWERTY = SAFE_RANGE,
|
|
||||||
COLEMAK,
|
|
||||||
DVORAK,
|
|
||||||
LOWER,
|
|
||||||
RAISE,
|
|
||||||
FN3,
|
|
||||||
FN4,
|
|
||||||
ADJUST,
|
|
||||||
};
|
|
||||||
|
|
||||||
#define KC_ KC_TRNS
|
|
||||||
#define _______ KC_TRNS
|
|
||||||
|
|
||||||
#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 MT(MOD_LCTL, KC_ESC)
|
|
||||||
#define KC_X1 LOWER
|
|
||||||
#define KC_X2 RAISE
|
|
||||||
#define KC_X3 LT(_FN3, KC_GRV)
|
|
||||||
#define KC_X4 MT(MOD_LSFT, KC_ENT)
|
|
||||||
#define KC_X5 BL_STEP
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
|
|
||||||
[_QWERTY] = KC_KEYMAP(
|
|
||||||
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
||||||
TAB , Q , W , E , R , T , Y , U , I , O , P ,MINS,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
X0 , A , S , D , F , G , H , J , K , L ,SCLN,QUOT,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
LSFT, Z , X , C , V , B , N , M ,COMM,DOT ,SLSH, X4 ,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
X5 ,LCTL,LALT,LGUI, X1 ,SPC , BSPC, X2 ,LEFT,DOWN, UP ,RGHT
|
|
||||||
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
|
||||||
),
|
|
||||||
|
|
||||||
[_COLEMAK] = KC_KEYMAP(
|
|
||||||
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
||||||
TAB , Q , W , F , P , G , J , L , U , Y ,SCLN,MINS,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
X0 , A , R , S , T , D , H , N , E , I , O ,QUOT,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
LSFT, Z , X , C , V , B , K , M ,COMM,DOT ,SLSH, X4 ,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
X3 ,LCTL,LALT,LGUI, X1 ,SPC , BSPC, X2 ,LEFT,DOWN, UP ,RGHT
|
|
||||||
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
|
||||||
),
|
|
||||||
|
|
||||||
[_DVORAK] = KC_KEYMAP(
|
|
||||||
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
||||||
TAB ,QUOT,COMM,DOT , P , Y , F , G , C , R , L ,MINS,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
X0 , A , O , E , U , I , D , H , T , N , S ,SLSH,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
LSFT,SCLN, Q , J , K , X , B , M , W , V , Z , X4 ,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
X3 ,LCTL,LALT,LGUI, X1 ,SPC , BSPC, X2 ,LEFT,DOWN, UP ,RGHT
|
|
||||||
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
|
||||||
),
|
|
||||||
|
|
||||||
[_LOWER] = KC_KEYMAP(
|
|
||||||
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
||||||
, 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , ,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
DEL ,CAPP,LEFT,RGHT, UP ,LBRC, RBRC, P4 , P5 , P6 ,PLUS,PIPE,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
,CPYP, , ,DOWN,LCBR, RCBR, P1 , P2 , P3 ,MINS, ,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
, , , , , , DEL , , P0 ,PDOT, ,
|
|
||||||
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
|
||||||
),
|
|
||||||
|
|
||||||
[_RAISE] = KC_KEYMAP(
|
|
||||||
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
||||||
,EXLM, AT ,HASH,DLR ,PERC, CIRC,AMPR,ASTR,LPRN,RPRN, ,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
DEL ,MPRV,MNXT,VOLU,PGUP,UNDS, EQL ,HOME, , , ,BSLS,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
MUTE,MSTP,MPLY,VOLD,PGDN,MINS, PLUS,END , , , , ,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
, , , , , , , , , , ,
|
|
||||||
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
|
||||||
),
|
|
||||||
|
|
||||||
[_FN3] = KC_KEYMAP(
|
|
||||||
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
|
||||||
F12 , F1 , F2 , F3 , F4 , F5 , F6 , F7 , F8 , F9 ,F10 ,F11 ,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
, , , , , , , , , , , ,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
, , , , , , , , , , , ,
|
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|
||||||
, , , , , , , , , , ,
|
|
||||||
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
|
||||||
),
|
|
||||||
|
|
||||||
/* Adjust (Lower + Raise)
|
|
||||||
* ,-----------------------------------------------------------------------------------.
|
|
||||||
* | | Reset|RGB Tg|RGB Md|Hue Up|Hue Dn|Sat Up|Sat Dn|Val Up|Val Dn| | |
|
|
||||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
|
||||||
* | | | |Aud on|Audoff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | |
|
|
||||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
|
||||||
* | | | | | | | | | | | | |
|
|
||||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
|
||||||
* | | | | | | | | | | | |
|
|
||||||
* `-----------------------------------------------------------------------------------'
|
|
||||||
*/
|
|
||||||
[_ADJUST] = KEYMAP( \
|
|
||||||
_______, RESET , RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, _______, _______, \
|
|
||||||
_______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \
|
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifdef AUDIO_ENABLE
|
|
||||||
float tone_qwerty[][2] = SONG(QWERTY_SOUND);
|
|
||||||
float tone_dvorak[][2] = SONG(DVORAK_SOUND);
|
|
||||||
float tone_colemak[][2] = SONG(COLEMAK_SOUND);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void persistent_default_layer_set(uint16_t default_layer) {
|
|
||||||
eeconfig_update_default_layer(default_layer);
|
|
||||||
default_layer_set(default_layer);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|
||||||
switch (keycode) {
|
|
||||||
case QWERTY:
|
|
||||||
if (record->event.pressed) {
|
|
||||||
#ifdef AUDIO_ENABLE
|
|
||||||
PLAY_SONG(tone_qwerty);
|
|
||||||
#endif
|
|
||||||
persistent_default_layer_set(1UL<<_QWERTY);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
break;
|
|
||||||
case COLEMAK:
|
|
||||||
if (record->event.pressed) {
|
|
||||||
#ifdef AUDIO_ENABLE
|
|
||||||
PLAY_SONG(tone_colemak);
|
|
||||||
#endif
|
|
||||||
persistent_default_layer_set(1UL<<_COLEMAK);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
break;
|
|
||||||
case DVORAK:
|
|
||||||
if (record->event.pressed) {
|
|
||||||
#ifdef AUDIO_ENABLE
|
|
||||||
PLAY_SONG(tone_dvorak);
|
|
||||||
#endif
|
|
||||||
persistent_default_layer_set(1UL<<_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 ADJUST:
|
|
||||||
if (record->event.pressed) {
|
|
||||||
layer_on(_ADJUST);
|
|
||||||
} else {
|
|
||||||
layer_off(_ADJUST);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
RGBLIGHT_ENABLE = yes
|
|
||||||
|
|
||||||
ifndef QUANTUM_DIR
|
|
||||||
include ../../../../Makefile
|
|
||||||
endif
|
|
|
@ -29,7 +29,22 @@
|
||||||
{ k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b } \
|
{ k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b } \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Used to create a keymap using only KC_ prefixed keys
|
||||||
|
#define KC_KEYMAP( \
|
||||||
|
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, k36, k37, k38, k39, k3a, k3b \
|
||||||
|
) \
|
||||||
|
LAYOUT_planck_grid( \
|
||||||
|
KC_##k00, KC_##k01, KC_##k02, KC_##k03, KC_##k04, KC_##k05, KC_##k06, KC_##k07, KC_##k08, KC_##k09, KC_##k0a, KC_##k0b, \
|
||||||
|
KC_##k10, KC_##k11, KC_##k12, KC_##k13, KC_##k14, KC_##k15, KC_##k16, KC_##k17, KC_##k18, KC_##k19, KC_##k1a, KC_##k1b, \
|
||||||
|
KC_##k20, KC_##k21, KC_##k22, KC_##k23, KC_##k24, KC_##k25, KC_##k26, KC_##k27, KC_##k28, KC_##k29, KC_##k2a, KC_##k2b, \
|
||||||
|
KC_##k30, KC_##k31, KC_##k32, KC_##k33, KC_##k34, KC_##k35, KC_##k36, KC_##k37, KC_##k38, KC_##k39, KC_##k3a, KC_##k3b \
|
||||||
|
)
|
||||||
|
|
||||||
#define KEYMAP LAYOUT_planck_grid
|
#define KEYMAP LAYOUT_planck_grid
|
||||||
#define LAYOUT_ortho_4x12 LAYOUT_planck_grid
|
#define LAYOUT_ortho_4x12 LAYOUT_planck_grid
|
||||||
|
#define KC_LAYOUT_ortho_4x12 KC_KEYMAP
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef CONFIG_USER_H
|
#ifndef CONFIG_USER_H
|
||||||
#define CONFIG_USER_H
|
#define CONFIG_USER_H
|
||||||
|
|
||||||
#include "../../config.h"
|
#include QMK_KEYBOARD_CONFIG_H
|
||||||
|
|
||||||
/* Use I2C or Serial, not both */
|
/* Use I2C or Serial, not both */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "lets_split.h"
|
#include QMK_KEYBOARD_H
|
||||||
#include "action_layer.h"
|
#include "action_layer.h"
|
||||||
#include "eeconfig.h"
|
#include "eeconfig.h"
|
||||||
|
|
||||||
|
@ -9,8 +9,7 @@ extern keymap_config_t keymap_config;
|
||||||
#define _DVORAK 2
|
#define _DVORAK 2
|
||||||
#define _LOWER 3
|
#define _LOWER 3
|
||||||
#define _RAISE 4
|
#define _RAISE 4
|
||||||
#define _FN3 5
|
#define _FKEYS 5
|
||||||
#define _FN4 6
|
|
||||||
#define _ADJUST 16
|
#define _ADJUST 16
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
|
@ -19,8 +18,6 @@ enum custom_keycodes {
|
||||||
DVORAK,
|
DVORAK,
|
||||||
LOWER,
|
LOWER,
|
||||||
RAISE,
|
RAISE,
|
||||||
FN3,
|
|
||||||
FN4,
|
|
||||||
ADJUST,
|
ADJUST,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -31,51 +28,52 @@ enum custom_keycodes {
|
||||||
#define KC_CPYW LGUI(LSFT(LCTL(KC_3))) // Copy 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_CAPP LGUI(LSFT(KC_4)) // Capture portion of screen
|
||||||
#define KC_CPYP LGUI(LSFT(LCTL(KC_4))) // Copy portion of screen
|
#define KC_CPYP LGUI(LSFT(LCTL(KC_4))) // Copy portion of screen
|
||||||
#define KC_X0 MT(MOD_LCTL, KC_ESC)
|
#define KC_ESCC MT(MOD_LCTL, KC_ESC)
|
||||||
#define KC_X1 LOWER
|
#define KC_LOWR LOWER
|
||||||
#define KC_X2 RAISE
|
#define KC_RASE RAISE
|
||||||
#define KC_X3 LT(_FN3, KC_GRV)
|
#define KC_GRVF LT(_FKEYS, KC_GRV)
|
||||||
#define KC_X4 MT(MOD_LSFT, KC_ENT)
|
#define KC_ENTS MT(MOD_LSFT, KC_ENT)
|
||||||
|
#define KC_BL_S BL_STEP
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
[_QWERTY] = KC_KEYMAP(
|
[_QWERTY] = KC_LAYOUT_ortho_4x12(
|
||||||
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
||||||
TAB , Q , W , E , R , T , Y , U , I , O , P ,MINS,
|
TAB , Q , W , E , R , T , Y , U , I , O , P ,MINS,
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
X0 , A , S , D , F , G , H , J , K , L ,SCLN,QUOT,
|
ESCC, A , S , D , F , G , H , J , K , L ,SCLN,QUOT,
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
LSFT, Z , X , C , V , B , N , M ,COMM,DOT ,SLSH, X4 ,
|
LSFT, Z , X , C , V , B , N , M ,COMM,DOT ,SLSH,ENTS,
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
X3 ,LCTL,LALT,LGUI, X1 ,SPC , BSPC, X2 ,LEFT,DOWN, UP ,RGHT
|
GRVF,LCTL,LALT,LGUI,LOWR,SPC , BSPC,RASE,LEFT,DOWN, UP ,RGHT
|
||||||
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
||||||
),
|
),
|
||||||
|
|
||||||
[_COLEMAK] = KC_KEYMAP(
|
[_COLEMAK] = KC_LAYOUT_ortho_4x12(
|
||||||
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
||||||
TAB , Q , W , F , P , G , J , L , U , Y ,SCLN,MINS,
|
TAB , Q , W , F , P , G , J , L , U , Y ,SCLN,MINS,
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
X0 , A , R , S , T , D , H , N , E , I , O ,QUOT,
|
ESCC, A , R , S , T , D , H , N , E , I , O ,QUOT,
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
LSFT, Z , X , C , V , B , K , M ,COMM,DOT ,SLSH, X4 ,
|
LSFT, Z , X , C , V , B , K , M ,COMM,DOT ,SLSH,ENTS,
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
X3 ,LCTL,LALT,LGUI, X1 ,SPC , BSPC, X2 ,LEFT,DOWN, UP ,RGHT
|
GRVF,LCTL,LALT,LGUI,LOWR,SPC , BSPC,RASE,LEFT,DOWN, UP ,RGHT
|
||||||
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
||||||
),
|
),
|
||||||
|
|
||||||
[_DVORAK] = KC_KEYMAP(
|
[_DVORAK] = KC_LAYOUT_ortho_4x12(
|
||||||
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
||||||
TAB ,QUOT,COMM,DOT , P , Y , F , G , C , R , L ,MINS,
|
TAB ,QUOT,COMM,DOT , P , Y , F , G , C , R , L ,MINS,
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
X0 , A , O , E , U , I , D , H , T , N , S ,SLSH,
|
ESCC, A , O , E , U , I , D , H , T , N , S ,SLSH,
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
LSFT,SCLN, Q , J , K , X , B , M , W , V , Z , X4 ,
|
LSFT,SCLN, Q , J , K , X , B , M , W , V , Z ,ENTS,
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
X3 ,LCTL,LALT,LGUI, X1 ,SPC , BSPC, X2 ,LEFT,DOWN, UP ,RGHT
|
GRVF,LCTL,LALT,LGUI,LOWR,SPC , BSPC,RASE,LEFT,DOWN, UP ,RGHT
|
||||||
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
||||||
),
|
),
|
||||||
|
|
||||||
[_LOWER] = KC_KEYMAP(
|
[_LOWER] = KC_LAYOUT_ortho_4x12(
|
||||||
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
||||||
, 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , ,
|
, 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , ,
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
|
@ -83,11 +81,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
,CPYP, , ,DOWN,LCBR, RCBR, P1 , P2 , P3 ,MINS, ,
|
,CPYP, , ,DOWN,LCBR, RCBR, P1 , P2 , P3 ,MINS, ,
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
, , , , , , DEL , , P0 ,PDOT, ,
|
BL_S, , , , ,DEL , DEL , , P0 ,PDOT, ,
|
||||||
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
||||||
),
|
),
|
||||||
|
|
||||||
[_RAISE] = KC_KEYMAP(
|
[_RAISE] = KC_LAYOUT_ortho_4x12(
|
||||||
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
||||||
,EXLM, AT ,HASH,DLR ,PERC, CIRC,AMPR,ASTR,LPRN,RPRN, ,
|
,EXLM, AT ,HASH,DLR ,PERC, CIRC,AMPR,ASTR,LPRN,RPRN, ,
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
|
@ -99,7 +97,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
||||||
),
|
),
|
||||||
|
|
||||||
[_FN3] = KC_KEYMAP(
|
[_FKEYS] = KC_LAYOUT_ortho_4x12(
|
||||||
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
||||||
F12 , F1 , F2 , F3 , F4 , F5 , F6 , F7 , F8 , F9 ,F10 ,F11 ,
|
F12 , F1 , F2 , F3 , F4 , F5 , F6 , F7 , F8 , F9 ,F10 ,F11 ,
|
||||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
|
@ -122,7 +120,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
* | | | | | | | | | | | |
|
* | | | | | | | | | | | |
|
||||||
* `-----------------------------------------------------------------------------------'
|
* `-----------------------------------------------------------------------------------'
|
||||||
*/
|
*/
|
||||||
[_ADJUST] = KEYMAP( \
|
[_ADJUST] = LAYOUT_ortho_4x12( \
|
||||||
_______, RESET , RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, _______, _______, \
|
_______, RESET , RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, _______, _______, \
|
||||||
_______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \
|
_______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
|
@ -1,4 +1,4 @@
|
||||||
Hexwire's Let's Split Layout
|
Bakingpy's Let's Split Layout
|
||||||
============================
|
============================
|
||||||
|
|
||||||
### Changes from default layout
|
### Changes from default layout
|
||||||
|
@ -29,11 +29,11 @@ Hexwire's Let's Split Layout
|
||||||
,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
||||||
TAB , Q , W , E , R , T , Y , U , I , O , P ,MINS,
|
TAB , Q , W , E , R , T , Y , U , I , O , P ,MINS,
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
X0 , A , S , D , F , G , H , J , K , L ,SCLN,QUOT,
|
ESCC, A , S , D , F , G , H , J , K , L ,SCLN,QUOT,
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
LSFT, Z , X , C , V , B , N , M ,COMM,DOT ,SLSH, X4 ,
|
LSFT, Z , X , C , V , B , N , M ,COMM,DOT ,SLSH,ENTS,
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
X3 ,LCTL,LALT,LGUI, X1 ,SPC , BSPC, X2 ,LEFT,DOWN, UP ,RGHT
|
GRVF,LCTL,LALT,LGUI,LOWR,SPC , BSPC,RASE,LEFT,DOWN, UP ,RGHT
|
||||||
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -43,11 +43,11 @@ Hexwire's Let's Split Layout
|
||||||
,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
||||||
TAB , Q , W , F , P , G , J , L , U , Y ,SCLN,MINS,
|
TAB , Q , W , F , P , G , J , L , U , Y ,SCLN,MINS,
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
X0 , A , R , S , T , D , H , N , E , I , O ,QUOT,
|
ESCC, A , R , S , T , D , H , N , E , I , O ,QUOT,
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
LSFT, Z , X , C , V , B , K , M ,COMM,DOT ,SLSH, X4 ,
|
LSFT, Z , X , C , V , B , K , M ,COMM,DOT ,SLSH,ENTS,
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
X3 ,LCTL,LALT,LGUI, X1 ,SPC , BSPC, X2 ,LEFT,DOWN, UP ,RGHT
|
GRVF,LCTL,LALT,LGUI,LOWR,SPC , BSPC,RASE,LEFT,DOWN, UP ,RGHT
|
||||||
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -57,11 +57,11 @@ Hexwire's Let's Split Layout
|
||||||
,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
,----+----+----+----+----+----. ,----+----+----+----+----+----.
|
||||||
TAB ,QUOT,COMM,DOT , P , Y , F , G , C , R , L ,MINS,
|
TAB ,QUOT,COMM,DOT , P , Y , F , G , C , R , L ,MINS,
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
X0 , A , O , E , U , I , D , H , R , N , S ,SLSH,
|
ESCC, A , O , E , U , I , D , H , R , N , S ,SLSH,
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
LSFT,SCLN, Q , J , K , X , B , M , W , V , Z , X4 ,
|
LSFT,SCLN, Q , J , K , X , B , M , W , V , Z ,ENTS,
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
X3 ,LCTL,LALT,LGUI, X1 ,SPC , BSPC, X2 ,LEFT,DOWN, UP ,RGHT
|
GRVF,LCTL,LALT,LGUI,LOWR,SPC , BSPC,RASE,LEFT,DOWN, UP ,RGHT
|
||||||
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ Hexwire's Let's Split Layout
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
,CPYP, , ,DOWN,LCBR, RCBR, P1 , P2 , P3 ,MINS, ,
|
,CPYP, , ,DOWN,LCBR, RCBR, P1 , P2 , P3 ,MINS, ,
|
||||||
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||||
, , , , , , DEL , , P0 ,PDOT, ,
|
, , , , ,DEL , DEL , , P0 ,PDOT, ,
|
||||||
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
`----+----+----+----+----+----' `----+----+----+----+----+----'
|
||||||
```
|
```
|
||||||
|
|
4
layouts/community/ortho_4x12/bakingpy/rules.mk
Normal file
4
layouts/community/ortho_4x12/bakingpy/rules.mk
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Enable RGB if not a Planck
|
||||||
|
ifeq (,$(findstring planck,$(KEYBOARD)))
|
||||||
|
RGBLIGHT_ENABLE = yes
|
||||||
|
endif
|
Loading…
Reference in a new issue