getDisplayFrequency.lua 438 B

12345678910111213141516171819
  1. return {
  2. deprecated = true,
  3. tag = 'headset',
  4. summary = 'Get the refresh rate of the display.',
  5. description = 'Returns the refresh rate of the headset display, in Hz.',
  6. arguments = {},
  7. returns = {
  8. frequency = {
  9. type = 'number',
  10. description = 'The frequency of the display, or `nil` if I have no idea what it is.'
  11. }
  12. },
  13. variants = {
  14. {
  15. arguments = {},
  16. returns = { 'frequency' }
  17. }
  18. }
  19. }