Desktop.Robot icon indicating copy to clipboard operation
Desktop.Robot copied to clipboard

Add Space to Desktop.Robot.Key enum

Open RiddleTime opened this issue 2 years ago • 2 comments

RiddleTime avatar Sep 18 '23 22:09 RiddleTime

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

p3root avatar Nov 09 '23 15:11 p3root

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

cdhanna avatar Jun 28 '24 14:06 cdhanna