Skip to content

Commit

Permalink
Update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
edfloreshz committed Oct 21, 2023
1 parent 0bd25c8 commit 9631840
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
- Detect mouse side buttons.

Many thanks to...
- @edfloreshz
- @jackpot51
- @wash2

Expand Down
2 changes: 2 additions & 0 deletions winit/src/conversion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ pub fn mouse_button(mouse_button: winit::event::MouseButton) -> mouse::Button {
winit::event::MouseButton::Left => mouse::Button::Left,
winit::event::MouseButton::Right => mouse::Button::Right,
winit::event::MouseButton::Middle => mouse::Button::Middle,
winit::event::MouseButton::Back => mouse::Button::Back,

Check failure on line 281 in winit/src/conversion.rs

View workflow job for this annotation

GitHub Actions / all

no variant or associated item named `Back` found for enum `winit::event::MouseButton` in the current scope

Check failure on line 281 in winit/src/conversion.rs

View workflow job for this annotation

GitHub Actions / web

no variant or associated item named `Back` found for enum `MouseButton` in the current scope

Check failure on line 281 in winit/src/conversion.rs

View workflow job for this annotation

GitHub Actions / native (macOS-latest, beta)

no variant or associated item named `Back` found for enum `MouseButton` in the current scope
winit::event::MouseButton::Forward => mouse::Button::Forward,

Check failure on line 282 in winit/src/conversion.rs

View workflow job for this annotation

GitHub Actions / all

no variant or associated item named `Forward` found for enum `winit::event::MouseButton` in the current scope

Check failure on line 282 in winit/src/conversion.rs

View workflow job for this annotation

GitHub Actions / web

no variant or associated item named `Forward` found for enum `MouseButton` in the current scope

Check failure on line 282 in winit/src/conversion.rs

View workflow job for this annotation

GitHub Actions / native (macOS-latest, beta)

no variant or associated item named `Forward` found for enum `MouseButton` in the current scope
winit::event::MouseButton::Other(other) => mouse::Button::Other(other),
}
}
Expand Down

0 comments on commit 9631840

Please sign in to comment.