mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-26 20:37:25 +00:00
Clang format
This commit is contained in:
parent
a29be8909d
commit
da4e6b38a8
@ -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…
x
Reference in New Issue
Block a user