mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
C++11 cleanup on constructors dir client (#6012)
* C++11 cleanup on constructors dir client
This commit is contained in:
parent
76074ad81a
commit
af3badf7a9
6 changed files with 71 additions and 125 deletions
|
@ -154,12 +154,9 @@ JoystickLayout create_xbox_layout()
|
|||
return jlo;
|
||||
}
|
||||
|
||||
JoystickController::JoystickController()
|
||||
JoystickController::JoystickController() :
|
||||
doubling_dtime(g_settings->getFloat("repeat_joystick_button_time"))
|
||||
{
|
||||
m_joystick_id = 0;
|
||||
|
||||
doubling_dtime = g_settings->getFloat("repeat_joystick_button_time");
|
||||
|
||||
for (size_t i = 0; i < KeyType::INTERNAL_ENUM_COUNT; i++) {
|
||||
m_past_pressed_time[i] = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue