Mouse buttons not working in some apps - Shield Q&A

I recently purchased a shield and have noticed that the mouse buttons do not work in Spotify or Netflix. I can can see the pointer and it moves around just fine but the buttons (left/right) do nothing. The buttons work fine in YouTube, Chrome, Google music, etc. Not sure why the mouse buttons aren't working in certain apps. At first i thought it was a wireless mouse issue so i connected a USB mouse but the problem remained. I also tried setting the usb mode in the shield settings to "compatibility mode" but that made no difference. Any thoughts?
Oh, another thing.. the "mouse buttons" don't work when I'm issuing a remote app from my phone either! Like the "shield tv" or "Android tv" remote apps, the buttons meant to simulate the mouse buttons don't work in Spotify or Netflix. So strange
Thanks
Sent from my Pixel XL using Tapatalk

Weird that I'm the only example of this issue i can find on the entire internet. I suppose i should just try a factory reset next.

Related

[Q] Hiding the mouse pointer.

I have one of those Android HDMI TV sticks (A variant of CX-01, to be exact.) running 4.0.4, successfully rooted and hacked up to my liking. There is one thing I would like it to do, which, in my case, is the reason to own it in the first place: I need a very portable presentation device, which I could plug into anything with a HDMI socket and play a presentation. (As a side note, it boots whenever it gets power supplied, so you can use it as a very hidden cheap web server - it's smaller than a Raspberry Pi.)
There is a problem with this usage, however. The device comes with a 2.4 GHz wireless accelerometer-based mouse with a few buttons, which is it's only input device, connected over USB OTG. (Replacing it with something else would be very much not cost-effective) That mouse is only usable because when it is connected, ICS displays a mouse pointer on screen, otherwise, navigation would be way too cumbersome. I have replaced the stock mouse pointer with a smaller one by replacing the png image in framework-res.apk, and it's good enough. Using Hide Bar, I was able to hide the status bar (the wireless mouse has back and home buttons) so I get the full screen for my presentation.
During the presentation itself, I need an input device to move between individual slides and otherwise trigger execution, buttons on the wireless mouse work, or can be reassigned in various ways. However, I need the mouse pointer to invisible during that, as the motion sensitive wireless mouse would make it move constantly while I'm talking with the mouse in my hand.
There is apparently no way to temporarily disable the accelerometer in the mouse itself, while it has a power button that disables it entirely, it turns off everything, including the buttons, and pressing the buttons enables the mouse again.
This means I need a software means to temporarily hide or disable the mouse pointer. (I can obviously permanently hide it by replacing the pointer with a transparent PNG. That would make it very hard to control the device, because the only button it has to trigger a control actually simulates a left click, so it's out.) Extensive googling failed to provide an answer -- most of the time people who get a mouse pointer they don't want seem to eventually give up and pick a HID device which does not produce it instead. As far as I can see, there can only be two ways to do it:
Somehow get the OS to think it has no mouse HID device, or that it's not moving.
Somehow force the mouse pointer to stick to a corner of the screen and keep it there while it's not needed.
Unfortunately I could find no clear sources on either method. I'm not above some hacking and programming to get it done, but I would appreciate an advice on what to look for.

Analog triggers

Anyone know how to map the analog triggers? So far I can't get any emulators to recognize the L R triggers.
Sent from my GT-N8013 using XDA Premium HD app
Supern64 recognized mine. The buttons on screen don't look like they are recognized but they are. It's the only one I've really tried so far.
I've noticed it too. I kept downloading different emus to be able to map the triggers. ppsspp(psp emu) has a GIT build that lets you map the gamepad
I noticed they don't work in some emulators too. Most importantly N64oid. It doesn't recognize the triggers or second joystick. Had to use mupen.I don't think they work in supergnes or myboy. It's annoying..
Edit - I forgot you need root to use tincore keymapper. I always root my stuff so I didn't even think of that.
The app Tincore Keymapper can do it. You need to have the app running while you play whatever emulator you want the keys mapped to. It can detect the right stick as well. It can also detect which emulator or app you are using so it can switch to that profile without you needing to change settings if you want multiple profiles.
A couple of pointers about that app if you use it.
The app doesn't seem to be able to detect the home key very well so it doesn't really work while the app is running. What I did was map the nvidia key (which tincore sees as the power button) to home while the tincore app is running. Not really a big deal since the nvidia key is really only useful if you are rebooting or planning on playing tegra games which wouldn't need the tincore app to be running.
The volume key needs to be mapped to volume_mute as otherwise it is going to get set as the "Select" key and your volumes won't work.
For touch based games, I have to use "Swap scale" and force the orientation into landscape under "device natural orientation" in the tincore app settings in order for the touches to be mapped to the proper screen location in touch based games. This wouldn't matter if you only ever use it for emulators though. If you don't select these your dpad or other buttons may not map to the proper location on the screen.
For the right analog stick to function without having a mouse pointer floating all over the screen you may need to disable the mouse pointer before you run the tincore keymapper. You can disable that mouse pointer in the android settings under controller.
Anyway, this may seem confusing but once you mess around with the app a little you will understand what I mean.
I had to download the app to my Galaxy S 3 and pull the apk out and sideload it to me Shield. The dev said he is working on getting the Shield to show up properly in the play store and he recommended side loading it for now.

Ipega 9023 on my Nvidia tablet K1 device

@ android 6..1 latest
I am trying to play RTS games via gamestream on my laptop to my Nvidia tablet using the ipega controller.
Now it does work and im reasonably happy though i suppose it will get some getting used to.
I am using the Keyboard and Mouse mode. While controlling the game with the analog sticks and gamepadbuttons function as mouse buttons.
But i am wondering to try some other things.
Can I for example increase/decrease sensitivity of the analog sticks functioning as the mouse?
Or increase/decrease the acceleration of the pointer/analogstick..
Would be great if you can fiddle around with it.
Also one other thing I really want changed is the keyboard mode. Some default keys are mapped to the keyboard mode of the Ipega 9023.
Now ofcourse I want to use specific buttons for the game itself and switch between keyboard and mouse mode as I play my RTS.
But how would I do this? There is no documentation on this... which is annoying.
I also heard about Tincore. I installed it and it sees my controller, but not sure if this app can do what i want and how I would do this...
Also have the software from the ipega company called android gamepad center. I started it but im not sure what this software does.
EDIT:
https://www.youtube.com/watch?v=-okXI-BM52Q
From around 1:40 - 2:00 you see him starting the android gamepad center. If I do it like this like him, the gamepad center screen doesn't change, At my screen it just keeps saying connect blue tooth controller.
It would be interesting aswell to create virtual buttons on the screen so i could controll the game via touch screen.
Hope someone can help me on this. Thanks
Bump. Anyone have the ipega9023?
Bump

[Guide][Tincore Key Mapper] Simulate touches using any (supported) controller.

So finally after millions of google searches, discussions etc I was finally able to find a perfect app for touch emulation.
Requirements:
1. Phone must have root access.
2. SE Linux needs to be set to permissive.
3. A (supported) controller and an otg cable. Should work with Bluetooth controllers as well.
Follow the below steps and it should work without any problems :
1. Download Tincore key mapper from play store and give it all the permissions it needs ( display over other apps etc) in the app settings- other permissions.
2. Set SE Linux to permissive. You can do this using an app or the android terminal itself. (Google is your friend)
3. Open the app and grant SU permissions to it.
4. It'll show a tutorial and information. Just skip it or read it if you want to.
4. Go in the settings of the app and go-to devices : touchscreen.
5. For now don't change anything it the output device. Tick everything except Haptic feedback and Invert touch generated Y. (screenshots attached)
6. Now connect your controller using an otg (or pair it using Bluetooth)
7. Click on the search icon (device discovery) select the necessary devices. I myself select System, USB, BT and touchscreen. (screenshot attached).
8. Now, click on the three dot menu and click discover devices. You should get a popup now to allow the app to use the controller. you might need to minimise/deactivate the app in the menu to be able to allow the app to use the controller. If you didn't get any popup then recheck if the controller type is selected in device discovery. If you still don't get any pop-up, your controller might not be supported by the phone.
Click on Minimize/ deactivate to minimise the app.
9. Now just open the game / app you want to use with the controller (or even use a screenshot of the controls ). Open the app from the notification tray.
10. Click on the screen and then keep on pressing/ holding the keys on the controller and you should see the corresponding key on the screen. Just drag the key to the part of the touchscreen that you want to simulate.
11. Do the same with all the keys / analog sticks.
12. Click on the "tick" icon and check if touches are being simulated. (Enable show taps in developer options)
Note : if the app detects the controller but touches aren't simulated change the touch output device to NVT CAPACITIVE TOUCHSCREEN in Devices: Touchscreen.
About the application:-
Tincore Keymapper is an Android application.
This application is a transformer/creator of connected periferals.
It allows you to convert or create input devices like gamepad, touchscreen, mouse etc... into a different ouput device that you physically don't have on your tablet, phone, hdmi tv stick etc...
Devices can internal or connected though USB, Bluetooth or networked. (Source: tincore official Wiki http://tincore.freewiki.in/index.php/Tincore_Keymapper )
Developer : tincore
Hi thanks for this post, but do you have any idea on how to remap the mocute 058? Its a one sided gamepad. So I need my right tumb on the screen but it wont work. Display touching and pressing buttons at same time wont work together. It has something to do with android, because on other mapping apps, even with autoinput+tasker it wont work. tried also with mapping volume buttons. same thing System wide.
VahagSegreto said:
Hi thanks for this post, but do you have any idea on how to remap the mocute 058? Its a one sided gamepad. So I need my right tumb on the screen but it wont work. Display touching and pressing buttons at same time wont work together. It has something to do with android, because on other mapping apps, even with autoinput+tasker it wont work. tried also with mapping volume buttons. same thing System wide.
Click to expand...
Click to collapse
I don't really get what you're asking. If you're saying that you are unable to use the touchscreen and the gamepad at the same time, I remember it was working with my controller. I'll recheck and reply you with results.
MasterFURQAN said:
I don't really get what you're asking. If you're saying that you are unable to use the touchscreen and the gamepad at the same time, I remember it was working with my controller. I'll recheck and reply you with results.
Click to expand...
Click to collapse
yes sir! exactly what I mean just saying that the same problem does happen also with other apps
PS: I have another controller but the dead-zone on the right stick makes it even harder to play pubg, tried the touch center renentering options (mapping) but... still to hard to hold camera on moving objects. xD
Hi,
I have a problem.
After start Tincore Key Mapper it appear in notifications but after few seconds disappear!
If I click again on the app icon it sad TKM profile activated but nothing shows.
Any idea?
I'm running latest beta xiaomi.eu rom
Finally I get it work but cant handle it to work correctly with Pubg and mocute 054.
Can you please share profile?
Thank you!
does it still work on android 9
can somebody confirm that this works on android 9 oneplus 7 pro i have tested it on Redmi note 4 miui android 7.1 and it works perfect.
Anyone successfully use a BT keyboard and mouse with this to play games?
Xyberz said:
Anyone successfully use a BT keyboard and mouse with this to play games?
Click to expand...
Click to collapse
You can give it a try. I don't see why it won't work
VahagSegreto said:
yes sir! exactly what I mean just saying that the same problem does happen also with other apps
PS: I have another controller but the dead-zone on the right stick makes it even harder to play pubg, tried the touch center renentering options (mapping) but... still to hard to hold camera on moving objects. xD
Click to expand...
Click to collapse
I got the same problem with my Moccute 058 on Mi MIx3. Do you have solution yet mate?
Need help for tincore keymapper.
Hello guys. I'm trying to get a macro button for a game. I need a specific touch input but don't know how to get it.
I have the normal Tincore_Mt and I also have one called sec_touchscreen. Can someone share how I get nvt capacitive touch?
Hello, I installed the tincore keymapper application, all the settings work great, I assigned all the keys, but when I activate the mouse does not disappear, when I move the screen it appears on the mouse, how can I solve this?
Anyone who wants to use tincore keymapper to play racing games like the asphalt series, I have a tutorial here that could help you.
Click here for the guide.
does this still work with android 13 ? i can't get it to work. i tried on raspberry pi with androdi 11 + 13. The touch event just not happen when i trigger the defined button-events.

Disabling Android system commands on bluetooth/usb Keyboard and Mouse buttons?

Hello XDA community!
I've done brief google-fu trying to work around issue I have found myself struggling with with nothing to show for it so I come to ask experts because surely, this being such a fundamental problem someone must've already tackled it, right?
So my problem is, I try to use my Android device (in this case POCO X3 NFC, but considering getting Android tablet specifically for this purpose if there is a workaround to issue I'm about to describe since my iPad is nothing more than expensive paper weight it seems) as a client device to access remote desktop and use BT mouse and keyboard to go along with it. Everything is sorta kinda working... except it doesn't as soon as you get to interact with it. ESC and few other keys prioritise Android shortcuts over application, same with right mouse button. I don't think I need to explain why right mouse button closing remote desktop app (Parsec and Moonlight) and booting me back to app launcher instead of opening the context menu on remote desktop is a MAJOR problem. I've found TeamViewer to work alrightish, it catches mouse clicks and button inputs and prevent app from closing itself... if it only wasn't a steaming pile of dog**** to work on - obviously desire here is to keep using VASTLY superior remote desktop experience that either Parsec or Moonlight provides with the benefit of using BT mouse and keyboard.
Is there ANY way that Android system button shortcuts could be completely disabled? I don't want my F-keys to adjust volume... Nor do I want my ESC key or mouse right click boot me back into app launcher...
Also, as a bonus if there's a way to significantly decrease mouse cursor sensitivity it would be greatly appreciated because holy **** moving mouse 1 inch on a desk on lowest setting Android allows for would scroll through several dozen screens worth of content...
I've found this to be a problem on iOS as well but unlike iOS being left at Apple's mercy I kinda expect Android to be more maliable by end-user.
Any takers?

Categories

Resources