Input key codes for Logitech Extreme 3D Pro

I'm trying to use a Logitech Extreme 3D Pro joystick with Unity and I can get all of the buttons except the "Hat" on the top of the joystick which I want to use for POV. I may have messed up in testing, but it didn't seem to correlate to either a joystick button or a joystick axis.

Does anyone happen to know what the correct key code are to use with the hat on this joystick?

The hat is the 5th and 6th joystick axes, for left/right and up/down respectively.

First, check to make sure it even shows up in the Windows Gamepad configuration screen (Gamepad settings in the control panel). Press the button with that screen open and see if any inputs light up. If not, this button is not a "normal" joystick button and can't be used (The Xbox button on the 360 controller is a good example of a "special" button). If it does light up, chances are you're just missing it in Unity's configuration. You can use a script like this to find out what button number it is:

// Stick this in Update()
// C#

for(int i = 0; i < 20; i++)
{
    if(Input.GetKeyDown("joystick button " + i))
    {
        Debug.Log("Button " + i + " was pressed!");
    }
}