Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Rewired: PollControllerForFirstElementDown but inverted not working

Discussion in 'Input System' started by protomor, Jan 15, 2024.

  1. protomor

    protomor

    Joined:
    Dec 13, 2021
    Posts:
    38
    Howdy. I'm letting player map their own controllers and I've come to a situation. If the controller only goes 0 to a negative number, polling doesn't seem to ever catch the controller. Here's my code that works otherwise:

    pollingInfo = ReInput.controllers.polling.PollControllerForFirstElementDown(ControllerType.Joystick, i);

    How can I poll for anything, regardless positive or negative?
     
  2. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 5, 2024
    Posts:
    535
    You can get support regarding Rerwired in the dedicated thread about the asset:
    https://forum.unity.com/threads/rewired-advanced-input-for-unity.270693/page-182
     
  3. protomor

    protomor

    Joined:
    Dec 13, 2021
    Posts:
    38
    well poop. how do i delete a thread?