Adjust lily 58 keymap to be more comfortable

This commit is contained in:
KemoNine 2020-12-22 05:52:47 +00:00
parent dff4be832b
commit 5d37d05e60
3 changed files with 52 additions and 41 deletions

View File

@ -17,14 +17,14 @@
// ------------------------------------------------------------------------------------------------------------
// | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BSPC |
// | TAB | Q | W | E | R | T | | Y | U | I | O | P | \ |
// | SHIFT | A | S | D | F | G | | H | J | K | L | ; | ' |
// | CTRL | Z | X | C | V | B | "[" | | "]" | N | M | , | . | / | ENTER |
// | SHIFT | A | S | D | F | G | | H | J | K | L | ; | ENTER |
// | CTRL | Z | X | C | V | B | "[" | | "]" | N | M | , | . | / | ' |
// | ALT | GUI | LOWER| ` | | SPACE | RAISE| - | CTRL |
bindings = <
&kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSLH
&kp LSHFT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp LBKT &kp RBKT &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RET
&kp LSHFT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp RET
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp LBKT &kp RBKT &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp SQT
&kp LALT &kp LGUI &mo 1 &kp GRAVE &kp SPACE &mo 2 &kp MINUS &kp RCTRL
>;
};
@ -46,18 +46,18 @@
};
raise_layer {
// -------------------------------------------------------------------------------------------------------------------------
// | | | | | | | | | | | | | |
// | BT CLR | BT1 | BT2 | BT3 | BT4 | BT5 | | Home | PgUp | PgDn | End | | |
// | | EXT ON | EXT OFF | EXT TOG | | | | <- | ^ | v | -> | | |
// | | | | | | | | | | | | | | | |
// | | | | | | | | | |
// -----------------------------------------------------------------------------------------------------------------------------
// | | | | | | | | | | | | | |
// | BT CLR | BT1 | BT2 | BT3 | BT4 | BT5 | | | Home | PgUp | PgDn | End | |
// | | | EXT ON | EXT OFF | EXT TOG | | | | <- | ^ | v | -> ' | |
// | | | | | | | | | | | | | | | |
// | | | | | | | | | |
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp HOME &kp PG_UP &kp PG_DN &kp END &trans &trans
&trans &ext_power EP_ON &ext_power EP_OFF &ext_power EP_TOG &trans &trans &kp LEFT &kp UP &kp DOWN &kp RIGHT &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &kp HOME &kp PG_UP &kp PG_DN &kp END &trans
&trans &trans &ext_power EP_ON &ext_power EP_OFF &ext_power EP_TOG &trans &trans &kp LEFT &kp UP &kp DOWN &kp RIGHT &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans
>;
};
};

View File

@ -37,7 +37,7 @@
compatible = "zmk,keymap";
default_layer {
bindings = <
&tog 1 &bootloader &none
&to 1 &bootloader &none
&none &none &none &kp LC(LA(TAB))
&none &none &none &kp LG(DOWN_ARROW)
&kp ESCAPE &none &none &none
@ -48,7 +48,7 @@
};
num_pad_layer {
bindings = <
&tog 2 &kp KP_NUMLOCK &kp KP_SLASH
&to 2 &kp KP_NUMLOCK &kp KP_SLASH
&kp KP_NUMBER_7 &kp KP_NUMBER_8 &kp KP_NUMBER_9 &kp KP_ASTERISK
&kp KP_NUMBER_4 &kp KP_NUMBER_5 &kp KP_NUMBER_6 &kp KP_MINUS
&kp KP_NUMBER_1 &kp KP_NUMBER_2 &kp KP_NUMBER_3 &kp KP_PLUS
@ -60,7 +60,7 @@
func_layer {
bindings = <
&tog 0 &reset &bootloader
&to 0 &reset &bootloader
&out OUT_TOG &out OUT_USB &out OUT_BLE &none
&rgb_ug RGB_TOG &bt BT_PRV &bt BT_NXT &bt BT_CLR
&ext_power EXT_POWER_TOGGLE_CMD &bt BT_SEL 4 &bt BT_SEL 5 &bt BT_SEL 6

View File

@ -1,3 +1,32 @@
# Split Keyboard FAQ / Notes
- TRRS IS DANGEROUS IF BOTH HALVES HAVE BATTERIES
- TRRS will provide power to peripheral half and that can cause battery overheats, failures, fires
- BOTH HALVES SHOULD BE POWERED INDEPENDENTLY
- Halves communicate via ble
- Both halves should be powered independently of each other
- ONLY the central half should be paired to a computer via BT
- Central half is the only half that has to be plugged into usb for usb hid support
# Dyanmic Layer Actions
- look at hold tap implementation for inspiration (keymap file poprtion)
- hooks for BOTH activate and de-activate
- change underglow color
- fire key press
keymap {
compatible = "zmk,keymap";
default_layer {
activate-behaviors = <
&rgb_ug sethsv (128, 255, 64) &kp NUM_LOCK
>;
};
};
# Hardware To Do / Notes
## Tidbit
@ -8,13 +37,15 @@
## Lilly's
- Use 14500 battery setup
- Mini neo pixel on extra pins under mcu for faux underglow
- Or just below oled zone
## Pocket Type
- SparkFun pro micro compat board
- 110mAh LiPo via jst
- Nice!Nano + magnetic usb-c
- 110mAh LiPo under MCU
- Add OLED somehow
- Add neopixel on spare pins (if present)
## Mini mouse pad / track pad
@ -42,26 +73,6 @@ west build --board nice_nano -d build/settings_reset -- -DSHIELD=settings_reset
- Command Pallet -> Run Task -> npm -> Shows list of npm build tasks for the docs
- code @ the container command line will open a file directly within code on the main machine
# Dyanmic Layer Actions
- look at hold tap implementation for inspiration (keymap file poprtion)
- hooks for BOTH activate and de-activate
- change underglow color
- fire key press
keymap {
compatible = "zmk,keymap";
default_layer {
activate-behaviors = <
&rgb_ug sethsv (128, 255, 64) &kp NUM_LOCK
>;
};
};
# Workspace documentation
finalize devcontainer-setupworkspace branch, may have existing PR open