这是indexloc提供的服务,不要输入任何密码
Skip to content

serde alias for windows/super key #498

@bannmann

Description

@bannmann

Is your feature request related to a problem? Please describe.
Writing the serde data to simulate input that involves the Windows key is non-obvious and harder than it should be.

As an example, consider Win-E (which opens a file explorer window). For that, one has to use one of the following:

  • [k(Windows,p),k(uni('e')),k(Windows,r)]
  • [k(Super,p),k(uni('e')),k(Super,r)]

It took me a while to figure this out. Specifically, seeing the lowercase "ctrl" in k(ctrl,p),k(uni('a')),k(ctrl,r) as part of the example, I did not realize immediately that windows or super would not work.

Describe the solution you'd like
Please introduce "win" and "super" as case-insensitive aliases for the respective key, just like "ctrl" for "Control".

Describe alternatives you've considered
none

Additional context
This is in the context of configuring an OpenDeck's "Input Simulation" button, where one has to enter the serde data. My original issue was nekename/OpenDeck#160, where I was sent here.

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