Joystick functions work in game ‘A’, but not in game ‘B’?
The Z's analog and joystick functions use DirectInput, which unfortunately is not supported in all games.
So if your joystick mappings are not being recognized in a particular game, it's likely that the game has XBox controller (Xinput) support and does not support a standard analog joystick (DirectInput)
In most cases the easiest solution to this would be to assign your Zs buttons to keyboard commands rather than joystick buttons. But where that is not an option, (e.g if you need analog outputs) you can use a tool like
X360CE to map the Zs joystick outputs to XInput outputs.