Controller Gamepad Remap

0 favourites
  • 4 posts
From the Asset Store
Small pixel icons for the 3 most popular controller types.
  • I assume someone has written a construct program to remap a controller.

    I had someone test a game using a 8BitDo SN30 Pro. And when they hit "X", Construct heard it as the 'R' key which is quite puzzling.

    I assume I have to listen for button indexes and then save them as variables, then use those variables for the indexes?

    Tagged:

  • Yes, the same way you would redefine keyboard mapping.

    I usually have a setting.json as a dictionary with keys like k_jump / j_jump for each button with the index as value and I read that straight into my control events (on key index).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Be sure to update the firmware on your 8bitdo. I've had a similar problem with mine in the past. After updating the firmware, chrome was able to read all the inputs like you would expect from a normal xbox layout.

  • Rilem that is good to note for support. But as it wasn't my personal issue, it was someone who was remotely testing my game, that was the controller they were using and none of the buttons worked.

    (sorry have no idea how to tag Headbang Games) that's a great idea. I just realize I need to save this config for the next play separate from saving the game. I haven't done too much with save stuff other than a full game save, any suggestions?

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