Disabling controller

  • #1, by UraalWednesday, 30. September 2015, 20:37 5 years ago
    Heyas, long time no forum post.

    I noticed something odd, seems like character in my game can be controlled via Xbox-360 game pad, is there a way to disable game controller controls? The functionality with controller seems to be giving all sort of odd behavior such as disregard of hitboxes/boundaries and controller shake every time there's a earthquake.

    Newbie

    93 Posts


  • #2, by afrlmeWednesday, 30. September 2015, 21:01 5 years ago
    I think you will have to wait for another build for that. Or you could try asking Simon or David to compile you a special build of the editor / engine with the controller support removed or a boolean data structure field to enable / disable controller support as needed.

    I'm not sure they will sort out a build for you though unless your game has already been released or you are ready to release it. You can always ask though! wink

    Imperator

    6818 Posts

  • #3, by UraalWednesday, 30. September 2015, 21:09 5 years ago
    Come on man I send you a Steam key when it was released! smile)...
    But yeah I'll wait the next build, planning an update on game atm. Thanks for the update. Ps. will there be font outlines at next build too?

    Newbie

    93 Posts

  • #4, by afrlmeWednesday, 30. September 2015, 22:08 5 years ago
    haha. I have terrible memory! I have probably stated this already in multiple threads! grin

    No idea about the font stuff. You could try hitting SimonS up for a special build &/or details on the font stuff.

    Imperator

    6818 Posts

  • #5, by wuzibuFriday, 12. February 2016, 11:06 4 years ago
    You could just create a Lua Script, which would deactive ALL controller functions. It would look like this:

    function controllerEvtHandler(eventType, character, keycode, modifiers)
    return false
    end

    registerEventHandler("keyEvent", "controllerEvtHandler")
    1
    2
    3
    4
    5
    6

    Newbie

    1 Posts

Write post