Convert MRTK button from MR device to PC mouse and touch

NG KEI CHI [THEi/LCDI] 26 Reputation points
2022-11-14T02:28:25.213+00:00

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?

Community Center | Not monitored
{count} votes

2 answers

Sort by: Most helpful
  1. NG KEI CHI [THEi/LCDI] 26 Reputation points
    2022-11-17T05:15:35.203+00:00

    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
    261228-mouse.jpg

    1 person found this answer helpful.
    0 comments No comments

  2. Zuocheng Wang - MSFT 3,091 Reputation points Microsoft External Staff
    2022-11-15T09:23:49.243+00:00

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.