stopVibration.lua 442 B

12345678910111213141516171819202122
  1. return {
  2. tag = 'input',
  3. summary = 'Stop vibration on a device.',
  4. description = 'Causes the device to stop any active haptics vibration.',
  5. arguments = {
  6. device = {
  7. type = 'Device',
  8. default = [['head']],
  9. description = 'The device to stop the vibration on.'
  10. }
  11. },
  12. returns = {},
  13. variants = {
  14. {
  15. arguments = { 'device' },
  16. returns = {}
  17. }
  18. },
  19. related = {
  20. 'lovr.headset.vibrate'
  21. }
  22. }