Skip to content

Commit 98be76f

Browse files
committed
Preparing release
1 parent fb653f4 commit 98be76f

File tree

2 files changed

+20
-13
lines changed

2 files changed

+20
-13
lines changed

CHANGELOG.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,19 @@
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.0.0] - Unreleased
6+
## [Version 5.0.0] - 2025-09-02
77

88
The reason for the major version number increment is mainly because of the changed behavior of `;`. Up until 4.9 it was documented to start comments like `#`. Otherwise all configurations should work like before.
99

1010
### Added
1111

1212
- Allow to separate multiple mappings on one line with `;`. This is useful for macros which generate multiple mappings. e.g.:
13-
1413
```bash
1514
swap = $0 >> $1 ; $1 >> $0
1615
swap[Y, Z]
1716
```
1817

1918
- Allow to add mappings for inputs which are released. e.g.:
20-
2119
```bash
2220
# trigger when A is released
2321
!A >> B
@@ -29,36 +27,45 @@ The reason for the major version number increment is mainly because of the chang
2927
!A !B >> C
3028
```
3129

32-
- Releasing virtual key when used as modifier. e.g.:
30+
- Toggling virtual keys can also have immediate effects. Using them as modifiers is toggling them twice:
3331
```bash
3432
# toggle Virtual1 before and after pressing B
35-
# this effectively maps A to A B C
33+
# this effectively maps D to A B C
3634
Virtual1 >> A ^ C
37-
A >> Virtual1{B}
35+
D >> Virtual1{B}
3836
39-
# it can also be empty. This maps A to A B
40-
Virtual2 >> A ^ B
41-
A >> Virtual2{}
37+
# {} may also be empty. This maps C to A B
38+
Virtual2 >> B
39+
Virtual1 >> A Virtual2{}
40+
C >> Virtual1{}
41+
```
42+
43+
- Automatically replace `Virtual` with an unused virtual key. e.g.:
44+
```bash
45+
# assign different virtual keys to VimMode and CapsWord
46+
VimMode = Virtual
47+
CapsWord = Virtual
4248
```
4349

44-
- Added `keymapperctl` operation `--notify` for showing notifications. e.g.:
50+
- Added `keymapperctl` operation `--notify` for showing notifications (#282). e.g.:
4551
```bash
4652
notify = $(keymapperctl --notify "$0")
4753
F1 >> notify["Test"]
4854
```
4955

50-
- Added `toggle-active` directive which allows to set a sequence which de-/activates keymapper (#283). e.g.:
56+
- Added `toggle-active` directive, which allows to set a sequence that de-/activates keymapper (#283). e.g.:
5157

5258
```python
5359
@toggle-active ScrollLock
5460
```
5561

56-
- Added `include-optional` directive which includes a file but does not fail when file does not exist.
62+
- Added `include-optional` directive, which includes a file but does not fail when file does not exist.
5763

5864
### Fixed
5965

6066
- Fixed suppressed modifiers getting reapplied (#291).
6167
- Fixed loading config from `"%HOME%\.config\keymapper"` on Windows (#292).
68+
- Properly releasing keys when UAC prompt appeared on Windows.
6269

6370
## [Version 4.12.3] - 2025-07-13
6471

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ For convenience aliases for keys and even sequences can be defined. e.g.:
317317

318318
```bash
319319
Win = Meta
320-
Boss = Virtual # selects next unused virtual key
320+
Boss = Virtual # assigns an unused virtual key
321321
Alt = AltLeft | AltRight # defines a logical key
322322
proceed = Tab Tab Enter
323323
```

0 commit comments

Comments
 (0)