Skip to content

Commit

Permalink
Remove custom ZMK enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
caksoylar committed Aug 28, 2024
1 parent 6ba59ad commit d0f33d1
Show file tree
Hide file tree
Showing 19 changed files with 89 additions and 935 deletions.
13 changes: 0 additions & 13 deletions config/corneish_zen.conf
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
# Enable mouse for mouse keys
CONFIG_ZMK_MOUSE=y

# Boost Bluetooth TX power
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y

# Require passkey on pairing
CONFIG_ZMK_BLE_PASSKEY_ENTRY=y

# Zen display tweaks
CONFIG_ZMK_DISPLAY_FULL_REFRESH_PERIOD=300
# Stock status screen
#CONFIG_ZMK_DISPLAY_HIDE_MOMENTARY_LAYERS=y
#CONFIG_CUSTOM_WIDGET_LAYER_STATUS_HIDE_HEADING=y
#CONFIG_CUSTOM_WIDGET_LOGO_IMAGE_ZMK=y
# 8-bit status screen
CONFIG_ZEN_STATUS_SCREEN_8BIT=y
CONFIG_ZEN_STATUS_SCREEN_8BIT_HALF=y

# Sleep timeout to 30 min
CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=1800000
1 change: 0 additions & 1 deletion config/corneish_zen.keymap
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#define MOUSE_KEYS
#include "keypos_def/keypos_36keys.h"
#include "includes/3x5.dtsi"

Expand Down
3 changes: 0 additions & 3 deletions config/grumpybird.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Enable mouse for mouse keys
CONFIG_ZMK_MOUSE=y

# Require passkey on pairing
CONFIG_ZMK_BLE_PASSKEY_ENTRY=y

Expand Down
1 change: 0 additions & 1 deletion config/grumpybird.keymap
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#define MOUSE_KEYS
#include "keypos_def/keypos_28keys.h"
#include "includes/3x5.dtsi"
29 changes: 2 additions & 27 deletions config/includes/3x5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#define SYM 3
#define NAV 4
#define FUN 5
#define MSE 6

// Desktop and tab navigation shortcuts
#define D_LT LC(LG(LEFT))
Expand All @@ -36,13 +35,6 @@
# define FN_EXTRA2 &kp PAUSE_BREAK
#endif

#ifdef MOUSE_KEYS
# include "mouse.dtsi"
# define MS_ACT(key) &lt MSE key
#else
# define MS_ACT(key) &kp key
#endif

&mt {
flavor = "hold-preferred";
tapping-term-ms = <150>;
Expand Down Expand Up @@ -142,7 +134,7 @@
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&aml LCTRL A, &aml LGUI R, &aml LALT S, &asl LSHFT T, &kp G, &kp M, &asr RSHFT N, &amr RALT E, &amr RGUI I, &amr RCTRL O, \
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp Z, &kp X, &kp C, MS_ACT(D), &kp V, &kp J, &kp H, &kp COMMA, &kp DOT, &kp SLASH, \
&kp Z, &kp X, &kp C, &kp D, &kp V, &kp J, &kp H, &kp COMMA, &kp DOT, &kp SLASH, \
// ╰─────────────┴─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
&mt LGUI TAB, &mt LCTRL ESC, &lt NAV SPACE, &lt SYM BSPC, &mt RSHFT RET, &mt RALT DEL \
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
Expand All @@ -157,7 +149,7 @@
//, ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&aml LCTRL R, &aml LGUI S, &aml LALT N, &asl LSHFT T, &kp P, &kp K, &asr RSHFT H, &amr RALT E, &amr RGUI I, &amr RCTRL A, \
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&none, &kp W, &kp M, MS_ACT(G), &none, &none, &kp D, &kp COMMA, &kp DOT, &none, \
&none, &kp W, &kp M, &kp G, &none, &none, &kp D, &kp COMMA, &kp DOT, &none, \
//, ╰─────────────┴─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
&mt LGUI TAB, &mt LCTRL ESC, &lt NAV SPACE, &lt SYM BSPC, &mt RSHFT RET, &mt RALT DEL \
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
Expand Down Expand Up @@ -223,22 +215,5 @@
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
)>;
};

#ifdef MOUSE_KEYS
mouse_layer {
display-name = "MSE";
bindings = <LAYER_FROM36( \
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
&none, &none, &none, &none, &none, &msc SCRL_LEFT, &msc SCRL_DOWN, &mmv MOVE_UP, &msc SCRL_UP, &msc SCRL_RIGHT, \
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp LCTRL, &kp LGUI, &kp LALT, &kp LSHFT, &none, &mkp RCLK, &mmv MOVE_LEFT, &mmv MOVE_DOWN, &mmv MOVE_RIGHT, &none, \
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&none, &none, &none, &none, &none, &none, &mkp MB4, &mkp MCLK, &mkp MB5, &none, \
// ╰─────────────┴─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
&none, &none, &none, &mkp LCLK, &mkp RCLK, &none \
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
)>;
};
#endif
};
};
4 changes: 0 additions & 4 deletions config/includes/combos.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,5 @@ COMBO(btclr, &bt BT_CLR, RB2 RB3, FUN, 100, 200)

COMBO(indbat, &ind_bat, LT2 RT2, FUN, 100, 200)
COMBO(indcon, &ind_con, LT1 RT1, FUN, 100, 200)

#if defined(MOUSE_KEYS) && defined(LH1)
COMBO(mse_l, &mo MSE, LH1 LH0, DEF BRD, 150, 0, slow-release;)
#endif
};
};
16 changes: 0 additions & 16 deletions config/includes/mouse.dtsi

This file was deleted.

3 changes: 0 additions & 3 deletions config/rommana.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Enable mouse for mouse keys
CONFIG_ZMK_MOUSE=y

# Boost Bluetooth TX power
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y

Expand Down
1 change: 0 additions & 1 deletion config/rommana.keymap
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#define MOUSE_KEYS
#include "keypos_def/keypos_30keys.h"
#include "includes/3x5.dtsi"
6 changes: 3 additions & 3 deletions config/west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ manifest:
url-base: https://github.com/caksoylar
projects:
- name: zmk
remote: caksoylar
revision: caksoylar/zen-8bit
remote: zmkfirmware
revision: main
import: app/west.yml
- name: zmk-rgbled-widget
remote: caksoylar
revision: main
- name: zmk-tri-state
remote: caksoylar
revision: split-locality
revision: main
self:
path: config
23 changes: 0 additions & 23 deletions config/zen-status-screen.md

This file was deleted.

Loading

0 comments on commit d0f33d1

Please sign in to comment.