Skip to content

Need to Distinguish Left and Right Keys for "Ctrl, Alt, Shift" on the Keyboard #3636

@rustbasic

Description

@rustbasic

Subject: Need to Distinguish Left and Right Keys for Ctrl, Alt, Shift on the Keyboard

Dear Emilk,

It seems that while it's possible to detect the "left Ctrl" and "left Alt" on the keyboard,
there is no way to determine whether the "right Ctrl" or "right Alt" has been pressed.
In the case of "Shift", even if the right Shift is pressed, it is recognized as Shift.

It would be better if there is a way to differentiate between left and right for "Ctrl, Alt, and Shift" keys.
Additionally, it is necessary to check "CapsLock (*), NumLock, ScrollLock."

This is particularly essential for regions where the "right Alt" key or "right Ctrl" key is commonly used
as a language switch key, not just in English-speaking areas.

Thanks, Emilk.

Library: egui v0.24.0 ( and all versions)
OS: windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions