Commit 10d01251 authored by mercury233's avatar mercury233

prevent more keys from be treating as text input

parent 0cea1bc5
...@@ -658,6 +658,16 @@ bool CGUIEditBox::processKey(const SEvent& event) ...@@ -658,6 +658,16 @@ bool CGUIEditBox::processKey(const SEvent& event)
case KEY_ESCAPE: case KEY_ESCAPE:
case KEY_TAB: case KEY_TAB:
case KEY_SHIFT: case KEY_SHIFT:
case KEY_LSHIFT:
case KEY_RSHIFT:
case KEY_MENU:
case KEY_LMENU:
case KEY_RMENU:
case KEY_LWIN:
case KEY_RWIN:
case KEY_CAPITAL:
case KEY_NUMLOCK:
case KEY_SCROLL:
case KEY_F1: case KEY_F1:
case KEY_F2: case KEY_F2:
case KEY_F3: case KEY_F3:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment