Input Manager Controller Axis Problems

Hi everyone, I’m trying to set up my XBox One Controller’s Right Trigger axis on Mac with Unity 2019.3, but I can’t get the input to register on any of the axes. When I print out the axis info to the console, it says “Unknown Xbox Controller” instead of any axis info. Has anyone encountered this, or does anyone have any ideas to get the trigger working? Thanks for the help!

i assume u are using old input system, remember the trigger is continuous and not discrete. you can show us your code and tell us if you install mac drivers

Here is the code with the IF statement I’m trying to enter if the Right trigger is pressed:

private void FixedUpdate()
    {
        float rightx = Input.GetAxis("LookDirectionHorizontal");
        float righty = Input.GetAxis("LookDirectionVertical");
        direction = new Vector2(rightx, righty).normalized;
        angle = Mathf.Atan2(righty, rightx) * Mathf.Rad2Deg - 90f;
        firepoint.transform.eulerAngles = Vector3.forward * angle;

        if ((Input.GetAxis("LookDirectionHorizontal") != 0) && Time.time > nextFire)
        {
            //Debug.Log(Input.GetAxis("LookDirectionHorizontal"));

            nextFire = Time.time + fireRate;
            GameObject bullet = Instantiate(bullet1, firepoint.transform.position, firepoint.transform.rotation);

        }

I set up the input manger to “snap” the axis to 1 if the trigger is pressed, but once again I haven’t been able to read any inout from the trigger. I have not downloaded any additional drivers that don’t come pre-installed on a mac.

Your mapping is wrong. LT is axis 9, RT is axis 10, left stick is axis 8, right stick is axis 9, dpad horizontal is axis 6, and dpad vertical is axis 7.

edit: disregard, these are the windows mappings. I missed the MacOS part.

Not to worry friend, is easy mistake for sure.

First i would make sure u have download drivers. This not so important for window but for apple i feel is necessary.

after that u can use something called controller test

https://assetstore.unity.com/packages/tools/input-management/controller-tester-43621

remember trigger is not like on/off so this is where some people are making mistake.