mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 04:39:42 +00:00
Clang format
This commit is contained in:
parent
a29be8909d
commit
da4e6b38a8
1 changed files with 4 additions and 6 deletions
|
@ -214,12 +214,10 @@ namespace MWLua
|
|||
input->setGamepadGuiCursorEnabled(v);
|
||||
MWBase::Environment::get().getWindowManager()->setCursorActive(v);
|
||||
};
|
||||
api["_selectNextMenuElement"] = []() {
|
||||
MWBase::Environment::get().getWindowManager()->injectKeyPress(MyGUI::KeyCode::Period, 0, false);
|
||||
};
|
||||
api["_selectPrevMenuElement"] = []() {
|
||||
MWBase::Environment::get().getWindowManager()->injectKeyPress(MyGUI::KeyCode::Slash, 0, false);
|
||||
};
|
||||
api["_selectNextMenuElement"]
|
||||
= []() { MWBase::Environment::get().getWindowManager()->injectKeyPress(MyGUI::KeyCode::Period, 0, false); };
|
||||
api["_selectPrevMenuElement"]
|
||||
= []() { MWBase::Environment::get().getWindowManager()->injectKeyPress(MyGUI::KeyCode::Slash, 0, false); };
|
||||
api["getMouseMoveX"] = [input]() { return input->getMouseMoveX(); };
|
||||
api["getMouseMoveY"] = [input]() { return input->getMouseMoveY(); };
|
||||
api["getAxisValue"] = [input](int axis) {
|
||||
|
|
Loading…
Reference in a new issue