From 828bedc4c405c9a01e3069db3d8f409e546ccd51 Mon Sep 17 00:00:00 2001 From: minego Date: Wed, 27 Mar 2024 22:05:45 +0000 Subject: [PATCH] Add press_repeat_release --- press_repeat_release.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 press_repeat_release.md diff --git a/press_repeat_release.md b/press_repeat_release.md new file mode 100644 index 0000000..4260f51 --- /dev/null +++ b/press_repeat_release.md @@ -0,0 +1,11 @@ +### Description +This patch adds 3 additional options to the `Key` struct, `on_press`, `on_repeat` and `on_release` which can be used to control which events a key binding should be triggered on. + +NOTE: Due to concerns about patching difficulties this patch does NOT include any changes to `config.def.h`. After applying you will need to add the 3 additional initializers to each key binding. To maintain the default behavior they should all be set to 1, and can be disabled as you see fit. + +### Download +- [git branch](https://codeberg.org/USERNAME/dwl/src/branch/press_repeat_release) +- [2024-03-27](https://codeberg.org/dwl/dwl-patches/raw/branch/main/press_repeat_release/press_repeat_release.patch) + +### Authors +- [minego](https://codeberg.org/minego) \ No newline at end of file