Skip to content

Commit

Permalink
Mention mouse wheel rotation change in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TolikPylypchuk committed Aug 10, 2023
1 parent 3bba129 commit bad76a7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ meaningless and may be changed again in the future.
- `MouseWheelEventData` doesn't contain `Amount` anymore.

- Mouse wheel simulation doesn't accept the amount anymore. Instead it accepts the scroll direction and type which
makes it possible to simulate horizontal scrolling.
makes it possible to simulate horizontal scrolling. The meaning of the rotation value was changed - a positive value
indicates that the wheel is rotated up or left, and a negative value indicates that the wheel is rotated down or right.

- `KeyboardEventData.KeyChar` was renamed to `KeyboardEventData.RawKeyChar` and the `KeyboardEventData.KeyChar` property
was added.
Expand Down
3 changes: 2 additions & 1 deletion docs/articles/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ meaningless and may be changed again in the future.
- `MouseWheelEventData` doesn't contain `Amount` anymore.

- Mouse wheel simulation doesn't accept the amount anymore. Instead it accepts the scroll direction and type which
makes it possible to simulate horizontal scrolling.
makes it possible to simulate horizontal scrolling. The meaning of the rotation value was changed - a positive value
indicates that the wheel is rotated up or left, and a negative value indicates that the wheel is rotated down or right.

- `KeyboardEventData.KeyChar` was renamed to `KeyboardEventData.RawKeyChar` and the `KeyboardEventData.KeyChar` property
was added.
Expand Down
4 changes: 3 additions & 1 deletion docs/articles/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ may be changed again in the future. Make sure to only use the enum constant name

Mouse wheel events were changed. `MouseWheelEventData` doesn't contain `Amount` anymore - instead only `Rotation` should
be considered the value of the scroll. Mouse wheel simulation was changed as well and doesn't accept the amount anymore.
Instead it accepts the scroll direction and type which makes it possible to simulate horizontal scrolling.
Instead it accepts the scroll direction and type which makes it possible to simulate horizontal scrolling. The
meaning of the `Rotation` value was changed - a positive value indicates that the wheel is rotated up or left, and
a negative value indicates that the wheel is rotated down or right.

`KeyboardEventData.KeyChar` was renamed to `KeyboardEventData.RawKeyChar`. Since the key char is of type `ushort` for
marshalling reasons but should be used as a `char`, the `KeyboardEventData.KeyChar` property was added, which simply
Expand Down

0 comments on commit bad76a7

Please sign in to comment.