MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / SetVibration

Method SetVibration

Source/PSMoveMgr.cpp:190–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190void PSMoveMgr::SetVibration(int id, float amount)
191{
192 if (mMove[id] == NULL)
193 return;
194
195 psmove_set_rumble(mMove[id], int(amount * 255));
196}
197
198void PSMoveMgr::SetColor(int id, float r, float g, float b)
199{

Callers 2

PollMethod · 0.80
OnTimeEventMethod · 0.80

Calls 1

psmove_set_rumbleFunction · 0.50

Tested by

no test coverage detected