Skip to content

Commit

Permalink
Fix scroll up/down
Browse files Browse the repository at this point in the history
  • Loading branch information
bzgec committed Sep 19, 2024
1 parent 8be1261 commit 8598ce1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@
*
*/

#define ZMK_MOUSE_SCRL_VAL 140 // https://github.com/zmkfirmware/zmk/issues/72#issuecomment-2081690485

#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
Expand Down Expand Up @@ -226,10 +228,10 @@
// | SHFT | Del | | | | | | Undo | Redo | | | Del | |
// | GUI | CTRL | Enter | | Enter | EXT2 | L ALT |
bindings = <
___ &kp ESC &mkp MB4 &kp K_SCROLL_UP &mkp MB5 xxx &kp HOME &kp PG_DN &kp PG_UP &kp END xxx &kp PSCRN
xxx &kp BSPC xxx &kp K_SCROLL_DOWN xxx xxx &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp BSPC &kp ESC
___ &kp DEL xxx xxx xxx xxx &kp UNDO &kp K_REDO xxx xxx &kp DEL ___
___ ___ &kp RET ___ &mo L_EXT2_LIN ___
___ &kp ESC &mkp MB4 &kp C_AC_SCROLL_UP &mkp MB5 xxx &kp HOME &kp PG_DN &kp PG_UP &kp END xxx &kp PSCRN
xxx &kp BSPC xxx &kp C_AC_SCROLL_DOWN xxx xxx &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp BSPC &kp ESC
___ &kp DEL xxx xxx xxx xxx &kp UNDO &kp K_REDO xxx xxx &kp DEL ___
___ ___ &kp RET ___ &mo L_EXT2_LIN ___
>;
};
// Changing only
Expand Down

0 comments on commit 8598ce1

Please sign in to comment.