private void ParseKBEvent(string kbEvent) { string[] words = kbEvent.Split(new char[] { '+' }, 2); if (words[0] == "UP") { InputGenerator.SendKeyUP(words[1]); } if (words[0] == "DOWN") { InputGenerator.SendKeyDown(words[1]); } }