Skip to content

Commit 9e15608

Browse files
committed
Preparing release
1 parent 6826baf commit 9e15608

File tree

2 files changed

+58
-2
lines changed

2 files changed

+58
-2
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,38 @@
33
All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

6+
## [Version 5.2.0] - 2025-10-25
7+
8+
### Added
9+
10+
- Added directive `@virtual-keys-toggle`, which allows to change the behavior of virtual keys in outputs (#309). e.g.
11+
12+
```bash
13+
@virtual-keys-toggle true # true is (still) the default
14+
15+
# toggle Virtual1
16+
F1 >> Virtual1
17+
```
18+
19+
```bash
20+
@virtual-keys-toggle false
21+
22+
# press Virtual1
23+
F1 >> Virtual1
24+
25+
# release Virtual1
26+
F2 >> !Virtual1
27+
28+
# toggle Virtual1
29+
Virtual1{F3} >> !Virtual1
30+
F3 >> Virtual1
31+
```
32+
33+
### Fixed
34+
35+
- Improved performance of sending mouse events on Windows (#300).
36+
- Fixed output on release with together groups (#306).
37+
638
## [Version 5.1.0] - 2025-10-12
739

840
### Added
@@ -1020,6 +1052,7 @@ The reason for the major version number increment is mainly because of the chang
10201052

10211053
## [Version 1.1.5] - 2020-05-09
10221054

1055+
[version 5.2.0]: https://github.com/houmain/keymapper/compare/5.1.0...5.2.0
10231056
[version 5.1.0]: https://github.com/houmain/keymapper/compare/5.0.0...5.1.0
10241057
[version 5.0.0]: https://github.com/houmain/keymapper/compare/4.12.3...5.0.0
10251058
[version 4.12.3]: https://github.com/houmain/keymapper/compare/4.12.2...4.12.3

README.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ A block continues until the next block (respectively the end of the file). The b
134134
The values of a context can be easily obtained using the _Next Key Info_ function of the tray icon or [keymapperctl](#keymapperctl).
135135

136136
Class and device filters match contexts with the _exact_ same string, others match contexts _containing_ the string.
137-
For finer control [regular expressions](https://en.wikipedia.org/wiki/Regular_expression) can be used. These have to be delimited with slashes. Optionally `i` can be appended to make the comparison case insensitive:
137+
For finer control [regular expressions](https://www.regexone.com) can be used. These have to be delimited with slashes. Optionally `i` can be appended to make the comparison case insensitive:
138138

139139
```javascript
140140
[title = /Visual Studio Code|Code OSS/i]
@@ -240,7 +240,7 @@ C >> Virtual1{}
240240
```bash
241241
# toggle Virtual1 when entering and when leaving context
242242
[title="Firefox"]
243-
ContextActive >> Virtual1 ^ Virtual1
243+
ContextActive >> Virtual1 ^ !Virtual1
244244
```
245245

246246
### Any key
@@ -412,6 +412,29 @@ The following directives, which are lines starting with an `@`, can be inserted
412412
Command4 >> D # error: invalid key 'Command4'
413413
```
414414
415+
- `virtual-keys-toggle` allows to change the behavior of virtual keys in outputs. e.g.
416+
417+
```bash
418+
@virtual-keys-toggle true # true is (still) the default
419+
420+
# toggle Virtual1
421+
F1 >> Virtual1
422+
```
423+
424+
```bash
425+
@virtual-keys-toggle false
426+
427+
# press Virtual1
428+
F1 >> Virtual1
429+
430+
# release Virtual1
431+
F2 >> !Virtual1
432+
433+
# toggle Virtual1
434+
Virtual1{F3} >> !Virtual1
435+
F3 >> Virtual1
436+
```
437+
415438
- `grab-device`, `skip-device`, `grab-device-id`, `skip-device-id` allow to explicitly specify the devices which `keymapperd` should grab. By default all keyboard devices are grabbed and mice only when mouse buttons or wheels were mapped.
416439
The filters work like the [context filters](#context-awareness). e.g.:
417440
```python

0 commit comments

Comments
 (0)