Commit Graph

58 Commits (master)

Author SHA1 Message Date
κeen 1aaafb1cd1
enable wheel by default (#478) 3 weeks ago
Elliott Shugerman fd3992e486
Support device-specific remapping in config (#380)
* begin threading InputDevice down to `find_modmap`/`find_keymap`

why did i comment this out?

* add to config

* new approach for event/device (wip)

* try passing input_device as its own thing -- same problem

* aha! this works!

* this works too!

* start wiring it together

* that might do it?

* fallback to false, like for application

* fix device.not

* tests (wip)

* tests (wip) | well it compiles

* tests (wip) | just placeholder for now

* move device out of event

* Revert "move device out of event"

This reverts commit c9486ed2adee5f001ebf96d630621fabcb2127a5.

* device desc struct (k0kubun's suggestion)

* get tests passing

* s/InputDeviceDescriptor/InputDeviceInfo/

* add a test

* misc cleanup

* use &str and &Path instead of String and PathBuf

* cargo fmt

* move InputDeviceInfo in device.rs

* more misc cleanup

* documentation

* get rid of extraneous `matches` function

* readme tweak
7 months ago
Takashi Kokubun f0bd2d5e3c Add REL_WHEEL and REL_HWHEEL if --mouse
Close #260
8 months ago
Takashi Kokubun bdb9d0522d Use derived possible values
I don't see any issues in v4.
10 months ago
Takashi Kokubun 01f8428775 cargo fmt 11 months ago
Takashi Kokubun e11d4cda7c Migrate to clap 4 11 months ago
Ching Chang bec3ce9bd5
handle multiple config files (#269)
* handle multiple config files

* shorter variable name

* run formatter

* extend virtual modifiers too
1 year ago
Perseus 17d50df194
Adds RELATIVE event catcher (#187)
close #180
1 year ago
Lae Chen c10006342c
Merge remaps (#217)
* Allow remaps to be merged.

* Fix formatting.
1 year ago
Takashi Kokubun d02446a040
Split ActionDispatcher from EventHandler (#200)
* Introduce Event enum

* Rename KeyAction/Action to ModmapAction/KeymapAction

* Introduce Action enum and ActionDispatcher

* Convert OverrideTimeout to an event

* thread::sleep should also be an Action

* Command should also be an Action

* Make InputEvent an Action

* Start writing tests for EventHandler

* cargo fmt
2 years ago
Roland Fredenhagen c2f8d5d468
fix: libinput dwt support (#196) 2 years ago
Kazuyoshi Kato dfe27fe71d
Add keypress_delay_ms to workaround #179 (#191)
Close #179
2 years ago
Frederick Zhang 8770711b17
Fix clippy warnings 2 years ago
Frederick Zhang 5b0ad05960
Add --mouse option to select mice by default 2 years ago
Takashi Kokubun eec9c848c8
Shorten the main() function 2 years ago
Takashi Kokubun 2738251657
Support modal remapping 2 years ago
Takashi Kokubun 18b68bc001
Merge pull request #82 from k0kubun/remap-timeout
Add timeout_millis for nested remap
2 years ago
Takashi Kokubun 140a478e0d
Eagerly expire a timeout prefix 2 years ago
Takashi Kokubun 89ff895be0
Ungrab devices on ReloadDevices 2 years ago
Takashi Kokubun 479b864188
Polish the help message a little 2 years ago
Roland Fredenhagen 21f45f93f3
config reload 2 years ago
Roland Fredenhagen c23a8cf748
device watcher improvements 2 years ago
Roland Fredenhagen 84639c2a22
support generating completions 2 years ago
Roland Fredenhagen ca2210e2e0
remove dbg 2 years ago
Roland Fredenhagen b3c3c10755
move command line parsing to clap; address clippy 2 years ago
κeen bc280293e5
add an option to show the version 2 years ago
Takashi Kokubun 0c4aabd07e
Commit an unstaged change 2 years ago
Takashi Kokubun d292c59dbe
Implement --watch 2 years ago
Takashi Kokubun 8dd6b254ee
Recover from a removed device 2 years ago
Takashi Kokubun 2ab9008d54
Ignore its own device 2 years ago
Takashi Kokubun d6182c0412
Move event_handler function to another file again 2 years ago
Takashi Kokubun a5f2185766
Add --ignore option
Close #46
2 years ago
Takashi Kokubun 9f69ef8bb6
Refactor module boundaries 2 years ago
κeen 53b2ae58b4
introduce log/env_logger 3 years ago
Takashi Kokubun 4b251b1fce
Feature-flag WM clients 3 years ago
Takashi Kokubun 60e6ada024
Implement SwayClient 3 years ago
Takashi Kokubun 39dbc8a1fe
Support wm_class for X11 3 years ago
Takashi Kokubun c57dbee606
Implement keymap 3 years ago
Takashi Kokubun 0d5f37cae3
Implement EventHandler as a mutable struct 3 years ago
Takashi Kokubun 6fbd45a19a
Implement listing devices 3 years ago
Takashi Kokubun 1a8b2b15d1
Implement CLI 3 years ago
Takashi Kokubun d76ab68d7c
Shorten main function 3 years ago
Takashi Kokubun d9127e8a90
Parse the basic config structure 3 years ago
Takashi Kokubun 2f8029a200
Parse the top-level element 3 years ago
Takashi Kokubun e5ac6af6bd
Use nix crate to call select(2) 3 years ago
Takashi Kokubun fc30cb8bca
Handle all errors properly 3 years ago
Takashi Kokubun 2db606bce3
Start parsing the config 3 years ago
Takashi Kokubun 9cc6bb0006
Implement global modmap 3 years ago
Takashi Kokubun 4061f77694
Infinite loop 3 years ago
Takashi Kokubun 6a8683304c
Revert "Set relative axes"
This reverts commit 4b33dee052.
3 years ago