Skip to content

Keycode 121 and 122 (for Korean) are not recognized in xev #98

@letrhee

Description

@letrhee

Environment

Windows build number: 10.0.21364.1000
Your Distribution version: Ubuntu 20.04
Your WSLg version: 1.0.17.1

Steps to reproduce

  • Prepare a 106-key keyboard for Koreans
  • xev &
  • Enter 한/영키(Korean<->English shift, Keycode 122) and 한자키(Convert Chinese character, Keycode 121)

Unlike other keys, not recognized
(FYI, media keys also do not work)

If you plan to integrate the Windows IME in WSLg, you may not need to pass these keys (except maybe some media keys). If not, I think it's a good idea to send the keystrokes to the Linux app.

WSL logs:

Expected behavior

Keycode appears normally in xev

xev_capture

This screenshot was taken using Ubuntu 20.04 running on Hyper-V (microsoft/linux-vm-tools#106 applied).

Actual behavior

Not recognized in xev

xev_not_work

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions