| 134 | } |
| 135 | |
| 136 | void DemoKeeper::injectMouseRelease(int _absx, int _absy, MyGUI::MouseButton _id) |
| 137 | { |
| 138 | if (MyGUI::Gui::getInstancePtr() == nullptr) |
| 139 | return; |
| 140 | |
| 141 | if (_id == MyGUI::MouseButton::Right) |
| 142 | { |
| 143 | mRightButtonPressed = false; |
| 144 | setPointerVisible(true); |
| 145 | } |
| 146 | |
| 147 | if (!MyGUI::InputManager::getInstance().injectMouseRelease(_absx, _absy, _id)) |
| 148 | { |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | void DemoKeeper::injectKeyPress(MyGUI::KeyCode _key, MyGUI::Char _text) |
| 153 | { |
no test coverage detected