Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feature request, input keys other than arrows
#1
Hello, the TLN_Input enum doesn't allow us to use keys other than arrows for player movement

enum  TLN_Input { 
  INPUT_NONEINPUT_UP,INPUT_DOWNINPUT_LEFT
  INPUT_RIGHT,INPUT_BUTTON1,INPUT_BUTTON2,INPUT_BUTTON3
  INPUT_BUTTON4,INPUT_BUTTON5,INPUT_BUTTON6,INPUT_START
  INPUT_P1 = (PLAYER1 << 4),INPUT_P2 = (PLAYER2 << 4),INPUT_P3 = (PLAYER3 << 4),INPUT_P4 = (PLAYER4 << 4) 
}

I would like to use WASD in addition to arrows, so I request INPUT_W, INPUT_A, INPUT_S and INPUT_D ooooh boy,

OOOk, now I see this:

TLNAPI void TLN_DefineInputKey (TLN_Playerplayer, TLN_Input input, uint32_t keycode)

Ok, I'll check this.
Reply


Messages In This Thread
Feature request, input keys other than arrows - by JaumeAlcazo - 06-04-2018, 07:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)