N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

   

nuContRmbModeSet

Format
void nuContRmbModeSet(u32 contNo, u8 mode)

Arguments
  • contNo is the Controller number
  • mode is the Rumble Pak operation mode:

    • NU_CONT_RMB_MODE_DISABLE for disabled
    • NU_CONT_RMB_MODE_ENABLE for enabled
    • NU_CONT_RMB_MODE_AUTORUN for automatic recognition
Returned Value
none

What This Function Does
It sets the operation mode of the Rumble Pak. When NU_CONT_RMB_MODE_DISABLE is set, use of the Rumble Pak is prohibited. In this mode, the nuContRmbStart function may initiate a vibration but it cannot control the motor. The default is to disable all Controller Rumble Paks.

When NU_CONT_RMB_MODE_ENABLE is set, the Rumble Pak can be used, providing it has been recognized with the nuContRmbCheck function. If recognition is not made, the Rumble Pak cannot be used.

When NU_CONT_RMB_MODE_AUTORUN is set, periodic checks are made to see if the Rumble Pak is inserted, and if so it is enabled. The interval for checking can be set with the nuContRmbSearchTimeSet function.

See Also
nuContRmbStart
nuContRmbCheck
nuContRmbSearchTimeSet



Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.


Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998