Skip to content

Commit

Permalink
Added space to keyTap and keyToggle.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Jul 18, 2015
1 parent 523cf3b commit 589ca78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/robotjs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,10 @@ int CheckKeyCodes(char* k, MMKeyCode *key)
{
*key = K_PAGEDOWN;
}
else if (strcmp(k, "space") == 0)
{
*key = K_SPACE;
}
else if (strlen(k) == 1)
{
*key = keyCodeForChar(*k);
Expand Down

0 comments on commit 589ca78

Please sign in to comment.