0 Favourites

How do I keycode to gamepad?

  • Hehe hey there! ^_^

    So basically i have made a config ingame to edit buttons. However i noticed that 'Keyboard' and 'Gamepad' are seperated.

    Is it not possible to make a same keycode for both? Ie, instead of making it;

    UP Arrow pressed

    OR

    Gamepad Up arrow pressed

    To make it into = When Keycode is pressed. (No matter if gamepad or keyboard) ?

  • Hehe hey there! ^_^

    So basically i have made a config ingame to edit buttons. However i noticed that 'Keyboard' and 'Gamepad' are seperated.

    Is it not possible to make a same keycode for both? Ie, instead of making it;

    UP Arrow pressed

    OR

    Gamepad Up arrow pressed

    To make it into = When Keycode is pressed. (No matter if gamepad or keyboard) ?

    This isn't possible. Controllers don't use keycodes like keyboards do, they use button IDs.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • > Hehe hey there! ^_^

    > So basically i have made a config ingame to edit buttons. However i noticed that 'Keyboard' and 'Gamepad' are seperated.

    > Is it not possible to make a same keycode for both? Ie, instead of making it;

    >

    > UP Arrow pressed

    > OR

    > Gamepad Up arrow pressed

    >

    > To make it into = When Keycode is pressed. (No matter if gamepad or keyboard) ?

    >

    This isn't possible. Controllers don't use keycodes like keyboards do, they use button IDs.

    Thanks for clarifying this - so basically i need to make a key config, 1 for keyboard and 1 for gamepad.

    Then the entire controller unit must be 'when keycode (keyboard pressed) OR keycode (gamepad pressed)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)