Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feature request, input keys other than arrows
#3
Thanks Marc.

I tried to override the default behaviour of esc key. By default it closes the program but I want it to close my current screen (map) so I've done:

TLN_DefineInputKey(PLAYER1,INPUT_BUTTON5,SDLK_ESCAPE);

and then check for input on BUTTON5 in the main loop. But it doesn't work. I see the default behavior for esc key.
Reply


Messages In This Thread
RE: Feature request, input keys other than arrows - by JaumeAlcazo - 06-09-2018, 02:35 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)