Commit Graph

417 Commits

Author SHA1 Message Date
Takashi Kokubun
bc2c7aaa10
Version 0.7.3 2022-08-21 10:08:51 -07:00
Takashi Kokubun
c38f9e9cc6
Dispatch the original key on press/release as well 2022-08-21 10:07:38 -07:00
Takashi Kokubun
4ebce8ee14
Version 0.7.2 2022-08-15 23:55:23 -07:00
Takashi Kokubun
9b0c084a5d
Fix a bug in extra_modifiers
```
keymap:
  - remap:
      RO: Shift-RO
```

When you press Shift-RO, Shift is considered extra_modifiers (against
source KeyPress) and it was released after Shift-RO. This patch fixes
that case.
2022-08-15 23:53:17 -07:00
Takashi Kokubun
e8d30a3e38
Version 0.7.1 2022-08-14 16:09:28 -07:00
Takashi Kokubun
be7d11e244
Keep extra modifiers on KeyPress 2022-08-14 16:08:26 -07:00
Takashi Kokubun
53f37c1353
Syntax-highlight an example 2022-08-14 13:11:43 -07:00
Takashi Kokubun
ce3b9a26d0
Version 0.7.0 2022-08-14 13:06:25 -07:00
Takashi Kokubun
b2ff35872c
Merge pull request #147 from k0kubun/reimagine-modifiers
Replace modifier: true with virtual_modifiers
2022-08-14 13:05:07 -07:00
Takashi Kokubun
c8c4574d0f
Replace modifier: true with virtual_modifiers 2022-08-14 13:03:44 -07:00
Takashi Kokubun
1c508583df
Add a missing word in a comment 2022-08-14 10:45:15 -07:00
Takashi Kokubun
e8409fd504
Version 0.6.2 2022-08-14 10:43:37 -07:00
Takashi Kokubun
8a3602fa05
Avoid emitting logical modifiers
when adjusting modifiers on KeyPress

addresses https://github.com/k0kubun/xremap/issues/124#issuecomment-1214346914
2022-08-14 10:42:06 -07:00
Takashi Kokubun
54e9730ed5
Version 0.6.1 2022-08-14 02:45:07 -07:00
Takashi Kokubun
e084bb0575
Merge pull request #146 from k0kubun/logical-modifiers
Support logical modifiers
2022-08-14 02:44:14 -07:00
Takashi Kokubun
feb6bfe693
Support logical modifiers 2022-08-14 02:41:01 -07:00
Takashi Kokubun
6c69b04daf
Version 0.6.0 2022-08-14 02:10:45 -07:00
Takashi Kokubun
f03f510e59
Merge pull request #145 from k0kubun/modifier-lookup-v2
Make modifier lookup more efficient and flexible
2022-08-14 02:06:01 -07:00
Takashi Kokubun
04e94ea9f4
Make modifier lookup more efficient and flexible
Close #102
2022-08-14 01:57:24 -07:00
Takashi Kokubun
41bec30743
Version 0.5.3 2022-08-13 19:35:25 -07:00
Takashi Kokubun
a448a24ec8
Make it possible to match a full WM_CLASS in X11
Close #107
2022-08-13 19:29:25 -07:00
Takashi Kokubun
98d5589ce7
Version 0.5.2 2022-08-13 16:17:51 -07:00
Takashi Kokubun
51a701188d
Merge pull request #144 from k0kubun/timeout_key
Support overriding timeout_key on nested remap
2022-08-13 16:16:34 -07:00
Takashi Kokubun
ab7cdafb72
Support overriding timeout_key on nested remap 2022-08-13 16:11:10 -07:00
Takashi Kokubun
45d6d78490
Version 0.5.1 2022-08-13 14:19:21 -07:00
Takashi Kokubun
5462b1604d
Merge pull request #79 from k0kubun/command-key
Support executing commands on press/release events
2022-08-13 14:18:23 -07:00
Takashi Kokubun
788624b953
Support executing commands on press/release events 2022-08-13 14:15:21 -07:00
Takashi Kokubun
10f7b1e33f
Version 0.5.0 2022-08-11 21:29:16 -07:00
Takashi Kokubun
a01709c38c
Fix the directory 2022-08-11 21:17:57 -07:00
Takashi Kokubun
9c5edb5bbf
Merge pull request #104 from k0kubun/cross-rs
Cross-compile artifacts and support arm64
2022-08-11 21:16:05 -07:00
Takashi Kokubun
7e0f55d513
Cross-compile artifacts and supports arm64 2022-08-11 21:10:20 -07:00
Takashi Kokubun
2e898cea84
Fix CI failure
First, it's weird that the latest revision passed CI and then started
failing on scheduled builds and pull requests.

Second, I don't want to waste time adopting or configuring somebody
else's cosmetic prefernce such as:

53 |     return Err(format!("unknown key '{}'", input).into());
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove `return`: `Err(format!("unknown key '{}'", input).into())`

which is causing the current CI failure. It's not really detecting a
"mistake", which cargo clippy claims to point out.
2022-08-11 19:31:44 -07:00
Takashi Kokubun
6188d5eff8
Version 0.4.6 2022-08-11 03:25:16 -07:00
Takashi Kokubun
f34e081133
Merge pull request #142 from k0kubun/x11rb
Migrate from x11 crate to x11rb crate
2022-08-11 02:18:05 -07:00
Takashi Kokubun
8c19b0bb88
Merge pull request #140 from Frederick888/mice-option
Add --mouse command line option
2022-08-11 02:13:31 -07:00
Takashi Kokubun
ea362b8663
Migrate from x11 crate to x11rb crate 2022-08-11 02:11:29 -07:00
Frederick Zhang
a7056394f5
Avoid monitoring xremap virtual device
When a device is removed, xremap re-selects devices. Now since xremap is
already running and the virtual device already exists, we need to filter
it out from the new device list.
2022-08-11 19:00:49 +10:00
Frederick Zhang
8770711b17
Fix clippy warnings 2022-08-11 19:00:44 +10:00
Frederick Zhang
d2f6a9c73f
Add cargo clippy to GH Actions 2022-08-11 19:00:12 +10:00
Frederick Zhang
5b0ad05960
Add --mouse option to select mice by default 2022-08-11 19:00:08 +10:00
Takashi Kokubun
42d0842187
Version 0.4.5 2022-08-09 21:17:47 -07:00
Takashi Kokubun
db55fa2d73
Merge pull request #138 from Frederick888/application-regex
Support regex for application names
2022-08-09 21:16:18 -07:00
Frederick Zhang
008fabaf80
Support regex for application names 2022-08-09 19:32:34 +10:00
Takashi Kokubun
41462c123f
Merge pull request #136 from k0kubun/dependabot/cargo/clap-3.2.16
Bump clap from 3.2.8 to 3.2.16
2022-08-08 00:51:27 -07:00
Takashi Kokubun
998029dae6
Merge pull request #137 from k0kubun/dependabot/cargo/serde_yaml-0.9.4
Bump serde_yaml from 0.8.24 to 0.9.4
2022-08-08 00:51:17 -07:00
dependabot[bot]
cfedaf17d6
Bump clap from 3.2.8 to 3.2.16
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.8 to 3.2.16.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.8...v3.2.16)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 05:28:16 +00:00
dependabot[bot]
79a958facd
Bump serde_yaml from 0.8.24 to 0.9.4
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.8.24 to 0.9.4.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.24...0.9.4)

---
updated-dependencies:
- dependency-name: serde_yaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 05:28:08 +00:00
Takashi Kokubun
5cdf27de44
Merge pull request #135 from k0kubun/dependabot/cargo/indoc-1.0.7
Bump indoc from 1.0.6 to 1.0.7
2022-08-07 22:27:28 -07:00
dependabot[bot]
e5bc7147f1
Bump indoc from 1.0.6 to 1.0.7
Bumps [indoc](https://github.com/dtolnay/indoc) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/dtolnay/indoc/releases)
- [Commits](https://github.com/dtolnay/indoc/compare/1.0.6...1.0.7)

---
updated-dependencies:
- dependency-name: indoc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 03:38:23 +00:00
Takashi Kokubun
f79fb90c75
Merge pull request #133 from k0kubun/dependabot/cargo/serde-1.0.141
Bump serde from 1.0.137 to 1.0.141
2022-08-01 20:38:07 -07:00