Code (keyevent?) for switching from mousemode to keypadmode - Tasker Tips & Tricks

Hi everyone,
it would be nice if someone can help me with my issue. I'd like to use a task which switches the mousemode where you have the cursor to keypad mode to interact in leanback apps. I have searched after keyevents but didn't found it. Neither the button on the remote is not trackable with keymap logging apps
Is there a possibility to emulate it in tasker?
Thanks for any help in advance

Related

searching for a profile programm...

hey there.
i search now a long time for a good programm to get phone profiles.
the problem is that i search one with which i can change the profiles over buttons or better shortcuts. (for exaple a button for vibra and normal...) this is because i'd like to use the buttons directly on my today screen or even in ifonz or such a touch thing. if anybody know what i'm searching for, please answer!
thanks!

Car Installs - Triggering a Tasker Task from Keyboard

Hi,
I am having difficulty getting something I would think easy to work on my Nexus for my car install.
I was wondering how people are getting tasker tasks to be triggered off keyboard hotkeys when using either their Joycon or a standard external keyboard.
It seems from research the way to do this used to be quick launch shortcuts (assigning search key + a letter) to an app or shortcut but it seems these do not work for me in android 4.4?
External keyboard helper lets you launch applications from hotkeys, but seems to give no way of launching tasker tasks.
This is really doing my head in! From youtube it looks like others have no issues doing this. Any help would be greatly appreciated!
Well, the only thing I can think of right now is to use a Tasker Scene with a focused textbox to detect the keys. You will have to run this scene as a dialog, and deal with all the complications with that... (touch disabled outside of dialog, etc) but here's another idea.
You could use a mobile bluetooth keyboard (or any keyboard that has volume/brightness keys) and have a Tasker profile pick up a change in the ringer volume variable, this would give you 2 or 3 hotkeys (vol up, down, or mute). If you don't have a keyboard like that you could edit the Android keymappings under /system/usr/keylayout/General.kl to incorporate volume changes under some key.
Sent from my SCH-I605 using xda app-developers app
Good idea with detecting the variable changes! I'm using an Arduino Micro which emulates a keyboard so I will have no problem emulating them via buttons & changing the keyboard layout kl if nessesary. Thanks
I am currently working on the same topic: Here is my workaround for trigger a task with an external bluetooth keyboard.
create a task in Tasker
create an app of this task with Tasker App Factory
remap a key of the keyboard to the new app with External Keyboard Helper
Finish
Maybe this is helpful
Thomas
What are you trying to accomplish?
Lokifish Marz said:
What are you trying to accomplish?
Click to expand...
Click to collapse
1. With a bluetooth remote (Satechi BT MediaRemote) i want to switch between the homescreen by pushing a key. (launcher nova and tasker secure settings are necessary)
2. a tasker scenes (dialog) with different options should open by pushing another key. Navigation in the scene should do also with the Bluetooth remote (not yet finish).
The goal is an intuitive handling of the tablet ui in the car with less touch-input on the screen. Something like Audi MMI or BMW idrive.
In my opinion to find icon on the homescreen while driving is difficult.
Here is my current set up.
Nexus 7 (In dash)
Center console mounted volume dial with push to mute (Tablet>dial>amp)
(Not shown in the screencap is that the media widget is also in the Navbar and accessed via a softkey in the navbar)
The console dial was initially a USB 5 button mouse with key remapping but required the amp gain be cranked up which caused issues.
Now for full control you need the following;
(Some of these things can be eliminated with voice controls)
Media Control (Previous, Play/Pause, Next, Playlist, etc.)
Directional controls (Up, Down, Left, Right)
Action Controls (Select, Home, Back, Recent, Menu)
Phone Control (Answer, Hangup, Dialpad)
SMS Control (Full KB or voice to text using a noise canceling mic)
If you skip voice control and you don't count the dialpad or KB, you need 15 buttons or adaptive input based on what app is running but still need at least 5-6 buttons. I am not sure how involved implementation of adaptive input would be as I gave up after days of trying to get it just right.
With the Satechi BT MediaRemote, you can cover most of this by key remapping but have to remember what keys are what. The advantage of proper key remapping is that it removes the need for additional apps to get it to work.
Seeing that I'm not sure how complete of a setup you are trying to get, it's hard to offer anymore advice.

Anyone know of a way to disable hardware keys in portrait mode?

Whenever in portrait mode the thin bezel means you risk touching the back key. This is bloody annoying.
I'm wondering if it is possible to disable (or temporarily remap to null) the hardware keys. I know by tinkering with system files in a root browser they can be disabled on boot, but surely it is possible (with xposed?) to do this on the fly.
I'm thinking a tasker task to disable the keys on specific apps etc.
Can anyone give any advice?
I posted on the wanam thread in xposed to try and get him to add it, but no one replied. Surely it's not only me who would find this useful?
Just rotate 180 degrees, grab the camera side, then touch buttons are on the opposite side.
What if I have two hands?
@pingtiao
Use Xposed framework and Gravitybox to disable the softkeys and use pie controls.
Thanks @jball
I tried that but it didn't seem possible to do this for just one orientation or app. Is it possible? Can it be accessed via tasker?
Thanks firm your help guys. For anyone who wants to know: expanded desktop in GB gives option to disable hardware keys. Tasker can toggle the expanded desktop using send intent " ------ action: gravitybox.intent.action.TOGGLE_EXPANDED_DESKTOP"
SOLVED!

[Q] Keyboard buttons pop-up on touch!

Although my problem seems very simple but i can't find a solution through my phone settings. Whenever i press a key on my Z1 keyboard it pops-up on the screen. I searched in my keyboard settings for something to disable this but unfortunately i couldn't find any. I really like the interface and simplicity of the stock Z1 keyboard but this thing is making me really frustrated specially during chatting or sending a quick email. So is there an option to disable this that i couldn't find?
Thanks in advance.

Disable one button nav touch and hold gesture

Hi,
for the most part I quite like the One button navigation feature to be able to get rid of the on-screen buttons. But sometimes a longer touch gets interpreted as touch & hold and the Google app opens which is annoying.
Does anybody know of a way to disable the touch & hold gesture? Or is it possible to configure the actions? Maybe open a different app? Thanks.
Doesn't seem possible with the Moto app. Maybe when ROMs come out for this device there will be a way to modify the actions.
carneiroy said:
Hi,
for the most part I quite like the One button navigation feature to be able to get rid of the on-screen buttons. But sometimes a longer touch gets interpreted as touch & hold and the Google app opens which is annoying.
Does anybody know of a way to disable the touch & hold gesture? Or is it possible to configure the actions? Maybe open a different app? Thanks.
Click to expand...
Click to collapse
Go to settings, search for Assist & Voice input, or go to settings-app, then touch the gear for more settings and you should see Assist & Voice input settings. Once there, change the assist app to none. It will show you all the apps that can set themselves as the assist app. I use Cortana.
jacewt said:
Go to settings, search for Assist & Voice input, or go to settings-app, then touch the gear for more settings and you should see Assist & Voice input settings. Once there, change the assist app to none.
Click to expand...
Click to collapse
Woohoo, thanks! That did it!
I'd thought I've been through all settings screens, but I totally missed that one.

Categories

Resources