| 97 | } |
| 98 | |
| 99 | void sendLetterKeyPress(char letter) |
| 100 | { |
| 101 | int retry = 200; |
| 102 | do { |
| 103 | if (cemucore::sendLetterKeyPress(letter)) { |
| 104 | break; |
| 105 | } |
| 106 | cemucore::emu_run(50); |
| 107 | } while(retry--); |
| 108 | } |
| 109 | |
| 110 | typedef std::function<void(const std::string&)> seq_cmd_func_t; |
| 111 | typedef std::function<void(void)> seq_cmd_action_func_t; |