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

Add Space to Desktop.Robot.Key enum #49

Open
RiddleTime opened this issue Sep 18, 2023 · 2 comments
Open

Add Space to Desktop.Robot.Key enum #49

RiddleTime opened this issue Sep 18, 2023 · 2 comments

Comments

@RiddleTime
Copy link

No description provided.

@p3root
Copy link

p3root commented Nov 9, 2023

@lucassklp possible? Should I create a PR for that?

@cdhanna
Copy link
Contributor

cdhanna commented Jun 28, 2024

hey, I ran into this issue as well. I looked up the scancodes for mac and windows and added an enum entry. I don't know the scancode for linux, and I don't need it right now, so I'm not going to open a PR.

But its pretty easy to fork the library and add this to the bottom of the Desktop.Robot/Desktop.Robot/Key.cs enum.

[Keycode(Platform = "OSX", Keycode = 49)]
[Keycode(Platform = "Windows", Keycode = 32)]
Space

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

No branches or pull requests

3 participants