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

   

nuContRmbStart

Format
void nuContRmbStart(u32 contNo, u16 freq, u16 frame)

Arguments
  • contNo is the Controller number
  • freq is the vibration frequency (1 - 256) where 1 is one pulse emitted every 256 frames and 256 is continuous movement
  • frame is the duration of the vibration in number of frames
Returned Value
none

What This Function Does
It initiates operation of the Rumble Pak. The freq argument specifies the number of frames that pass before the motor is turned on again. A value of 1 specifies that the motor be turned on once every 256 frames. A value of 128 specifies that the motor be turned on once every two frames. A value of 256 specifies continuous motor operation. In short, the greater the freq value, the bigger the vibration. Before calling this function, be sure to check to see if the Rumble Pak is inserted by using the nuContRmbCheck function. Calling this function will not activate the Rumble Pak if it has been forced to stop by the nuContRmbForceStop function.

See Also
nuContRmbCheck
nuContRmbForceStop



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