PS4 controller changes axis configuration when going wireless - wired?

I purchased a DualShock 4 (2016 new version) just to implement it to my game. I use the input manager to configure the axis. If i go wireless, the axis configuration changes!! The axis don’t match up! What the hell is the deal with that?

Wireless (white light) - Appears as joystick 2:

Left thumb stick:

Horizontal - X axis (axis 0)

Vertical - (axis 2)

Right thumb stick:

Horizontal - (axis 3)

Vertical - (axis 6)

Wireless and connected with cable (white light) - Appears as joystick 1:

Left thumb stick:

Horizontal - X axis (axis 0)

Vertical - (axis 2)

Right thumb stick:

Horizontal - (axis 3)

Vertical - (axis 6)

Wired (yellow light) - Appears as joystick 1:

Left thumb stick:

Horizontal - X axis (axis 0)

Vertical - (axis 1)

Right thumb stick:

Horizontal - (axis 2)

Vertical - (axis 5)

Yesterday i had different configuration for wireless… axis 0 3 4 and 7. What is going on here?

HI!
i prepare both presets for wired and wireless PS4 gamepad connection.

and i choose it by checking L2 R2 axis.
if axis 3 and 4 is both < -0.5 in setup moment it means that gamepad is wired
if axis 4 and 5 is both < -0.5 in setup moment it means that gamepad is wireless