Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-99658

Oculus Rift S as touch screen

XMLWordPrintable

    • Windows

      If I connect the Oculus Rift S to the PC, Qt sees it as a QTouchDevice::TouchScreen.

      If I run this code:

      auto tdevs = QTouchDevice::devices();
      for (const auto* td : tdevs)
      {
         if (td->type() == QTouchDevice::TouchScreen)
         {
           qDebug() << td->name() << td->maximumTouchPoints() << td->capabilities();
             }

      }

       

      I get this output:

      "" 9 QFlags<QTouchDevice::CapabilityFlag>(Position|Area|NormalizedPosition|MouseEmulation)

       

      No touch screen is connected to the PC. If I disconnect the Oculus Rift, I get no output.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            janichol Andy Nichols
            puffosauro Fabio Dago
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes