Skip to content

Update winit_input_helper requirement from 0.14 to 0.17#4

Closed
dependabot[bot] wants to merge 1 commit intoaxiom_zerofrom
dependabot/cargo/winit_input_helper-0.17
Closed

Update winit_input_helper requirement from 0.14 to 0.17#4
dependabot[bot] wants to merge 1 commit intoaxiom_zerofrom
dependabot/cargo/winit_input_helper-0.17

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 28, 2026

Updates the requirements on winit_input_helper to permit the latest version.

Changelog

Sourced from winit_input_helper's changelog.

Changelog

This changelog is written with the goal of helping you through breaking changes rather than being a complete documentation of every change in the release.

0.17

Upgraded to winit 0.30

Winit 0.30 overhauled the event loop -- now everything occurs through the ApplicationHandler. Now rather than simply calling WinitInputHandler.update(), you have to call 4 different functions: .process_window_event(), .process_device_event(), .step(), and .end_step(), each in the corresponding function within ApplicationHandler.

The recommendations this crate gives about where to render and run your application logic have also been updated to match new guidance. As update() has been removed, it no longer returns true when you should run application logic. Instead, run your application logic after calling .process_about_to_wait() in ApplicationHandler::about_to_wait(). Run rendering code in ApplicationHandler::window_event() only when .process_window_event() returns true, indicating it received a RequestedRedraw event. It doesn't care about which window was requested to be redrawn, but if you do, you'll have to handle it yourself. If you want to render every frame, remember to call Window::request_redraw() in ApplicationHandler::about_to_wait() every time.

step_with_window_events removed

It seemed kind of broken since it doesnt process device events. And winit 0.30 makes this issue even worse. Something similar could be reintroduced in the future with more thought put into it.

0.16

0.15

Upgraded to winit 0.29. Winit 0.29 completely overhauled its keyboard API, which meant that I had to also overhaul our keyboard API.

Previously winit_input_helper favored logical keys over physical keys (previously called scancodes). But this was a mistake, driven by winit's poor support for physical keys and mistaken simplification of logical keys. Winit has now fixed these mistakes and as a result winit_input_helper is now swapping to favor physical keys.

A direct translation of the previous API to the new API:

// old
input.key_pressed_scancode(17); // US scan code for W
// new
input.key_presed(winit::keyboard::KeyCode::KeyW);
// old
input.key_pressed(winit::event::VirtualKeyCode::KeyW);
// new
input.key_presed_logical(winit::keyboard::Key::Character("w")); // WARNING: this likely wont actually do what you want, this will never return true while shift is held since that is considered as W instead of w
</tr></table>

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [winit_input_helper](https://github.com/rukai/winit_input_helper) to permit the latest version.
- [Changelog](https://github.com/rukai/winit_input_helper/blob/main/changelog.md)
- [Commits](https://github.com/rukai/winit_input_helper/commits)

---
updated-dependencies:
- dependency-name: winit_input_helper
  dependency-version: 0.17.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jan 28, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 28, 2026

Dependabot attempted to update this pull request, but because the branch dependabot/cargo/winit_input_helper-0.17 is protected it was unable to do so.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 28, 2026

Looks like winit_input_helper is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jan 28, 2026
@gd2bk1ng
Copy link
Owner

Updated manually as part of ecosystem refactor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant