lucassklp / Desktop.Robot

A library used to control your mouse and keyboard programmatically in .NET Core
MIT License
141 stars 25 forks source link

Add Space to Desktop.Robot.Key enum #49

Open RiddleTime opened 1 year ago

p3root commented 1 year ago

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

cdhanna commented 4 months ago

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