How can I do PressedBackButton(ON/OFF) like EnableBackButton(TRUE/FALSE)? :nw:

Previous topic - Next topic

spacefractal

im reset KEY(1) in sdl_main.cpp (see int AndroidScancode(int skey)), soon after KEY(1) have been checked and its once have been returned TRUE. If you want the original Back event, uses KEY(4) instead.

This is the fun part, when you mix Java and C++ code.

That was make sure there dont happens something accidently when user holding down the back button as its should not.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/