Skip to content

Commit

Permalink
doc: mouse wheel in defsrc (#603)
Browse files Browse the repository at this point in the history
This is intentionally omitted from kanata.kbd right now since it is
unsupported in the default LLHOOK mechanism of Windows.
  • Loading branch information
jtroo authored Nov 4, 2023
1 parent 28bed11 commit 36be5b2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,17 @@ NOTE: In Linux, not all desktop environments support the `REL_WHEEL_HI_RES` even
If this is the case for yours,
it will likely be a better experience to use a distance value that is a multiple of 120.

On Linux and Interception, you can also choose to read from a mouse device.
When doing so, using the `mwu`, `mwd`, `mwl`, `mwr` key names in `defsrc`
allow you to remap the mouse scroll up/down/left/right actions like you would
with keyboard keys.

NOTE: If you are using a high-resolution mouse in Linux,
only a full "notch" of the scroll wheel will activate the action.

NOTE: If you are using a high-resolution mouse with Interception,
you will probably get way more events than you intended.

[[mouse-movement]]
==== Mouse movement
<<table-of-contents,Back to ToC>>
Expand Down

0 comments on commit 36be5b2

Please sign in to comment.