Commit Graph

612 Commits

Author SHA1 Message Date
dependabot[bot]
e822101ef1 Bump anyhow from 1.0.79 to 1.0.81
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.79 to 1.0.81.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.79...1.0.81)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 07:16:48 +00:00
Takashi Kokubun
c4127eec24 Use xremap config.yml consistently 2024-03-16 00:46:12 -07:00
Rocco Goßmann
47427fb887
Added info on how to find unknown keynames to Readme. (#438) 2024-03-16 00:45:15 -07:00
dependabot[bot]
9ecf5f77f7 Bump serde_json from 1.0.109 to 1.0.114
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.109 to 1.0.114.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.109...v1.0.114)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 17:19:30 +00:00
dependabot[bot]
d6cd715130 Bump hyprland from 0.3.12 to 0.3.13
Bumps [hyprland](https://github.com/hyprland-community/hyprland-rs) from 0.3.12 to 0.3.13.
- [Release notes](https://github.com/hyprland-community/hyprland-rs/releases)
- [Commits](https://github.com/hyprland-community/hyprland-rs/compare/0.3.12...0.3.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 17:18:36 +00:00
dependabot[bot]
ff0963082e Bump env_logger from 0.10.1 to 0.10.2
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.1...v0.10.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 17:17:37 +00:00
dependabot[bot]
02ff58b53a Bump serde from 1.0.196 to 1.0.197
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.196 to 1.0.197.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.196...v1.0.197)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 17:15:28 +00:00
Takashi Kokubun
1ea5b1e715 Version 0.8.15 2024-02-23 23:36:29 -08:00
45ddd0180c
allow to skip key event on KeyRelease actions (#420) 2024-02-23 23:35:12 -08:00
dependabot[bot]
cfe5b4f855 Bump toml from 0.8.8 to 0.8.9
Bumps [toml](https://github.com/toml-rs/toml) from 0.8.8 to 0.8.9.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.8...toml-v0.8.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 17:48:36 +00:00
dependabot[bot]
e2eb8caa6d Bump serde_with from 3.4.0 to 3.6.0
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.4.0 to 3.6.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.4.0...v3.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 17:47:45 +00:00
dependabot[bot]
61106293a4 Bump anyhow from 1.0.75 to 1.0.79
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.75 to 1.0.79.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.75...1.0.79)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 17:45:38 +00:00
dependabot[bot]
70cf382181 Bump serde_yaml from 0.9.27 to 0.9.31
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.27 to 0.9.31.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.27...0.9.31)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 17:44:35 +00:00
dependabot[bot]
d85dd3c40a Bump regex from 1.10.2 to 1.10.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.2 to 1.10.3.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.10.2...1.10.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 17:44:09 +00:00
Takashi Kokubun
1b8557c1ed Fix invalid examples in README 2024-01-29 22:56:04 -08:00
Takashi Kokubun
4bd851c48c Version 0.8.14 2024-01-08 20:46:02 -08:00
mattamend
3f1c85def6
Add TOML support to xremap (#404)
* Add TOML support to load_configs()

* Add TOML tests to config/tests.rs

* Add TOML to Cargo.toml

* Move toml tests in src/config/tests.rs to below yaml tests

* Add filename extension checker to config parser

---------

Co-authored-by: Matt Amend <matt.a.amend@gmail.com>
2024-01-08 20:44:29 -08:00
Takashi Kokubun
fa6290e2ac Version 0.8.13 2024-01-03 20:20:45 -08:00
Pieter
f2c4eb3e5d
Added shared data field and tests (#402)
* added shared data field and tests

* updated readme
2024-01-03 20:19:29 -08:00
Takashi Kokubun
dc2ef04fa6 Stop failing CI by cosmetic reasons
It's not worth blocking a merge.
2024-01-03 20:18:37 -08:00
dependabot[bot]
f1064620aa Bump log from 0.4.19 to 0.4.20
Bumps [log](https://github.com/rust-lang/log) from 0.4.19 to 0.4.20.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:22:47 +00:00
dependabot[bot]
3fc9c8a4a9 Bump derive-where from 1.2.5 to 1.2.7
Bumps [derive-where](https://github.com/ModProg/derive-where) from 1.2.5 to 1.2.7.
- [Release notes](https://github.com/ModProg/derive-where/releases)
- [Changelog](https://github.com/ModProg/derive-where/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ModProg/derive-where/compare/v1.2.5...v1.2.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:21:30 +00:00
dependabot[bot]
7924f7eaf1 Bump serde_json from 1.0.108 to 1.0.109
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.108 to 1.0.109.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.108...v1.0.109)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:20:51 +00:00
dependabot[bot]
c8dfba9859 Bump env_logger from 0.10.0 to 0.10.1
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.0...v0.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:20:02 +00:00
dependabot[bot]
db80d536c7 Bump x11rb from 0.12.0 to 0.13.0
Bumps [x11rb](https://github.com/psychon/x11rb) from 0.12.0 to 0.13.0.
- [Changelog](https://github.com/psychon/x11rb/blob/master/doc/changelog.md)
- [Commits](https://github.com/psychon/x11rb/compare/v0.12.0...v0.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:19:29 +00:00
dependabot[bot]
b33c310bfb Bump serde from 1.0.190 to 1.0.193
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.190 to 1.0.193.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.193)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 17:08:35 +00:00
dependabot[bot]
713ebcab6e Bump regex from 1.9.6 to 1.10.2
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.6 to 1.10.2.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.9.6...1.10.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 17:07:26 +00:00
dependabot[bot]
0a6a30a658 Bump serde_yaml from 0.9.25 to 0.9.27
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.25 to 0.9.27.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.25...0.9.27)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 17:06:19 +00:00
Elliott Shugerman
f46032a10a
add device to keymap and modmap examples (#381) 2023-11-29 16:03:39 -08:00
Takashi Kokubun
97268d1d92 Version 0.8.12 2023-11-28 21:08:25 -08:00
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
2023-11-28 21:07:20 -08:00
Sean Colsen
6f298b93b8
Clarify docs to say xremap should runx as daemon (#377)
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2023-11-24 21:58:22 -08:00
Billy.Zheng
2b7367618c
Add Alt-backspace config into example/emacs.yml (#369)
* Add Alt-backspace config into example/emacs.yml

* Add C-M-Space config into examples/emacs.yml

* Fix C-s to use C-f fo example/config. Check #369
2023-11-15 09:28:17 -08:00
dependabot[bot]
eb34ef4f46 Bump serde from 1.0.188 to 1.0.190
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.188 to 1.0.190.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.188...v1.0.190)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 17:29:45 +00:00
dependabot[bot]
1cd9d0edf2 Bump indoc from 2.0.3 to 2.0.4
Bumps [indoc](https://github.com/dtolnay/indoc) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/dtolnay/indoc/releases)
- [Commits](https://github.com/dtolnay/indoc/compare/2.0.3...2.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 17:27:23 +00:00
dependabot[bot]
f8fbacee59 Bump serde_json from 1.0.105 to 1.0.108
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.105 to 1.0.108.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.108)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 17:25:41 +00:00
dependabot[bot]
f1ea6c8049 Bump serde_with from 3.3.0 to 3.4.0
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.3.0...v3.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 17:24:29 +00:00
Takashi Kokubun
be51386e42 Revert "Revert "Version 0.8.11""
This reverts commit c063d065c3.
2023-10-09 21:38:12 -07:00
Takashi Kokubun
c2c84387f3 Version 0.8.10 2023-10-09 21:37:07 -07:00
Takashi Kokubun
434a3a79e5 Fix failing tests 2023-10-09 21:36:24 -07:00
Takashi Kokubun
c063d065c3 Revert "Version 0.8.11"
This reverts commit c72d9b67f0.

Revert "Use xremap as the device name by default (#348)"

This reverts commit 26c90bb2b5.

Revert "Version 0.8.10"

This reverts commit d5ccb8c917.
2023-10-09 21:35:26 -07:00
Takashi Kokubun
c72d9b67f0 Version 0.8.11 2023-10-06 23:14:43 -07:00
Takashi Kokubun
26c90bb2b5
Use xremap as the device name by default (#348) 2023-10-06 23:12:19 -07:00
Takashi Kokubun
d5ccb8c917 Version 0.8.10 2023-10-06 23:10:04 -07:00
Takashi Kokubun
f0bd2d5e3c Add REL_WHEEL and REL_HWHEEL if --mouse
Close #260
2023-10-06 23:08:25 -07:00
dependabot[bot]
2bee7a9d15 Bump derive-where from 1.2.1 to 1.2.5
Bumps [derive-where](https://github.com/ModProg/derive-where) from 1.2.1 to 1.2.5.
- [Release notes](https://github.com/ModProg/derive-where/releases)
- [Changelog](https://github.com/ModProg/derive-where/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ModProg/derive-where/compare/v1.2.1...v1.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 17:58:01 +00:00
dependabot[bot]
02ef2e00c4 Bump regex from 1.9.4 to 1.9.6
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.4 to 1.9.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.9.4...1.9.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 17:57:17 +00:00
dependabot[bot]
976f32947a Bump hyprland from 0.3.8 to 0.3.12
Bumps [hyprland](https://github.com/hyprland-community/hyprland-rs) from 0.3.8 to 0.3.12.
- [Release notes](https://github.com/hyprland-community/hyprland-rs/releases)
- [Commits](https://github.com/hyprland-community/hyprland-rs/compare/0.3.8...0.3.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 17:54:53 +00:00
Takashi Kokubun
aa934b2626 Add alt attribute to the image 2023-09-29 22:29:43 -07:00
Takashi Kokubun
3134a8d1b7 Use a different font in the README 2023-09-29 22:26:05 -07:00