Convert MRTK button from MR device to PC mouse and touch

NG KEI CHI [THEi/LCDI] 26 Reputation points

We have developed an app for HoloLens 2 and used MRTK button.
Now, we need to convert it to PC version with mouse and touch.

Is there any easy way to convert MRTK button interact with mouse and touch?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,573 questions
{count} votes

2 answers

Sort by: Most helpful
  1. NG KEI CHI [THEi/LCDI] 26 Reputation points

    I find an answer by myself.
    Just add a Unity Mouse Device Manager in MixedRealityToolkit > Inspectror > MixedRealityTookit > Input > Input Data Providers as the picture below

    1 person found this answer helpful.
    0 comments No comments

  2. Zuocheng Wang - MSFT 3,081 Reputation points Microsoft Vendor

    Hello, Welcome to Microsoft Q&A,

    Base on the information you have shared, you require dedicated support on MRKT usage. The hololens-development tag is specifically about writing HoloLens applications. For help with MRTK outside of HoloLens please see the options at Engage with the Community in the MRTK documentation.

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments