Home
last modified time | relevance | path

Searched refs:Motor (Results 1 – 1 of 1) sorted by relevance

/RvlSDK-2.1/build/demos/paddemo/src/
Dmotordemo.c36 u32 Motor[PAD_MAX_CONTROLLERS]; variable
59 Motor[chan] = (u32) ((Motor[chan] == PAD_MOTOR_RUMBLE) ? in RambleCont()
64 Motor[chan] == PAD_MOTOR_RUMBLE) in RambleCont()
66 Motor[chan] = PAD_MOTOR_STOP_HARD; in RambleCont()
72 if (MAX < level && Motor[chan] != PAD_MOTOR_RUMBLE) in RambleCont()
74 Motor[chan] = PAD_MOTOR_RUMBLE; in RambleCont()
77 else if (level < MIN && Motor[chan] != PAD_MOTOR_STOP) in RambleCont()
79 Motor[chan] = PAD_MOTOR_STOP; in RambleCont()
89 if (Motor[chan] != PAD_MOTOR_RUMBLE) in RambleCont()
91 Motor[chan] = PAD_MOTOR_RUMBLE; in RambleCont()
[all …]