Commit Graph

236 Commits

Author SHA1 Message Date
Takashi Kokubun
c57efe9cdf
Version 0.1.0 2021-12-22 04:51:12 -08:00
Takashi Kokubun
fa25470c5f
Merge pull request #39 from k0kubun/rust
Rewrite xremap in Rust
2021-12-22 04:47:54 -08:00
Takashi Kokubun
22190b38d9
Write README.md 2021-12-22 04:04:43 -08:00
Takashi Kokubun
a6be4f00bd
Add troubleshooting messages for X11 2021-12-22 00:12:33 -08:00
Takashi Kokubun
4b0e3ceb36
Implement GnomeClient primarily for Wayland 2021-12-21 23:31:13 -08:00
Takashi Kokubun
6547b4883d
Rename wm_class to application 2021-12-21 20:19:46 -08:00
Takashi Kokubun
4b251b1fce
Feature-flag WM clients 2021-12-21 01:12:35 -08:00
Takashi Kokubun
ecfdcb8de5
Guard from SEGV 2021-12-21 00:24:06 -08:00
Takashi Kokubun
60e6ada024
Implement SwayClient 2021-12-21 00:18:22 -08:00
Takashi Kokubun
d0bffa8c2f
Fix modifier bugs 2021-12-20 23:35:14 -08:00
Takashi Kokubun
387c29d355
Workaround FocusProxy 2021-12-20 22:36:23 -08:00
Takashi Kokubun
bcc4598069
Implement conditional modmap properly 2021-12-20 21:39:45 -08:00
Takashi Kokubun
39dbc8a1fe
Support wm_class for X11 2021-12-20 01:34:33 -08:00
Takashi Kokubun
63ec6948e6
Implement chained remap 2021-12-19 23:16:36 -08:00
Takashi Kokubun
c57dbee606
Implement keymap 2021-12-19 22:11:14 -08:00
Takashi Kokubun
f5695d3bc2
Maintain pressed modifiers 2021-12-19 14:06:05 -08:00
Takashi Kokubun
0d5f37cae3
Implement EventHandler as a mutable struct 2021-12-19 13:25:36 -08:00
Takashi Kokubun
aa3dd2efe3
Implement modmap 2021-12-19 12:59:04 -08:00
Takashi Kokubun
fe696a8956
Implement event multiplexer 2021-12-19 00:23:35 -08:00
Takashi Kokubun
f058c44433
Implement xremap's VirtualDevice 2021-12-18 23:54:54 -08:00
Takashi Kokubun
d21a3e7650
Implement --device option 2021-12-18 23:22:19 -08:00
Takashi Kokubun
5448801473
Implement automatic device selection 2021-12-18 22:59:27 -08:00
Takashi Kokubun
6fbd45a19a
Implement listing devices 2021-12-18 22:15:19 -08:00
Takashi Kokubun
1a8b2b15d1
Implement CLI 2021-12-18 14:39:32 -08:00
Takashi Kokubun
d76ab68d7c
Shorten main function 2021-12-17 23:52:58 -08:00
Takashi Kokubun
ae7d2deff4
Validate extra action keys 2021-12-17 23:43:42 -08:00
Takashi Kokubun
db1c9f5600
Parse remap action 2021-12-17 23:38:12 -08:00
Takashi Kokubun
689ad59163
Parse chained actions 2021-12-17 22:08:28 -08:00
Takashi Kokubun
74ee0f36da
Some abstraction for further extension 2021-12-17 21:19:45 -08:00
Takashi Kokubun
10845ed7c0
Parse KeyPress 2021-12-17 17:07:44 -08:00
Takashi Kokubun
fed0b5526f
Break up config source files 2021-12-17 16:23:45 -08:00
Takashi Kokubun
16615e55d3
Parse Windows keys 2021-12-17 15:39:46 -08:00
Takashi Kokubun
2ee85b8773
Implement key parser 2021-12-17 15:33:52 -08:00
Takashi Kokubun
d9127e8a90
Parse the basic config structure 2021-12-17 11:06:19 -08:00
Takashi Kokubun
2f8029a200
Parse the top-level element 2021-12-16 23:06:34 -08:00
Takashi Kokubun
e5ac6af6bd
Use nix crate to call select(2) 2021-12-16 22:00:00 -08:00
Takashi Kokubun
fc30cb8bca
Handle all errors properly 2021-12-16 21:33:36 -08:00
Takashi Kokubun
2db606bce3
Start parsing the config 2021-12-16 20:34:00 -08:00
Takashi Kokubun
2590a84654
Design the DSL syntax prototype 2021-12-16 20:33:53 -08:00
Takashi Kokubun
9cc6bb0006
Implement global modmap 2021-12-14 00:01:25 -08:00
Takashi Kokubun
4061f77694
Infinite loop 2021-12-13 22:21:31 -08:00
Takashi Kokubun
e29714484c
Change the hard-coded device 2021-12-13 22:20:14 -08:00
Takashi Kokubun
6a8683304c
Revert "Set relative axes"
This reverts commit 4b33dee052.
2021-12-13 22:15:03 -08:00
Takashi Kokubun
1ed2fd9029
cargo fmt 2021-12-13 22:13:37 -08:00
Takashi Kokubun
4b33dee052
Set relative axes 2021-12-13 22:10:08 -08:00
Takashi Kokubun
06b2d04a89
Simulate supported keys 2021-12-13 21:55:22 -08:00
Takashi Kokubun
cc178eb575
Build a virtual device to output events 2021-12-13 00:10:26 -08:00
Takashi Kokubun
0878d52dcb
Add a basic event loop 2021-12-12 23:38:29 -08:00
Takashi Kokubun
efb1db6d3b
Prepare for calling select(2) 2021-12-12 23:38:17 -08:00
Takashi Kokubun
e9c5afb054
Grab the input device 2021-12-12 23:38:14 -08:00