Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to un-toggle key bind #58

Open
tejedamikey opened this issue Dec 4, 2022 · 6 comments
Open

How to un-toggle key bind #58

tejedamikey opened this issue Dec 4, 2022 · 6 comments

Comments

@tejedamikey
Copy link

Okay so I have accidentally bound the “OK” button to my BENQ gv30 remote to the toggle mouse button and I can no longer select anything (only endlessly toggle) is there a key pattern I can push to reset the binding? Using a remote app doesn’t work either since it’s even recognized the app remote to have the same binding. There is also seemingly no way to use a physical mouse/keyboard to go in and undo my error.

@virresh
Copy link
Owner

virresh commented Dec 5, 2022

Woops,
This is a tricky one.

If you have adb access, you can uninstall the app via ADB (and clear cache) so that next time you install, boss keys would be reset.
There are no bindings to undo this, because the button combos on usual remotes are pretty limited. If you have a full remote for you TV, I've implemented an override with the "INFO" button, you could use that.
But I doubt that button is present on your remote (because then you wouldn't need Boss Key mechanism at all).

Also in case you want to bind the ok button, be sure to uncheck the "Will boss key toggle" checkbox.

Then you will be able to use short press ok clicks in DPAD mode and toggle b/w modes via long presss ok button.

@MailYouLater
Copy link

Well, the easiest answer is to move your selection to what you want, then push your center D-pad button lots of times in quick succession hoping to overload the key interception and maybe, occasionally activate its default functionality, slowly working your way to where you can change a setting that affects this.

A more extreme answer is to performed a factory reset. I'm unfamiliar with the BenQ GV30, but there should be reasonably simple instructions you can look up for factory reseting basically any Android (or Android TV) device. Then you have to set everything up from scratch again.

Other options in situations similar to this include...

  • If you can plug your Android TV device into a TV (or possibly audio receiver) that supports HDMI-CEC, try using its remote. There's a chance that the OK, Enter or center D-pad button on it may not be intercepted by MATVT.
  • If you have a BlueTooth mouse, keyboard or gamepad that's already paired to this device, try using it. The left mouse button, Enter key, or whichever gamepad button(s) Android treats as activation button(s) shouldn't be intercepted by MATVT.
  • Check if your device has a USB port, you may be able to plug in a mouse, keyboard or gamepad there.
  • If it doesn't have a full size USB Type-A port, check to see if its power input is a USB Type-C or Micro-USB port. If it's USB Type-C you should be able to use basically any powered USB Type-C dock, and if it's Micro-USB you'll need a powered USB-OTG adapter to add a USB Type-A port you can plug a mouse, keyboard or gamepad into.
  • If you have Zank Android Remote set up on your Android TV device, then you can use that to control it, either with the trackpad style mouse input, the graphics tablet style (no visual feedback) touch input, or the remote access style functionality, where it screen captures your TV, displays that on your phone, and sends your touch inputs back to your Android TV device.

@boognish-rising
Copy link

boognish-rising commented Dec 27, 2022

I know this is an almost a month old, but in case you were looking for another solution or anybody else happens to experience a similar situation, (don't feel bad I had a similar experience when I set the boss key as the select button without really thinking about the ramifications) I found that while using the remote via the Google Home app, all the keys are mapped exactly as if you were actually pressing the key on the remote itself. However, the one key difference is that going with the virtual remote app via the Home app, you have the option to use the virtual on screen keyboard on your phone. You should still be able to use the arrow keys on the remote itself and then simply use your virtual screen based keyboard's Enter/Return key to toggle whatever you're looking to toggle that can't be due to this app's configuration.

If you add a keyboard such as Unexpected Keyboard or Hacker's Keyboard (both on F-droid, Droid-ify, Aurora Store etc but might also be found here on GH) they feature arrow keys, Function keys and many (see screenshots below), actually giving you more key options than you would have with any standard 104 key keyboard (without constantly referencing the Alt + key combination and/or AltGr for keys not included as a physical key, anyway)

I hope that helps you or anyone else that might have jammed themselves up by setting the boss key in a similar manner. It was certainly a revelation for me and helped me out of a very similar bind.

Happy navigating!

FYI the first 4 screenshots are Hacker's Keyboard and the last 5 are Unexpected Keyboard

Edited to add IMO hackers keyboard is the more user friendly of the two, but unexpected keyboard is the more robust with many more key options then the former but a slightly higher learning curve. However, once you get it, it's a cakewalk (similar to the way you can long press any key on Gboard or whatever your stock Android keyboard is for an alternate key. Many keys on unexpected keyboard have a flick input option. Where are you flick in any one of four directions essentially into the corner of the given key in order to input the secondary key associated with that corner, if that makes sense... You'll see for yourself if you decide to go that route. I have both and use them both interchangeably based on the need and I'm happy I found them cuz I use them quite regularly on my phone and on the Google TV/Chromecast . But then again I also have six other keyboards not counting the two I mentioned here or Gboard or Google voice typing lol. I guess I'm a keyboard whore or more accurately, I'm an app whore but you know; it is what it is

Screenshot_20221227-072548.png
Screenshot_20221227-072403.png
Screenshot_20221227-072333.png
Screenshot_20221227-072304.png
Screenshot_20221227-072237.png
Screenshot_20221227-072220.png
Screenshot_20221227-072213.png
Screenshot_20221227-072204.pngScreenshot_20221227-072149.png

@Ragaban
Copy link

Ragaban commented Jun 12, 2023

Greetings, I have a Xiaomi TV Stick 4k. I did the same mistake o foverwritting my "Ok" button as the boss key and checking "Will boss key toggle". I did not set-up any other navigation devices with bluetooth. Could I connect a wired keyboard/mouse to the stick?

@Ragaban
Copy link

Ragaban commented Jun 29, 2023

Ok here is a solution for anyone who did not install any software prior. Try to buy a "OTG Host Power Splitter Y Micro USB Male to USB Female Adapter Cable Cord"
image
Like this one in the image. I bought one for around 5 euros. With one of these you can power the Xiaomi mi stick and connect a keyboard to it. After connecting a keyboard you can navigate without the remote (with the arrow keys and the spacebar). You could connect a mouse but I found out that the left and right click do not work so a keyboard is more reliable.

@virresh
Copy link
Owner

virresh commented Jul 2, 2023

Yep, any connector should be fine. Glad you found one that works for your case :)

Alternatively, if you have a bluetooth mouse/keyboard with simultaneous multiple connections (these can be pretty expensive though, like the logitech mx720 mouse or k850 keyboard), it might be helpful to keep one of these paired and ready to use just in case.

@virresh virresh mentioned this issue Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants