Skip to content

Commit

Permalink
Merge pull request #707 from toymil/doc-windows-key-repeat
Browse files Browse the repository at this point in the history
doc: add documentation of key repeat settings on Windows
  • Loading branch information
slotThe committed Jun 19, 2023
2 parents 97ac050 + e974a05 commit 677f8fb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions keymap/tutorial.kbd
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,18 @@
programs that capture keyboard input like AHK. You specify windows output using:
(send-event-sink)

Specific to Windows, KMonad also handles key auto-repeat. Therefore your
Windows system settings for key repeat delay and key repeat rate will have no
effect when KMonad is running. To set the repeat delay and rate from KMonad,
pass the optional arguments pair to `send-event-sink`:
(send-event-sink [ <delay> <rate> ])
where:
<delay> : how many ms before a key starts repeating
<rate> : how many ms between each repeat event
A value of 500 ms delay and 30 ms rate should mimic the default Windows
settings pretty well:
(send-event-sink 500 30)


-- Mac OS -----

Expand Down

0 comments on commit 677f8fb

Please sign in to comment.