Radio: Activating Semi-automatic station search up/down (Seek) w/ SWC - MTCB Software Development

Is there a way to assign "Semi-automatic station search up/down" (from pg. 18/29 of Joying "User’s Manual for Android 4.4.4 Head Unit GPS navigation system.pdf") to a steering wheel button instead of having to touch the screen button while driving? The only Steering Wheel Control button options are prev/next station preset or prev/next tuning frequency.
Edit: Or obtain what code can be sent to the radio via keyboard, SWC, etc. to activate the Seek+ / Seek- functions.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Use mtc-keys
event codes posted here
http://forum.xda-developers.com/android-auto/mtcb-software-development/xposed-modules-units-t3263966

carter.w.jason said:
Use mtc-keys
event codes posted here
http://forum.xda-developers.com/android-auto/mtcb-software-development/xposed-modules-units-t3263966
Click to expand...
Click to collapse
Ideally I want to map it to a steering wheel control button not "by pressing the buttons on the front panel of the radio".
I want to activate the radio's SEEK+/SEEK- from my steering wheel button. Presently I have to reach over to the radio to do it (and the radio app may not be up) and ideally I do not want to have to take my eyes off the road to activate my most commonly used head unit functions.
Alternatively, I may have to look into mtc-keys and see if I can map the two radio panel buttons to activate the radio SEEK+/SEEK-.
Thanks.

mtc-keys can remap SWC

carter.w.jason said:
mtc-keys can remap SWC
Click to expand...
Click to collapse
How do I get the actual event code (touching the Radio App's on-screen button) that activates the SEEK+/SEEK- so I can map that event to a hardware button?
Presently no hardware button activates the Radio App's Semi-automatic station search up/down (Seek).

Explore the link I have posted above. Look under Radio section under the mtc-keys section
Sorry, finally had some free time today. Tested the codes(and variants) on my unit, could not get them to work. Everything else with mtc-keys has been great.
Maybe Tasker could be a solution? Have a task "Run Shell" with "input tap xx yy" Export as an App, then have mtc-keys launch it

carter.w.jason said:
Explore the link I have posted above. Look under Radio section under the mtc-keys section
Sorry, finally had some free time today. Tested the codes(and variants) on my unit, could not get them to work. Everything else with mtc-keys has been great.
Maybe Tasker could be a solution? Have a task "Run Shell" with "input tap xx yy" Export as an App, then have mtc-keys launch it
Click to expand...
Click to collapse
Exactly. I did some XY development this way on my Nexus 7. Problem with the JYHU is that their Settings app does not have SERVICES under Settings->Accessibility (see my threads on this here ) which prevents, among other apps, Tasker from running some profiles. But Input XY will probably be OK.

The MTCRadio app is worst than I thought. Tasker input tap xy will click the radio buttons, the on-screen button will change color to indicate it is pressed, but they will not respond. The MTCRadio seems to be run from ONLY the MCU HW and will only respond to physically touching the LCD screen, a hardware button or a mouse cursor/button. If you plug in a physical keyboard, the only keys the MTCRadio itself will respond to are the left and right arrow which interestingly scrolls the entire presets block left or right. That's it. Even a keyboard's volume keys do not actually make the radio volume change. Tab keys don't work. Only keys that are mapped to the MTC steering wheel learning functions will work.
This app is hardcoded with no hooks outside of the MCU side of the headunit.

On the MTCRadio app:
I am able to use Tasker (using input tap or swipe x y execute root command) to click any of the 6 shown (per screen) radio presets buttons and it works.
I am able to use Tasker (using input tap or swipe x y execute root command) to click the stereo (ST) button and it works.
But it will not work on the SEEK+ or SEEK- buttons even though I can see the element is activated. Why are these two buttons so different than any other???
Anyone wanna give it a try (holds down for 800mS):
Launch App: Radio
Wait: 2 second
Run Shell: input swipe 910 270 910 270 800

Finally got something that works. Now I just have to configure mtc-keys to call my two standalone apps (SeekMinus and SeekPlus) when I press the prev/next keys on my steering wheel.
What I'll try in morning:
-Install folder/file mtc-keys/mtc-keys.ini
app_59=com.xxxxx.xxxxx.seekplus
app_58=com.xxxxx.xxxxx.seekminus

I got it all working. I had to install mtc-keys/mtc-keys.ini on the external SD card.
I made four apps: two that launch the radio first, small delay then SEEK+ or SEEK-; two that just click at the screen coordinates of the SEEK+ / SEEK- button locations.
I just have to decide whether I should launch the radio first or not. If I were to activate the SEEK+ on my homescreen it would launch one of my widgets. But it is pretty difficult to accidentally activate SEEK+ the way I have it (requires long press...something not likely to happen).
This would be so much easier if they would just add the radio's SEEK+ and SEEK- to the steering wheel control.

Hey JEMshoe, what was the trick to get 'input tap' to work on seek buttons?

It (input tap or swipe) won't work on the kind of SEEK+/- button elements used in the MTCRadio app. What I came up with is a kludge:
-I bought an app called RepetiTouch (kinda expensive at 12USD) and recorded the button press--save as RepetiTouch file;
-I used RepetiTouch as a plugin to Tasker and called the button press file from within Tasker; saved that as a standalone app;
-I remapped my steering wheel buttons to two functions in the mapping app that will not likely use (answer and hangup);
-I used mtc-keys to call the tasker standalone apps when it received the keycodes (69 and 70).
So now I have the ability to cycle through presets and do SEEK+/- from steering wheel buttons and tune up/down still from the right knob (which I will probably never use). This will be very nice for me during long travel so I don't have to mess up my saved stations--just go to the next/prev strong station, nor reach way over to touch a tiny on-screen button. It's been a long quest for this functionality. No help from Joying. Good leads from XDA!
Edit: Which reminds me...I need to thank the creator of mtc-keys. It worked well once I figured out that on my system it only works if I load the file on the external SD card.

Have you tried something like:
mtc-keys.ini
Code:
event_59=22
event_58=24
That worked for me.

jakejm79 said:
Have you tried something like:
mtc-keys.ini
Code:
event_59=22
event_58=24
That worked for me.
Click to expand...
Click to collapse
I have a stock HU (Hotaudio Model HA2100) and I have the same problem of you.
SWC: It seems that if I configure "<<" or ">>" as buttons, pressing it on the steering wheel the Radio the frequency is changed by few KHz... (No search is started). if I configure "<I" or "I>" as buttons, pressing it on the steering wheel the Radio move to the next stored station. (No search is started).
For what I understand installing mtc-keys and configuring the mtc-keys.ini as before, I should solve the issue, isn't it ?

royalhawk2002 said:
I have a stock HU (Hotaudio Model HA2100) and I have the same problem of you.
SWC: It seems that if I configure "<<" or ">>" as buttons, pressing it on the steering wheel the Radio the frequency is changed by few KHz... (No search is started). if I configure "<I" or "I>" as buttons, pressing it on the steering wheel the Radio move to the next stored station. (No search is started).
For what I understand installing mtc-keys and configuring the mtc-keys.ini as before, I should solve the issue, isn't it ?
Click to expand...
Click to collapse
royalhawk, give it a try and report your results. I don't recall everything that I tried but unfortunately I now have a *couple of layers* between my controls and the headunit that would make evaluating this difficult.
*couple of layers*: I have mtc-keys.ini used for some functions, I also have a custom app that gets called to simulate pushing the seek+/- button and finally I also have a piece of custom hardware that extends the functions of some of the existing steering wheel buttons. I would have to undo these (at least temporarily) to evaluate the suggestion from jakejm79--which would be great! if it works for me/my setup.

Hello,
I don't know if I'm in the right section.
It's possible to teach the radio long press actions on SWC?
My old AN-21 could do this but my Pumpkin Unit don't or I'm wrong?
Best regards
Feepro

Related

How are your buttons set up?

Hey guys,
I'm just looking to see if anyone has any cool changes to your button associations... ya know, always looking for shortcuts...
Mine are all stock, except that I bound Internet sharing to the push and hold feature for voice dialing.
Anyone else got anything cool?
I've made the following changes to the default layout: Comm Manager button changed to flashlight on/off and the voice dial/record to rotate screen on hold, and task manager on tap. This has worked out pretty well for me ever since I started using the 6800 last July. It also helps having the flash mapped to the button if you're using the Vogue's camera like I am (since it has no flash).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Pictures say a thousand words...
Man, that flashlight idea is GENIUS... I always fumble to turn on the flash with my camera.
Do you use VJcandela or something else? I was under the impression that VJCandela doesn't work for the 6800...
also, any idea if it's possible to create a press and hold option for the comm manager button?
i use SPB pocket plus which adds "press and hold" to all buttons, heres my setup:
Messeging press: Messeging (stock)
Messeging press and hold: IM+
Internet press: Opera Mobile
Internet press and hold: Internet Sharing
Voice command press: Oxios CloseApps
Voice command press and hold: Task Manager
Comm manager press: rotate screen
Comm manager press and hold: Comm Manager
Camera press: none (id like to make this flashlight though, anyone know how to add a normal press function to this button?)
Camera press and hold: Camera (stock)
If you want more button control, check out AE Button Plus. I've been using it for over a year now and it works really well. You can assign up to 4 actions to a single button (single click, double click, triple click, long press).
http://ae.inc.ru/aebplus.php
or
http://classic.pocketgear.com/software_detail.asp?id=21070
99% of its funtionality works indefinitely with the shareware version. Its $8 to buy, so I paid and its been a good investment.
defaultdotxbe said:
i use SPB pocket plus which adds "press and hold" to all buttons, heres my setup:
Messeging press: Messeging (stock)
Messeging press and hold: IM+
Internet press: Opera Mobile
Internet press and hold: Internet Sharing
Voice command press: Oxios CloseApps
Voice command press and hold: Task Manager
Comm manager press: rotate screen
Comm manager press and hold: Comm Manager
Camera press: none (id like to make this flashlight though, anyone know how to add a normal press function to this button?)
Camera press and hold: Camera (stock)
Click to expand...
Click to collapse
That is EXACTLY the same way I have it setup! Kudos!
i have one of my side buttons set to <Today> screen so that I can quickly get out of what im doing and dial someone with Spb phone suite, or for whatever other purpose
stroths said:
If you want more button control, check out AE Button Plus. I've been using it for over a year now and it works really well. You can assign up to 4 actions to a single button (single click, double click, triple click, long press).
http://ae.inc.ru/aebplus.php
or
http://classic.pocketgear.com/software_detail.asp?id=21070
99% of its funtionality works indefinitely with the shareware version. Its $8 to buy, so I paid and its been a good investment.
Click to expand...
Click to collapse
Good ole stroths and his AE button plus.
gabestover said:
I've made the following changes to the default layout: Comm Manager button changed to flashlight on/off and the voice dial/record to rotate screen on hold, and task manager on tap. This has worked out pretty well for me ever since I started using the 6800 last July. It also helps having the flash mapped to the button if you're using the Vogue's camera like I am (since it has no flash).
Click to expand...
Click to collapse
I'm hoping desperately that you are able to actually take pictures with the flash on! A bunch of us have been failing miserably to get this to work using a Vogue camera cab and Nilisco flashlight. We can turn on the camera, then turn on the flash. But when the shutter takes a picture, the flash turns off just before the picture is captured.
If anyone can get this to work, please share how and with which applicationd/cabs.
morganlowe said:
Pictures say a thousand words...
Click to expand...
Click to collapse
mine is the same except my button5press&hold = <rotate screen>
Can't you change the button functions in the registry. I tried to add an extra button function to the camera button to go straight to my pictures but failed.
Has anybody tried this?
delete post. Reason: trying to think too late at night.
I have Spb for that same reason (along with the 1 pixel tall hash battery bar at the top which is pimp). Here's mine:
Softkeys: Left= Total Commander , Right=Contacts
Messaging press: MortPlayer
Messaging press and hold: Nilisco flashlight
Internet press: Opera Mobile
Internet press and hold: Spb close all
Voice command press: Volume balloon
Voice command press and hold: S2U2
Comm manager press: New Text Message
Comm manager press and hold: New Voice note
Camera press: none (id like to make this flashlight though, anyone know how to add a normal press function to this button?) This would be so useful
Camera press and hold: Camera (stock)

Softkeys or...?

How are you, NC enthusiasts using softkeys with your NC? I find it annoying to touch a small button and then additional touch every time I need to go back or pop up a menu. Also this small button is always covering something which can be tapped as well. Too much hassle.
No need to touch a small button. The softkeys simply flank both sides of the launcher.
hrizzy said:
How are you, NC enthusiasts using softkeys with your NC? I find it annoying to touch a small button and then additional touch every time I need to go back or pop up a menu. Also this small button is always covering something which can be tapped as well. Too much hassle.
Click to expand...
Click to collapse
I find soft-keys to be a god send for the NC, If you don't like the button you can just turn that feature off and setup soft-keys to pop up when you press the N key instead.
Or you could try button savior, which is in the market, many people are using it, but i found it far more annoy and less usefull.
Right now I have softkeys setup with the small button, at 75% transparent. and then i have the hard key N setup to single click my Launcher and double click brings up softkeys.
Also you know you can drag that button out of the way right? I have mine just above Middle and just enough off the edge to sneak a figure between it and the side, found it to be mostly out of the way there and I almost never have to move it.
I'm happy with button savior
I map menu and back to volume Up/down. I just don't like to have an extra tap with softkey
I'll add my vote to button savior. Softkeys was in the way. I would also rather not map it to the N key as I use that for a task switcher. Button savior almost never results in accidental presses, is easy to get to, and does what I need. What else can I ask for?
hrizzy said:
How are you, NC enthusiasts using softkeys with your NC? I find it annoying to touch a small button and then additional touch every time I need to go back or pop up a menu. Also this small button is always covering something which can be tapped as well. Too much hassle.
Click to expand...
Click to collapse
Set it up right and you get no silly button on the screen, use the N button to show the menus when necessary.
http://nookdevs.com/index.php?title=NookColor_Default_Launcher
And of course it any apps that hide the status bar, see if they have an option not to do it. Often they do, although most games don't.
nicbennett said:
I'll add my vote to button savior. Softkeys was in the way. I would also rather not map it to the N key as I use that for a task switcher. Button savior almost never results in accidental presses, is easy to get to, and does what I need. What else can I ask for?
Click to expand...
Click to collapse
Thanks for the recommendation. I agree this is much better than softkey.
thecalip said:
I map menu and back to volume Up/down. I just don't like to have an extra tap with softkey
Click to expand...
Click to collapse
That's a great idea, how did you do that?
+10 for button savior
Sent from my LG vx9800 using XDA App (not really)
thecalip said:
I map menu and back to volume Up/down. I just don't like to have an extra tap with softkey
Click to expand...
Click to collapse
That's a great idea, how did you do that?
WOW! While I was flying back from New York, 2 pages of advices. Thanks for answers. Looking and trying at button savior... Seems the same - first tap to call shortcuts, second for back/menu.
I understand that this is because much Android software is done for phones, not tablets yet. What I really dislike that in Honeycomb they just sticked to the same philosophy, only adding the navigation bar at the bottom, imitating hardware buttons.
Volume buttons seems to be a good advice, but I always miss which button is for back, which for menu.
Not sure how so many like softkeys, anyone thats been on android for a while must have gotten used to having keys on their device. Thats why I dislike softkeys, too many taps and its always in the way, I much prefer the default Nook notification bar with back and menu buttons constantly there and I really like HoneyComb's implementation alls you need is a big square device you can move it around all day and your buttons follow you.
I'll try button savior if its nice I can do Nookie, though with HoneyComb being stable of late I can't see going back, only for flash maybe.
nicbennett said:
I'll add my vote to button savior. Softkeys was in the way. I would also rather not map it to the N key as I use that for a task switcher. Button savior almost never results in accidental presses, is easy to get to, and does what I need. What else can I ask for?
Click to expand...
Click to collapse
I have SoftKeys setup without the floater button, just press N key and SoftKeys comes up. At the bottom are all the soft keys (and now you can add the volume keys there, in case you want to remap the hard volume keys but still have constant volume control), and at the top is a Task Switcher with all my recent apps in order. Setting N to a task-switcher-only setup seems like an unnecessary sacrifice of features.
vapor63 said:
I have SoftKeys setup without the floater button, just press N key and SoftKeys comes up. At the bottom are all the soft keys (and now you can add the volume keys there, in case you want to remap the hard volume keys but still have constant volume control), and at the top is a Task Switcher with all my recent apps in order. Setting N to a task-switcher-only setup seems like an unnecessary sacrifice of features.
Click to expand...
Click to collapse
+1
10 chars
Not sure how I did it, but I don't have a floater button at all, nor do I have to press anything to bring up Softkeys. They're just always there flanking either side of the regular BN button. One on the left is back obviously and the one of the right is menu. They show up in any program where I can see the BN button in the middle. The hardware button is the home button obviously. All I'm missing is search which I never use.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A. Nonymous said:
Not sure how I did it, but I don't have a floater button at all, nor do I have to press anything to bring up Softkeys. They're just always there flanking either side of the regular BN button. One on the left is back obviously and the one of the right is menu. They show up in any program where I can see the BN button in the middle. The hardware button is the home button obviously. All I'm missing is search which I never use.
Click to expand...
Click to collapse
That's the default rooted config.
Ok. Then why would you use Softkeys?
It kills me when people talk about how BS is better than SK because of something when SK could be configured to do that exactly the same way if they only bothered to look in the settings menu.
RoboRay said:
It kills me when people talk about how BS is better than SK because of something when SK could be configured to do that exactly the same way if they only bothered to look in the settings menu.
Click to expand...
Click to collapse
Why does it kill you. I like BS alot better. Sure I could config softkey but I actually prefer BS. You pick what you pick and I will use what I want to use.
Sent from my GT-P1000 using Tapatalk

[Q] Remapping Menu button to Recent Apps

Hello,
I would like to remap the menu key on my GSIII.
I'm currently using the latest cm9 nightly (cm-9-20120624-NIGHTLY-i9300.zip)
I found the file which keeps the button actions /system/usr/keylayout/sec_touchkey.kl
I tried to edit that file. Changed the MENU command to APP_SWITCH. Then I made a reboot. It worked, my menu key is now shows recent apps.
I thought that a menu button will appear on apps, but they didn't. How can I make them appear? Any solution?
Thanks.
bump. any help?
I have the same problem, though I am trying to disable the menu and back buttons. Any help would be appreciated
Is there a way to do this without rooting and a custom rom? I would like to do this on my stock TouchWiz.
Sent from my GT-I9300 using XDA
afaik the on screen menu button will appear only if the virtual buttons are enabled.
does sec_touchkey.kl have any other values specifically for long press event which triggers the search?
bala_gamer said:
afaik the on screen menu button will appear only if the virtual buttons are enabled.
does sec_touchkey.kl have any other values specifically for long press event which triggers the search?
Click to expand...
Click to collapse
No thats wrong. HTC One X and S does not have onscreen button. But applications has menu button inside, and if the application is not ics compatible then menu button appears in nav bar like the screenshot below:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That is exactly what I want to do. Replace the menu button with appswitcher, and menu button will be in application, or in nav bar.
Or we could have the best of both worlds, which is the fix HTC used to get rid of that ugly black 3 dot bar on the one x. Just make the menu button the app switcher button and when you press and hold it, the menu pops up. Win win and no annoying black bar.
kantk20111 said:
Or we could have the best of both worlds, which is the fix HTC used to get rid of that ugly black 3 dot bar on the one x. Just make the menu button the app switcher button and when you press and hold it, the menu pops up. Win win and no annoying black bar.
Click to expand...
Click to collapse
I was looking for a way to reduce the necessary holding time of the home button for the app switcher, but this would be even better.
kantk20111 said:
Or we could have the best of both worlds, which is the fix HTC used to get rid of that ugly black 3 dot bar on the one x. Just make the menu button the app switcher button and when you press and hold it, the menu pops up. Win win and no annoying black bar.
Click to expand...
Click to collapse
Trying the same for a while, couldn't get it to work
《tapatalked from galaxy s3》
the CM9 Domination Rom has this feature built in, and I've confirmed it works on my One X. Ive asked the developer how he did it lets hope he spills the beans. it even reenables the action overflow button
http://forum.xda-developers.com/showthread.php?t=1692415
any updates regarding this? would love to do it on my GS3, I barely ever use the menu button but always use the task switcher, would prefer to switch the two
Single tap to show the recent apps feels so much better than long pressing the home button so im with you bro!
To interested developers out there I suggest that instead of an HTC One X style bottom menu bar that shows when the app has menu, Just display a small arrow at the bottom so not to waste space. A small arrow are already applied in some taskmanagers on the market.
Thanks.
I use two options:
- Nova launcher and set long menu press to recent apps instead of google search.
- Download an app called "multitask shortcut" from google play. Its awesome.
With these two I never have to press home button again.
Any other ideas would be appreciated.
I think I found the best solution. There's an app in the market called "Button Saviour" that does the functionlity of the capacitive buttons. The pro version allows you to hide it so you just position the invisible menu at the bottom so you can access any time.
Ok, I've done something similiar.
I flashed AOKP build 40, so I can enable on-screen nav buttons.
I enabled nav buttons, now its like Galaxy Nexus.
Then I disabled capacitive buttons. Here is how I've done it:
Edit /system/usr/keylayout/sec_touchkey.kl file :
key 158 SCROLL_LOCK VIRTUAL
key 139 SCROLL_LOCK VIRTUAL
Click to expand...
Click to collapse
Save it and reboot the device.
(Note: your capacitive buttons will actually toggle the scroll_lock state, but you wont notice anything)
Now your device is easier to use with one-hand Have fun.
-----
PS: I noticed that AOKP rom also has the best battery life ^^
xmRipper said:
Ok, I've done something similiar.
I flashed AOKP build 40, so I can enable on-screen nav buttons.
I enabled nav buttons, now its like Galaxy Nexus.
Then I disabled capacitive buttons. Here is how I've done it:
Edit /system/usr/keylayout/sec_touchkey.kl file :
Save it and reboot the device.
(Note: your capacitive buttons will actually toggle the scroll_lock state, but you wont notice anything)
Now your device is easier to use with one-hand Have fun.
-----
PS: I noticed that AOKP rom also has the best battery life ^^
Click to expand...
Click to collapse
What about remapping the menu button to a camera key? Any idea how to add this to the setup you describe above?
xmRipper said:
Ok, I've done something similiar.
I flashed AOKP build 40, so I can enable on-screen nav buttons.
I enabled nav buttons, now its like Galaxy Nexus.
Then I disabled capacitive buttons. Here is how I've done it:
Edit /system/usr/keylayout/sec_touchkey.kl file :
Save it and reboot the device.
(Note: your capacitive buttons will actually toggle the scroll_lock state, but you wont notice anything)
Now your device is easier to use with one-hand Have fun.
-----
PS: I noticed that AOKP rom also has the best battery life ^^
Click to expand...
Click to collapse
I think if you just delete the two entries it will also disable them. That's how we did it on the ATT GS2(except we had 4 entries for the 4 cap buttons)
I dont have a GS3 yet but I'm already preparing a zip that will disable the cap buttons/lights and the home button so I can strickly use on screen softkeys.
I think it might be this for the home button:
key 172 HOME
that's in the generic file in the same dir but cant be certain until I get the device and test it. I'm going to look at a zip I had for disabling the lights and figure it out on the gs3. I guess the last piece would be disable the home double touch but I'm not sure if you disable home if it also disables the double home click?
graffixnyc said:
I think if you just delete the two entries it will also disable them. That's how we did it on the ATT GS2(except we had 4 entries for the 4 cap buttons)
Click to expand...
Click to collapse
Oh nice and simple solution which might work, I didn't try it ^^
I am also ok with home button, it is not capacitive. So I didn't try to disable it.
But I always mispress the capacitive buttons with my palm, they are too much sensitive.
The number of spaces in the sec_touchkey.kl file is important. If you make the change wrong, the system will just ignore the file and use defaults. If ayone has problem doing it, use the attached file to disable touch keys.
3473 said:
any updates regarding this? would love to do it on my GS3, I barely ever use the menu button but always use the task switcher, would prefer to switch the two
Click to expand...
Click to collapse
Is there a mod that allows us to use the menu button as a button now ?
---------- Post added at 02:13 PM ---------- Previous post was at 01:46 PM ----------
3473 said:
any updates regarding this? would love to do it on my GS3, I barely ever use the menu button but always use the task switcher, would prefer to switch the two
Click to expand...
Click to collapse
Is there a mod that allows us to use the menu button as a button now ?

[APP] Button Launcher (button shortcuts/combinations) for Android Wear

Button Launcher is a completely free software for Android Wear 2.0 that allows you to define what apps will be launched based on up to two button press combination.
There is currently no other software for something like that. The "Wear Button Remapper" is paid app that allows remapping of long press primary button ("home"). "Bubble Cloud Wear Launcher" can do the same for free and it also add's detection for second longpress but the later is a paid feature.
For watches with only single (primary/home) button, there are only two shortcuts to set. The first is just long press that primary button followed with no other button press (within a configured timeout), the second are two long presses of primary button in a row.
Watches like Huawei Watch 2 with 2 hardware buttons allow for 4 different shortcuts:
Long press home button + no other action
Long press home button + long press home button
Long press home button + short press secondary button
Long press home button + long press secondary button
And additional 4 shortcuts if you map secondary button to start Button Launcher (in System Settings -> Personalisation -> Customise hardware buttons)
Secondary button press + no other action
Secondary button press + long press home button
Secondary button press + short press secondary button (A)
Secondary button press + short press secondary button (A)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TODOs/Limitations
On watches with more than 2 buttons it's currently not possible (? looking for help) to create shortcut combinations starting with specific secondary button (what short press button was used to start Button Launcher). Making that work would probably require creating additional app shortcuts listed in the stock drawer/launcher.
The launch screen displays icon of an app that will be launched when time runs out. My final vision is to also show smaller icons of apps launched by button presses, closed to positions of real hardware buttons. Done
Download
Get it on Google Play: https://play.google.com/store/apps/details?id=com.brouken.wear.butcher
Source: https://github.com/moneytoo/ButtonLauncher
Please leave your feedback and requests. It will help prioritize future features and development.
I tried the app and really like it. For my use, it would be nice to be able to select google assistant as one point and the already mentioned symbols on the to-do list would be nice. As an additional feature, I could imagine an option to just make the app only usable on the second button. So the top is working normal, lower button gives you several options.
All in all, it works flawless and is really useful, thank you so much for it.
I like the idea, but not being able to launch Assistant directly kind of kills it for me. "OK Google" is way too unreliable so I've gotten used to just long-pressing to access Assistant. I'm not quite ready to give that up. Hopefully this won't be too difficult to implement.
@Vegatta @codesplice
Latest version (0.2) lists assistant apps in list of all apps. In my case the entry point for Google Assistant has no special name co it's just "Google". That should allow you to map it whetever you like.
Now I'm thinking whatever the long press primary button should be set to Assistant by default or should take user to the Settings screen. Well, maybe set Assistant as default and open Settings on the first launch. But that maybe a bit later. I have also fixed some bugs and will watch for other possible issues.
I'm trying to get this app to work on my misfit vapour running Android wear 2 (Oreo).
I open it from my launcher and try clicking any of the options but nothing happens, long pressing the button brings up the app icon, but I can't interact with it at all.
Please can you help me to get this working, what I really want to do is to be able to enter theatre mode with long press.
TIA
Sent from my OnePlus5 using XDA Labs
moneytoo said:
@Vegatta @codesplice
Latest version (0.2) lists assistant apps in list of all apps. In my case the entry point for Google Assistant has no special name co it's just "Google". That should allow you to map it whetever you like.
Click to expand...
Click to collapse
Works brilliantly! Thanks so much for addressing that so quickly. Now I can see myself using this a lot!
Jsilver73 said:
I open it from my launcher and try clicking any of the options but nothing happens, long pressing the button brings up the app icon, but I can't interact with it at all.
Click to expand...
Click to collapse
Did you get to the Settings screen similar to those on pictures (just with less configurable options if your watch has only one button)? Button Launcher detects how it was launched (from launcher or button press) so it shows either Settings or actual screen used for launching configured apps (the one with app icon). Did you use system app drawer (launcher) or some 3rd party one? I can see that this can be a bug or unhandled case in Button Launcher and I was planning on testing starting Button Launcher from other 3rd party launchers.
moneytoo said:
Did you get to the Settings screen similar to those on pictures (just with less configurable options if your watch has only one button)? Button Launcher detects how it was launched (from launcher or button press) so it shows either Settings or actual screen used for launching configured apps (the one with app icon). Did you use system app drawer (launcher) or some 3rd party one? I can see that this can be a bug or unhandled case in Button Launcher and I was planning on testing starting Button Launcher from other 3rd party launchers.
Click to expand...
Click to collapse
Launching from stock launcher, my device is misfit vapour - nothing is selected by tapping on either the app icon when it launched on long press nor the dialogue in the apps seeing apart from the long press time out setting which I can change.
Sent from my OnePlus5 using XDA Labs
Jsilver73 said:
Launching from stock launcher, my device is misfit vapour - nothing is selected by tapping on either the app icon when it launched on long press nor the dialogue in the apps seeing apart from the long press time out setting which I can change.
Click to expand...
Click to collapse
So if I understand correctly, you're saying that you don't have the two options: "Default action" and "+ Long press" in the "Long press primary button" category, right? The availability depends on the number of your watch buttons. As your watch has only the primary button, you should still see these options.
I think I could add a test (print button count) to the help section so we should be able to verify whatever it's because of this or not.
moneytoo said:
So if I understand correctly, you're saying that you don't have the two options: "Default action" and "+ Long press" in the "Long press primary button" category, right? The availability depends on the number of your watch buttons. As your watch has only the primary button, you should still see these options.
I think I could add a test (print button count) to the help section so we should be able to verify whatever it's because of this or not.
Click to expand...
Click to collapse
Yep that's right, the settings from the app show up, wait, let me switch to browser and I'll upload some photos
This is what I see on my watch, but neither of those screens allows me to select anything
Jsilver73 said:
This is what I see on my watch, but neither of those screens allows me to select anything
Click to expand...
Click to collapse
Thanks for the shots. I'm pushing new version that works around the reported button count and always shows the universal single button settings. That should hopefully fix things for you.
Hey,
thank you for implementing the function so fast. used the app now for some days and I have to say I am really impressed. My only problem is that I sometimes forget the button combinations, but as that's anyway a planned feature, that's not a problem (and if then mine).
On a Zen watch3 I also got it running without any problems.
Thank you so much for the really useful app.
This works goot on a single button Ticwatch E. Is there any chance you could get it to trigger the screen timeout or lock instead of launching an app?
BackCheck said:
This works goot on a single button Ticwatch E. Is there any chance you could get it to trigger the screen timeout or lock instead of launching an app?
Click to expand...
Click to collapse
So far it's only apps and Assistant but I'm exploring the options. In my case I would like to be able to start timers with specific time right away with button press.
Work in progress:
This is my vision which luckily looks fine for me. (This is how it looks on my Huawei Watch 2 where icons are positioned based on real buttons.)
Long presses are better on the outermost circle since there is more room and the space will be cramped on watches like LG Sport. (All agree, right? )
Now I need the rework the timeout progress bar but I'm not sure which way to go. One idea is to make it as wide as the outmost circle, another idea is to make it "pie chart" like inside the inner circle...
Edit:
Edit2:
Done & pushed.
Works great on HW1 with Wear 2.9 - many thanks!
Everyone who wants theater mode with the button have a look at:
https://www.reddit.com/r/AndroidWear/comments/64qitr/toggle_theater_mode_on_wear_20/
Works perfectly in combination with button launcher!
Cheers
Chris
moneytoo said:
So far it's only apps and Assistant but I'm exploring the options. In my case I would like to be able to start timers with specific time right away with button press.
Click to expand...
Click to collapse
The app works great and I really love that it shows now the buttons. Thaks for the awesome app.
But this feature could be really nice, to turn off Bluetooth connection, or start a timer in addition to apps, so if that could be added, it would be awesome.
Is it possible to also remap a single long-press on the secondary button?
---------- Post added at 03:40 PM ---------- Previous post was at 03:37 PM ----------
Primetime_de said:
Works great on HW1 with Wear 2.9 - many thanks!
Everyone who wants theater mode with the button have a look at:
https://www.reddit.com/r/AndroidWear/comments/64qitr/toggle_theater_mode_on_wear_20/
Works perfectly in combination with button launcher!
Cheers
Chris
Click to expand...
Click to collapse
Autowear also supports toggling Theater Mode already. (you also have to use the adb-commands to allow the permissions, but no root required).
I just used one of their Launchers (the one called "night" ,-) ) to start a securesettings-profile to toggle theatermode.
Na!th said:
Is it possible to also remap a single long-press on the secondary button?
Click to expand...
Click to collapse
Unfortunately AFAIK it's not possible with the current set of Android Wear API.

Question Pixel Gesture to quickly set phone to silent or vibrate mode?

Having owned several OnePlus phones over the years, I have so gotten used to the side slider 'button' to quickly silence the phone.
I am seriously considering buying a Pixel 6 - but just wanted to know from Pixel5 owners etc, is there a way of configuring a gesture that would allow me to configure the alternative to the slide - i.e. would not need to unlock the phone etc in order to mute it and then un-mute it?
I don't mean when a call comes it etc, just when in its idle state and say I just remember in a meeting that it's not on silent...
I have tried to google this - but have not found a definitive answer...
Thanks!
You could use tasker to remap the quick tap
Supercharge the Pixel 6's Quick Tap to Snap feature with Tasker
Supercharge the Pixel 6's new Quick Tap to Snap gesture with Tasker. You can even use it to trigger custom actions based on the orientation of your phone.
www.xda-developers.com
Thanks - will look into that if I cant get used to the volume button+screen tap to mute.
harryw66 said:
Thanks - will look into that if I cant get used to the volume button+screen tap to mute.
Click to expand...
Click to collapse
I was also used to the OnePlus Do Not disturb slider, however, I think google is doing it here much better.
if you go to System >Gestures > and then select Flip to Shhh, this will activate the "Don Not Disturb"
The Explanation of this function says:
"To Turn on Do Not Disturb, place your phone face down on a flat surface. You'll feel a subtle vibration when the Do Not Disturb turns on"
When you then pick up the phone, the Do not Disturb is disabled. i use this all the time and it works quite well for me.
i hope this helps.
Thanks - I did check that feature out.
But it won't work for the kind of situation I often found the slider useful - e.g. the slider would allow me to silence the phone, whilst still in my pocket - if I remember during a meeting or something...
same boat here. i installed an app called "button mapper", and have mapped long press vol+ to change vibration/sound, and long press vol- to turn off screen. force of a habit.
Thanks @tiantianisfox - installed that - helps.
I also noticed that the Vibrate icon has vanished from the Status Bar for Android 12.
I had to install Super Status Bar to get that back for now.
I have send feedback to Google - hopefully if enough people complain, they will add it back later.
Hi,
Just an FYI Update.
I have been trying out a few different apps.
I found that MacroDroid will let me configure the volume buttons to change the individual volume levels for calls, rings, media etc etc.
So, currently, I have set:
Volume up double-tap, to 'Volume Change' with specific volume levels for each item e.g. High Ringer Volume - but low notification volume. etc
Volume Down double-tap to 'Volume Change' with all volumes to zero and Enable Vibration
I will try this out for a few days - otherwise, the next option will be something like Tasker or Macrodroid) + Sound Profile app with the automation subscription.
UPDATE: The Volume Double tap did not work consistently, so I changed it to Volume Long Press - of which there are two variations.
The more useful Long Press has to be enabled via an ADB Hack and works even when the screen is locked.
You then have the option of using MacroDroid functionality to adjust the sound settings based on Up and Down button - including setting the Ringer Volume and Notifications volume independently (somethiing missing from Pixel 6 and many other phones).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
However, I prefer to use the Sound Profile app (+Automation subscription) - to activate the Sound Profile of my choice and it seems to offer better control over the volume levels. e.g. if I set the ringer volume to 100% in a Sound Profile, it is louder than if I set 100% in MacroDroid Sound settings.
In terms of notification/status icon, I prefer to use the Macrodroid Notification Icon rather than the Sound Profile one - as the Macrodroid one is shown on the Lock screen as well.
The Send Intent looks something like (replace the Profile name as required):
Hope this helps!
I should add that you can send Intents to Sound Profile from Tasker and AutomateIt (and possible others) as well.
Button Mapper works very well. Never had an issue with it not working.
Wshankles said:
Button Mapper works very well. Never had an issue with it not working.
Click to expand...
Click to collapse
Sure, but it only seems offers a toggle option for Vibrate - I could not map one button to Normal and the other to Vibrate...
I installed this app/widget for it this morning - works like a charm and is fairly small so it doesn't look too out of place
Nimueh said:
I installed this app/widget for it this morning - works like a charm and is fairly small so it doesn't look too out of place
Click to expand...
Click to collapse
Cool - but that would require me to take the phone out of my pocket and unlock it - before I could change the sound mode.
I was looking for something that would avoid unlocking the phone and avoid interacting with the screen - i.e. just by pressing a button..
harryw66 said:
Cool - but that would require me to take the phone out of my pocket and unlock it - before I could change the sound mode.
I was looking for something that would avoid unlocking the phone and avoid interacting with the screen - i.e. just by pressing a button..
Click to expand...
Click to collapse
Button Mapper can do it, before I found the above widget I used that. Had the Volume Up button long-press set to toggle silent/vibrate and it worked pretty good, so maybe give that a try?
Nimueh said:
Button Mapper can do it, before I found the above widget I used that. Had the Volume Up button long-press set to toggle silent/vibrate and it worked pretty good, so maybe give that a try?
Click to expand...
Click to collapse
Thanks - but as I explained just earlier - button mapper only offers a toggle option - I could not map one button to Normal and the other to Vibrate.. So, I could not be certain when I use button mapper - whether I had set the phone to vibrate or not - without unlocking the phone and checking the sound settings
Isn't power + volume up working? This shortcut was introduced on Android 11 I think. It will quickly turn on vibrate only or just mute (you can change what it does in the settings)
Only issue is that I think it wont turn back to ring, it only goes one way
Papote3 said:
Isn't power + volume up working? This shortcut was introduced on Android 11 I think. It will quickly turn on vibrate only or just mute (you can change what it does in the settings)
Only issue is that I think it wont turn back to ring, it only goes one way
Click to expand...
Click to collapse
Don't seem to work on the P6 - I disabled the Macrodroid before trying it out...
Power + Volume Up brings up a selection window with Emergency, Lockdown, Power Off + Restart buttons.
problem with tasker and button mapper is that the silent/vibrate/ring on pixel is actually do not disturb/vibrate/ring, so it is kinda inconvinient. i now uses "rules" in settings to trigger them.
harryw66 said:
Don't seem to work on the P6 - I disabled the Macrodroid before trying it out...
Power + Volume Up brings up a selection window with Emergency, Lockdown, Power Off + Restart buttons..
Click to expand...
Click to collapse
You can try the quick tap feature and make it to open this app https://play.google.com/store/apps/details?id=muter.muter
This is an extract from this article:
Haven't tried it before but it's worth a try
Papote3 said:
You can try the quick tap feature and make it to open this app https://play.google.com/store/apps/details?id=muter.muter
This is an extract from this article:
Haven't tried it before but it's worth a try
Click to expand...
Click to collapse
Hey - thanks. But I have the tap programmed for something else and I want to be able to switch to vibrate and normal with certainty - not a toggle back and for either.
My solution allows me to do that i.e. one button for normal mode and one for Vibrate mode - so no uncertainty as to what mode it is in.

Categories

Resources