FREE Virtual Mouse Toggle for Android TV (Any button)

by TechDoctorUK

If you want to use a FREE virtual mouse toggle on your Android TV that you activate with any button then follow the steps below

### Video showing step by step guide here

###Why would I want this? Certain apps will only function with a mouse. With this process you will get a virtual cursor that you can move around, scroll and of course, click on things.

###Install steps:

  • Install MATVT from here
  • Go to settings --- apps -- special app access and grant "Draw over apps" to MATVT
  • Find "Accessibility" in your settings and enable it for "Mouse toggle Service"
  • Click on Configuration
  • You can now enter in whichever keycode you would like to activate the mouse (e.g 3 = Home button , 284 = App drawer , 164 = mute etc)

###How to use:

  • Long press your activation button and you will see the mouse cursor
  • Once activated, mouse will be in cursor mode. You can move the cursor with your dpad and click on things. If you get to the edge of the screen, the cursor will come out of the opposite side.
  • If you press the same activation button again, it will switch in to scroll mode. Press again to go back to cursor mode.
  • Long press activation button to disable virtual mouse

###Tested on:

  • Nvidia Shield Pro (I used keycode 85 which is the play button to activate the virtual mouse)
  • Tivo stream 4k (I used keycode 8 which is the 1 key on the remote)
  • Chromecast Google TV (I used keycode 3 which is the home button on the remote)
  • Dynalink box (I used 164 which is the mute button)
  • Mi Box (Keycode 284 which is for the app drawer button)

###Credits: Virresh made the original version of this application which would activate with the info button on the remote. As not every Android TV Remote has the info button, the app was then modded to support any button.

###Can I use a different button to activate the virtual mouse? You can see the official Android Key Codes here

I will also share the video tutorial for the people that prefer that.

lpuglia

You can find air-mouse on amazon for 10 bucks, they solve this and many other problems. The best addon for android TV.

jdavison91

I tried this on the MiBox and it works as described, however, after installing the app, I am unable to use the D-Pad functions to navigate the Android TV Home screen up or down. I restarted my device, tested again, with same effect. I uninstalled the app and then the functions worked properly again. Unfortunate, because this would be really helpful for the Hulu app that does not seem to operate properly (at least for my setup) with regard to navigation through the screens.

zuatrapatuarte

This Is great!!! Thanks for Sharing, Is there an easier tablet spreadsheet to read about each Button of Chromecast controller, im using the suggested option Home button (number3) but if i want to use mute button which one could be?

Houdinii1984

If this works on the shield, which it sounds like it will, I will forever owe you. I sideloaded the XBox cloud app and it's really annoying without a mouse since it's the only way to exit a game on that system.

Bart91106

I just install the MTATV custom version v1.01or Android Tv. It works fine but now when I click on an app to automatically open, it now asks me whether; open, move, remove from favorites? Any idea how to correct this? Thanks

leonguyen52

Cant grant permission to my mibox S with Android 8.0 :( any idea?

battierpeeler

KEYCODE_VOICE_ASSIST Added in API level 21

public static final int KEYCODE_VOICE_ASSIST Key code constant: Voice Assist key. Launches the global voice assist activity. Not delivered to applications.

Constant Value: 231 (0x000000e7)

is 231 the google voice assistant button on mibox 3? seems obvious but double checking. never use that button and would like to add some functionality.

edit: tried it finally. doesn't seem to work. even after disabling google assistant and google app.

edit2: ended up just assigning it to center of d-pad (23). works.

bathroomwriting

I don't see Mouth Toggle as a setting under Accessibility Settings (Android TV - version 9)

andreqs

Great app! Works flawlessly. Tested on the Chromecast with Google TV. Thanks you!

urbanman2004

Has anyone ever gotten this Virtual Mouse Toggle to work on an onn. Android TV UHD Streaming Device?

Never mind, I was able to figure it out. Way more purposeful than the antiquated Mouse Toggle app.

GloomySpider917

Thank you, app works really well I'm using it on the nebula capsule 2 projector.

aj77reddit

This app works great on my Tivo 4K stream. Only thing I wish it had was Click and Drag.

some games need that ( e.g. Candy C...)

Is there anyway to add that.

Thanks

tb21666

Because having an air mouse which is actually functional/useful is too hard?

This thing just drags across the screen at a snails pace.

Rii MX6 or Rii MX9 are where it's at for me. YMMV.