getPassthrough.lua 414 B

123456789101112131415161718192021
  1. return {
  2. tag = 'headset',
  3. summary = 'Get the current passthrough mode.',
  4. description = 'Returns the current passthrough mode.',
  5. arguments = {},
  6. returns = {
  7. mode = {
  8. type = 'PassthroughMode',
  9. description = 'The current passthrough mode.'
  10. }
  11. },
  12. variants = {
  13. {
  14. arguments = {},
  15. returns = { 'mode' }
  16. }
  17. },
  18. related = {
  19. 'lovr.headset.getPassthroughModes'
  20. }
  21. }