-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small GUI change #660
base: android
Are you sure you want to change the base?
Small GUI change #660
Conversation
Increase button size because it's too small in touchscreen devices (and some small display hard to press it)
Use built-in driver instead custom driver when custom driver not supported/broken so no need remove config.yml
joystick scale
split joystick scale and global scale
Cutout fix
@@ -1062,7 +1062,7 @@ void draw_live_area_screen(GuiState &gui, EmuEnvState &emuenv) { | |||
const auto SELECT_SIZE = ImVec2(GATE_SIZE.x - (10.f * SCALE.x), GATE_SIZE.y - (5.f * SCALE.y)); | |||
const auto SELECT_POS = ImVec2(GATE_POS.x + (5.f * SCALE.y), GATE_POS.y + (2.f * SCALE.y)); | |||
|
|||
const auto BUTTON_SIZE = ImVec2(72.f * SCALE.x, 30.f * SCALE.y); | |||
const auto BUTTON_SIZE = ImVec2(80.f * SCALE.x, 55.f * SCALE.y); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need change it, problem here is not size, is how button size is scalled on android, because code for respect aspect ratio is disable on android
i not have this problem in my side
Buton size is all time same and fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in my phone that button was hard to press, most often vita3k notification got pressed instead esc.
or should i move a bit lower instead resize it?
get path from pref-path for icons
distribute in libSDL2.zip instead unpack all files because unpacked libSDL2.a too big for mobile data plan (12mb uncompressed and 2mb compressed)
i did test this and seems like correctly set conversion base format increase fps in some games (in mali gpu)
example preview:
screen-20240820-115552.mp4
VID-20240731-WA0002.mp4