XSDL: Reworked overlay Ctrl/Alt/Shift buttons

This commit is contained in:
Sergii Pylypenko
2020-02-20 22:39:57 +02:00
parent bc8d652517
commit b340f77972
5 changed files with 26 additions and 9 deletions

View File

@@ -162,6 +162,8 @@ int main( int argc, char* argv[] )
char s[16];
sprintf(s, "%d", builtinKeyboard);
setenv("XSDL_BUILTIN_KEYBOARD", s, 1);
sprintf(s, "%d", screenButtons);
setenv("XSDL_SCREEN_BUTTONS_ALIGN", s, 1);
}
__android_log_print(ANDROID_LOG_INFO, "XSDL", "XSDL video resolution %s, args:", screenres);