Controller:vibrate: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2014.01<br/> === Description === Vibrate the controller for provided amount of miliseconds. Works only if it is supported by the platf..."
 
No edit summary
Line 4: Line 4:
Vibrate the controller for provided amount of miliseconds. Works only if it is supported by the platform and controller, don't rely on it to work, and only use as addition to the game play
Vibrate the controller for provided amount of miliseconds. Works only if it is supported by the platform and controller, don't rely on it to work, and only use as addition to the game play
<source lang="lua">
<source lang="lua">
= Controller:vibrate(ms,)
Controller:vibrate(ms)
</source>
</source>
'''ms:''' (number) time in miliseconds ''''''<br/>
'''ms''': (number) time in miliseconds ''''''<br/>

Revision as of 09:17, 23 August 2018

Available since: Gideros 2014.01

Description

Vibrate the controller for provided amount of miliseconds. Works only if it is supported by the platform and controller, don't rely on it to work, and only use as addition to the game play

 Controller:vibrate(ms)

'ms: (number) time in miliseconds '