How do I keycode to gamepad?

0 favourites
  • 3 posts
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • 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.

  • Try Construct 3

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

    Try 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)