mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-07 19:18:19 +02:00
More cases for KeyCode.Parse
This commit is contained in:
parent
40c4f202e0
commit
96f8b1426d
1 changed files with 8 additions and 0 deletions
|
@ -160,6 +160,14 @@ namespace Beefy.widgets
|
|||
return (KeyCode)Period;
|
||||
if (c == ',')
|
||||
return (KeyCode)Comma;
|
||||
if (c == ' ')
|
||||
return (KeyCode)Space;
|
||||
if (c == '-')
|
||||
return (KeyCode)Minus;
|
||||
if (c == '+')
|
||||
return (KeyCode)Add;
|
||||
if (c == '=')
|
||||
return (KeyCode)Equals;
|
||||
}
|
||||
|
||||
if (str.StartsWith("0x"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue