trouble getting inputs from six axis in the joystick

I have a joystick which have six axis to generate inputs and I want to use them all in my project. What I’m developing is a car game.
When I connect it, without configuration I could drive the vehicle using the already existing horizontal and vertical axis, that is driving forwards, backwards, left and right.
But when I try to use the other 4 axis after making new axis from the input manager, it never seem to detect them.
I tried changing the axis from X to Y and 3rd axis to get all the inputs respectively and tried get the inputs using

Input.GetAxis ("NewAxis");

Is there something I have to do in order to get my expected result? any help would be greatly appreciated. thank you.

It takes a long time to figure out what each thing axis is called. Lots of trial and error if your using a gamepad. your code is right. the trial and error is in the input manager

  1. edit
  2. project settings
  3. input
  4. name your axis
  5. type: joystick axis
  6. axis (trial and error)
  7. joy num (trial and error)

I had to go through about every combo of the last 2 a few times