summaryrefslogtreecommitdiff
path: root/.config/keybs/sweep.kbd
diff options
context:
space:
mode:
authorjoott <josh@ottmail.me>2025-07-30 15:53:29 -0400
committerjoott <josh@ottmail.me>2025-07-30 15:53:29 -0400
commit26694e09e8f5bf2262737312e7ad217118db20de (patch)
treeca55eee2f8c5106c61e747979780d6f393fd24c9 /.config/keybs/sweep.kbd
parent89a596a50ec61b8ebd6040b06a7cab994afd1b3a (diff)
downloaddotfiles-26694e09e8f5bf2262737312e7ad217118db20de.tar.gz
dotfiles-26694e09e8f5bf2262737312e7ad217118db20de.zip
switching to yadm
Diffstat (limited to '.config/keybs/sweep.kbd')
-rw-r--r--.config/keybs/sweep.kbd28
1 files changed, 28 insertions, 0 deletions
diff --git a/.config/keybs/sweep.kbd b/.config/keybs/sweep.kbd
new file mode 100644
index 0000000..e8e02c7
--- /dev/null
+++ b/.config/keybs/sweep.kbd
@@ -0,0 +1,28 @@
+(defcfg
+ linux-dev-names-exclude (
+ "AT Translated Set 2 keyboard"
+ "TPPS/2 Elan TrackPoint"
+ )
+)
+
+(defalias
+ mau (movemouse-accel-up 5 1000 1 5)
+ mal (movemouse-accel-left 5 1000 1 5)
+ mad (movemouse-accel-down 5 1000 1 5)
+ mar (movemouse-accel-right 5 1000 1 5)
+
+ mwu (mwheel-up 1 1)
+ mwl (mwheel-left 1 1)
+ mwd (mwheel-down 1 1)
+ mwr (mwheel-right 1 1)
+)
+
+(defsrc
+ f17 f18 f19 f20
+ f21 f22 f23 f24
+)
+
+(deflayer mouse
+ @mwl @mwd @mwu @mwr
+ @mal @mad @mau @mar
+)