Thrustmaster TCA Spoilers not working (tried the other solutions)

Button 27 to 31 is only from the Thrustmaster TCA Quadrant. It’s the separate hardware dedicated to the throttle and spoilers and flaps. If you only have the joystick, you won’t have access to those buttons. See the screenshot a few posts above, the Joystick 27 to 31 is shown to belong to the quadrant hardware in the picture, not the joystick. You also need to have the Spoilers and Flaps axis attachment as well.