Skip to content

Commit

Permalink
Console|Fixed: Math operator keys on the keyboard numpad now work
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Feb 13, 2012
1 parent a06338d commit f839838
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doomsday/engine/portable/src/dd_input.c
Expand Up @@ -1072,6 +1072,18 @@ byte DD_ModKey(byte key)
{
return '/';
}
else if(key == DDKEY_SUBTRACT)
{
return '-';
}
else if(key == DDKEY_ADD)
{
return '+';
}
else if(key == DDKEY_DECIMAL)
{
return '.';
}

return key;
}
Expand Down

0 comments on commit f839838

Please sign in to comment.