Skip to content

appkit: Implementation of keycode_to_key#4455

Draft
Aceeri wants to merge 4 commits intorust-windowing:masterfrom
Aceeri:keycode_to_key_appkit
Draft

appkit: Implementation of keycode_to_key#4455
Aceeri wants to merge 4 commits intorust-windowing:masterfrom
Aceeri:keycode_to_key_appkit

Conversation

@Aceeri
Copy link
Copy Markdown
Contributor

@Aceeri Aceeri commented Dec 30, 2025

#2678

win32: #4454

  • Tested on all platforms changed
  • Added an entry to the changelog module if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • Created or updated an example program if it would help users understand this functionality

Abusing the IME example a bit to call the winit_appkit::keycode_to_key(...):

Screen_Recording_2025-12-29_at_6.34.04_PM.mov

@madsmtm madsmtm added the DS - appkit Affects the AppKit/macOS backend label Jan 28, 2026
@NeuralModder
Copy link
Copy Markdown

Thanks for starting work on this. When I looked at the platform APIs I was concerned that this would be difficult, as I couldn't find an equivalent way to query this information from a layout with Cocoa, and Carbon is supposed to be "deprecated". But it seems winit already uses Carbon, so it seems like that isn't much of a problem.

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

Labels

DS - appkit Affects the AppKit/macOS backend

Development

Successfully merging this pull request may close these issues.

3 participants