DocsLanguageFunctionsjoy_numhats()joy_numhats()Definition joy_numhats ( ) Parameters Returns Example joy_numbuttons()joy_numjoysticks()