You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Modifier key naming is inconsistent between VirtualKeyCode and ModifiersState #1343
Noticed this when implementing ModifiersStateChanged on Windows. The control key is CTRL in ModifiersState, but Control in VirtualKeyCode. Similarly, the logo key is LOGO in ModifiersState and Win in VirtualKeyCode.
I don't think it particularly matters which name we end up settling on, but the names should be consistent throughout the API. We should try and resolve this when we do a design pass over the keyboard input API.
Activity
Use consistent modifier key names rust-windowing#1343
New keyboard API for Windows (#1788)
New keyboard API for Windows (rust-windowing#1788)
New keyboard API for Windows (rust-windowing#1788)
Overhaul the Keyboard API
Overhaul the Keyboard API