Skip to content

Issue with number key mapping #3415

@mkrueger

Description

@mkrueger

Seems I don't get egui::Event::Key events for the number keys when shift is pressed - works with any other modifier.
And shift seems to work with other keys as well, but the numbers:

        if ui.input(|i| i.key_pressed(egui::Key::Num1)) {
            print!("1 pressed!");
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions