Enable screen keyboard on android even if there is no touch device.
It may be still useful for gamepad.
This commit is contained in:
parent
30b1799b6e
commit
ec25a9d368
@ -40,15 +40,17 @@ void override_default_params()
|
||||
// Disable advanced lighting by default to make the game playable
|
||||
UserConfigParams::m_dynamic_lights = false;
|
||||
|
||||
// Enable touch steering and screen keyboard when touchscreen is available
|
||||
// Enable multitouch device when touchscreen is available
|
||||
int32_t touch = AConfiguration_getTouchscreen(global_android_app->config);
|
||||
|
||||
if (touch != ACONFIGURATION_TOUCHSCREEN_NOTOUCH)
|
||||
{
|
||||
UserConfigParams::m_multitouch_enabled = true;
|
||||
UserConfigParams::m_screen_keyboard = 1;
|
||||
}
|
||||
|
||||
// Enable screen keyboard
|
||||
UserConfigParams::m_screen_keyboard = 1;
|
||||
|
||||
// Set bigger fonts and buttons
|
||||
UserConfigParams::m_hidpi_enabled = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user