Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match output of Keysym::name() with xdotools names #18

Open
pentamassiv opened this issue Oct 7, 2023 · 2 comments · May be fixed by #27
Open

Match output of Keysym::name() with xdotools names #18

pentamassiv opened this issue Oct 7, 2023 · 2 comments · May be fixed by #27

Comments

@pentamassiv
Copy link
Contributor

I am writing a library that uses xdotools to enter keys. In the documentation of the Keysym::name() fn it says:

Get a string corresponding to the name of this keyboard symbol.
The output of this function is **not stable** and is **intended for debugging purposes**.

Are there any thoughts to change this policy? It would be nice if I could use it. In order for the names to match, the "XK_" part would have to be removed.

@notgull
Copy link
Member

notgull commented Oct 22, 2023

If there is a way to make sure that the output is stable, like for xdotools, I would accept a PR to fix this.

@pentamassiv
Copy link
Contributor Author

Okay, cool. I'll open a PR :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants