Is the game not detecting hat switch presses, or is VoiceAttack not detecting them?
In case of the former, is VoiceAttack running while this happens? Do you use software to map the hat switch to keyboard keypresses?
In case of the latter, have you set up the "Enable Joystick X POV Hat Switches" option in the "Joystick Options" window?