Age | Commit message (Collapse) | Author |
|
Bumps the all group with 7 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.7` | `4.5.13` |
| [libc](https://github.com/rust-lang/libc) | `0.2.155` | `0.2.158` |
| [log](https://github.com/rust-lang/log) | `0.4.21` | `0.4.22` |
| [env_logger](https://github.com/rust-cli/env_logger) | `0.11.3` | `0.11.5` |
| [serde](https://github.com/serde-rs/serde) | `1.0.203` | `1.0.208` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.61` | `1.0.63` |
| [toml](https://github.com/toml-rs/toml) | `0.8.14` | `0.8.19` |
Updates `clap` from 4.5.7 to 4.5.13
- [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/clap_complete-v4.5.7...clap_complete-v4.5.13)
Updates `libc` from 0.2.155 to 0.2.158
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.158/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.155...0.2.158)
Updates `log` from 0.4.21 to 0.4.22
- [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.21...0.4.22)
Updates `env_logger` from 0.11.3 to 0.11.5
- [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.11.3...v0.11.5)
Updates `serde` from 1.0.203 to 1.0.208
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.208)
Updates `thiserror` from 1.0.61 to 1.0.63
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.63)
Updates `toml` from 0.8.14 to 0.8.19
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.14...toml-v0.8.19)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
|
|
refs: https://github.com/wez/evremap/issues/39
|
|
|
|
This is helpful for figuring out which buttons do what
```console
$ evremap debug-events --device-name 'DYGMA DEFY Keyboard'
[2024-06-09T13:35:52Z INFO evremap] KEY_H 1
[2024-06-09T13:35:52Z INFO evremap] KEY_H 0
[2024-06-09T13:35:52Z INFO evremap] KEY_E 1
[2024-06-09T13:35:52Z INFO evremap] KEY_E 0
[2024-06-09T13:35:52Z INFO evremap] KEY_L 1
[2024-06-09T13:35:53Z INFO evremap] KEY_L 0
[2024-06-09T13:35:53Z INFO evremap] KEY_L 1
[2024-06-09T13:35:53Z INFO evremap] KEY_L 0
[2024-06-09T13:35:53Z INFO evremap] KEY_O 1
[2024-06-09T13:35:53Z INFO evremap] KEY_O 0
[2024-06-09T13:35:57Z INFO evremap] KEY_LEFTCTRL 1
[2024-06-09T13:35:57Z INFO evremap] KEY_C 1
[2024-06-09T13:35:57Z INFO evremap] KEY_C 0
```
Thanks to @innovate-invent.
closes: #58
closes: #7
closes: #40
|
|
This is a simple approach for the case where the device isn't
plugged in on startup.
It works by polling the devices in a loop every few seconds.
It is probably better and more robust to use udev rules for
this purpose, but this approach will do for a quick and dirty
ad-hoc user.
closes: #35
closes: #46
closes: #60
|
|
The device name is now optional in the config, and a `--device-name` CLI
parameter allows specifying the device name that will be used.
This allows using the same configuration file with multiple devices,
provided that the devices are known up front.
Note that you will need to spawn one evremap process per device
to remap multiple devices at the same time.
Thanks to @innovate-invent for making a first pass at this:
closes: https://github.com/wez/evremap/pull/59
refs: https://github.com/wez/evremap/issues/17
|
|
|
|
|
|
Bumps the all group with 5 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.82` | `1.0.86` |
| [libc](https://github.com/rust-lang/libc) | `0.2.154` | `0.2.155` |
| [serde](https://github.com/serde-rs/serde) | `1.0.200` | `1.0.202` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.59` | `1.0.61` |
| [toml](https://github.com/toml-rs/toml) | `0.8.12` | `0.8.13` |
Updates `anyhow` from 1.0.82 to 1.0.86
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.82...1.0.86)
Updates `libc` from 0.2.154 to 0.2.155
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.154...0.2.155)
Updates `serde` from 1.0.200 to 1.0.202
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.200...v1.0.202)
Updates `thiserror` from 1.0.59 to 1.0.61
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.59...1.0.61)
Updates `toml` from 0.8.12 to 0.8.13
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.12...toml-v0.8.13)
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add option to configure startup delay
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
|
|
|
|
it's confusing to launch the program and see an error message that's not
actually an error
fixes #25
|
|
|
|
|
|
For users without GDM installed, use `mutli-user.target` as a generic
`WantedBy` target in the example systemd service file.
|
|
Change directories in the example systemd service file to system
directories.
|
|
:nerd_face:
|
|
Signed-off-by: Hristo Mitrev <hr.mitrev@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Adds the `phys` info for the device to the list
* Orders names by name first then by the eventXXX number component so
that there is a "stable" ordering for a given set of inputs
* When a name has ambiguous matches, warnings are logged to advise the
user how to resolve them.
Example:
```
; cat /tmp/evremap.toml
device_name = "Power Button"
```
```
sudo ./target/debug/evremap remap /tmp/evremap.toml
2021-11-24T10:04:40.885 ERROR evremap > Short delay: release any keys now!
2021-11-24T10:04:43.084 WARN evremap::deviceinfo > The following devices match name `Power Button`:
2021-11-24T10:04:43.084 WARN evremap::deviceinfo > DeviceInfo { name: "Power Button", path: "/dev/input/event0", phys: "PNP0C0C/button/input0" }
2021-11-24T10:04:43.084 WARN evremap::deviceinfo > DeviceInfo { name: "Power Button", path: "/dev/input/event1", phys: "LNXPWRBN/button/input0" }
2021-11-24T10:04:43.084 WARN evremap::deviceinfo > evremap will use the first entry. If you want to use one of the others, add the corresponding phys value to your configuration, for example, `phys = "LNXPWRBN/button/input0"` for the second entry in the list.
2021-11-24T10:04:43.085 ERROR evremap::remapper > Going into read loop
```
refs: #2
closes: #3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|