BillyDM / egui-baseview

A baseview backend for the egui Rust GUI library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keyboard layout not respected

helgoboss opened this issue · comments

Hi, thanks for this awesome crate. I noticed that Cmd+Z isn't working as expected to trigger an undo in the text edit widget. I need to press Cmd+Y instead. The reason is that I have a German keyboard layout in which both keys are swapped.

In the official egui-winit integration this works. I checked its source and it translates the logical key instead of the physical key to the egui Key enum. I'm going to push a PR later today.