Skip to content

Add left/right buttons for mobile race GUI#5639

Open
GustaLOLE wants to merge 3 commits intosupertuxkart:masterfrom
GustaLOLE:left-right-buttons
Open

Add left/right buttons for mobile race GUI#5639
GustaLOLE wants to merge 3 commits intosupertuxkart:masterfrom
GustaLOLE:left-right-buttons

Conversation

@GustaLOLE
Copy link

What I've made for now:

  • Add this buttons in right of the accelerator;
  • Add a option to change to this in init_android, multitouch_settings and race_paused dialogs.

To do later: Make the buttons clickable only sliding the finger.

Video demonstrating this control: https://www.youtube.com/watch?v=Db32VbMjiJc

Some photos:
WhatsApp Image 2026-01-26 at 17 08 18(2)
WhatsApp Image 2026-01-26 at 17 08 19

Agreement

By creating a pull request in stk-code, you hereby agree to dual-license your contribution as
GNU General Public License version 3 or any later version and
Mozilla Public License version 2 or any later version.

This includes your previous contribution(s) under the same name of contributor.

Keep the above statement in the pull request comment for agreement.

GustaLOLE and others added 3 commits February 5, 2026 14:13
 - Add this buttons in right of the accelerator;
 - Add a option to change to this in init_android, multitouch_settings and rece_paused dialogs.

TODO: Make the buttons clickabe only sliding the finger.
 - Try of upscaling the classic theme buttons
 - Created a variable called btn3_size, overriding the "btn2_size * 1.2f", to be more elegant :)
@pedropaulosuzuki
Copy link

pedropaulosuzuki commented Feb 24, 2026

@GustaLOLE here's my suggestion for the Nitro icon on mobile:

nitro

@GustaLOLE
Copy link
Author

GustaLOLE commented Feb 25, 2026

Ok, I liked this, I hope this works (with my adjust), thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants