How to Use Nvidia Shield buttons

I am trying to map the nvidia shield buttons out and I can’t get them to work. I can get the joysticks to work. I haven’t even tried messing with the triggers yet. I checked out this webpage and tried using what they said to do.

I just don’t understand how to map them out. I tried using the…Input.GetKey(KeyCode.JoystickButton0)…I have no idea what to do. I also couldn’t find any tutorials on this topic. I tried mapping them in the Input manager…That didn’t help.

After poking through NVIDIA’s GitHub code I found this:

Looks like the mapping is as follows:

X = “joystick 1 button 2”

Y = “joystick 1 button 3”

A = “joystick 1 button 0”

B = “joystick 1 button 1”

I’m testing this right now, will get back to you and update with confirmation.

Edit: This is indeed the mapping, confirmed by pushing my game with these mappings to the Google Play store, tested on the NVIDIA Shield.

The nVidia Developer Zone : Game Development Tools, SDKs, and Partner Engines | NVIDIA Developer

Unity Input Manager : Unity - Manual: Input Manager

Unity Input : Unity - Manual: Input

Actually I Got it working…Thanks anyways!