LineageOS 16: how to config menu button ? - LineageOS Questions & Answers

Hi,
some applications needs a menu button to get all functionality, but my phone do have only "back - home - recent".
In developer options I found a flag to kill apps with long press of back button.
is there any way to get the "menu button" as long press home or recent?
or any other solution ?
Thanks for your hints and tips

Settings buttons

Sorry, this was the first I was looking for
there are only settings for power and volume (hardware buttons), nothing else. Nothing about navigation bar and his buttons.
could this be device specific customized in LOS by devices maintainer?

[email protected] said:
Sorry, this was the first I was looking for
there are only settings for power and volume (hardware buttons), nothing else. Nothing about navigation bar and his buttons.
could this be device specific customized in LOS by devices maintainer?
Click to expand...
Click to collapse
Try Button Mapper. You can easily customise any hw button function with it. Available here or from Play Store.

@D4ND310, thanks very much.
That's was I looking for until LOS16 give me settings for my device

Related

<31/01/11> -/- Latest Rootfs + Corrected key mapping for Blackstone

Hello all,
I have attached the latest rootfs.img from Xdandroid with corrected key layout for the blackstone as you may have noticed that by default we have two power buttons and have lost the multitasking keymap. Please find below the latest rootfs <rootfs-20110123-5cafe3f> with modified keymapping to regain the multitasking keymap and also the home button.
Yes I am aware you can adjust the end button behaviour in spare parts but you still won't have the multitasking keymap.
Update: Fixed init.eclair.rc and init.eclairhero.rc for updated android binary in latest XDAndroid rootfs.img, eclair now boot's as it should.
Best Regards,
ST1Cl<^^aN
-- Reservered --
At the moment my focus was to return the multitasking functionality, I will be further modifying the keymapping to suite our needs and to be more blackstone specific.
Best Regards,
ST1Cl<^^aN
ok fixed init.eclair.rc and init.eclairhero.rc for updated android binary, uploading updated rootfs.img in a moment...
Best Regards,
ST1Cl<^^aN
Stickman89 said:
Hello all,
I have attached the latest rootfs.img from Xdandroid with corrected key layout for the blackstone as you may have noticed that by default we have two power buttons and have lost the multitasking keymap. Please find below the latest rootfs <rootfs-20110123-5cafe3f> with modified keymapping to regain the multitasking keymap and also the home button.
Yes I am aware you can adjust the end button behaviour in spare parts but you still won't have the multitasking keymap.
Update: Fixed init.eclair.rc and init.eclairhero.rc for updated android binary in latest XDAndroid rootfs.img, eclair now boot's as it should.
Best Regards,
ST1Cl<^^aN
Click to expand...
Click to collapse
Thank you!!!!!
Could You specify what function is assigned to each button? Does it work like in WM ?
Hello,
This key assignment is perfect I think ! Thank you stickman89
some precisions about it:
- Call button: call or voice command (hold)
- Home button: Options & show keyboard (hold)
- Previous button: previous screen
- End button: sleep & end call (if on call) & shutdown options (hold)
sleep is an option under Spare parts => End button behavior => Go to sleep
- Power button: home & recent apps (hold 1 second)
In launcherPro preferences I configured to open/close notifications, when already on home => it's convenient to show notifications by pressing twice on power button)
Thanks, but there is a way to reassign those buttons?
I prefer WM style, where power button means power and home suits home
teti77 said:
Thanks, but there is a way to reassign those buttons?
I prefer WM style, where power button means power and home suits home
Click to expand...
Click to collapse
I will later be modifying those key's to suit our needs, if I match the winmo key layout I will need to set-up long press functions as well, I will try my best to please everyone. Atm this is just to return the missing multitasking function...
Best Regards,
ST1Cl<^^aN
can you map long press end button to recent apps,and leave the power button for power control and shutdown options? ; since home is more frequently used than power on/off , and it's pretty much inconvenient to have it mapped to power button because it's not easily accessible
so,
end >home
long press end >recent apps
power > screen off
long press power > shutdown options
thanks
farukb said:
can you map long press end button to recent apps,and leave the power button for power control and shutdown options? ; since home is more frequently used than power on/off , and it's pretty much inconvenient to have it mapped to power button because it's not easily accessible
so,
end >home
long press end >recent apps
power > screen off
long press power > shutdown options
thanks
Click to expand...
Click to collapse
+1 *grin*
It's more intuitive... or we're more used to it
EDIT: Where's the blac100 keymap? I don't find it in /data/etc/keymaps...
The keymaps is located at /system/usr/keychars/qwerty.kl but it is a symlink to /etc/keymaps/raph_navi_pad.kl.BTW rootfs is already updated.Perhaps OP could submit his patch to stineb to be included for blac100 in the main tree
farukb said:
can you map long press end button to recent apps,and leave the power button for power control and shutdown options? ; since home is more frequently used than power on/off , and it's pretty much inconvenient to have it mapped to power button because it's not easily accessible
so,
end >home
long press end >recent apps
power > screen off
long press power > shutdown options
thanks
Click to expand...
Click to collapse
+1
This would make more sense to me too, especially as at the moment if you're stupid like me and fumble at 'previous/back' but get 'end' instead you end up in a mess with the device locked and having to press power to turn the screen on then swiping to unlock and end up back at the home screen.
+1
Looks better to work with it...
Stickman, does the last rootfs (20110210) bring this keymap for blackstone? Or the changes aren't commited yet?
Eodun said:
Stickman, does the last rootfs (20110210) bring this keymap for blackstone? Or the changes aren't commited yet?
Click to expand...
Click to collapse
i believe there's only one sure way to find out...
farukb said:
i believe there's only one sure way to find out...
Click to expand...
Click to collapse
I'm using it and keymap works great, and power & end buttons work as in WM
Sent from Blackstone using XDA App
Eodun said:
I'm using it and keymap works great, and power & end buttons work as in WM
Click to expand...
Click to collapse
does long press end show up list of recently ran apps
No, it lacks that. It would be perfect otherwise
Sent from Blackstone using XDA App
i'm sure when I tried this longpress did bring up recent apps

[Q] ROMS that can take screenshot WITHOUT using hardware button

I want to take screenshot without using hardware button (vol down+power), for example long press navigation bar or any other on-screen shortcuts.
I have tried AOKP rom but unfortunately the navigation bar doesn't have shorcut to screenshot.
Thanks a lot!
nighos said:
I want to take screenshot without using hardware button (vol down+power), for example long press navigation bar or any other on-screen shortcuts.
I have tried AOKP rom but unfortunately the navigation bar doesn't have shorcut to screenshot.
Thanks a lot!
Click to expand...
Click to collapse
In some ROMs (like AOKP) you can edit the power menu to have a screenshot button.
It's buried in there somewhere, I'm using a stock MMuzzy ROM so I don't have the power to do that.
It's not exactly what you wanted, but you can hold down the power button and then take a screenshot with the button in the menu.
Beauenheim said:
In some ROMs (like AOKP) you can edit the power menu to have a screenshot button.
It's buried in there somewhere, I'm using a stock MMuzzy ROM so I don't have the power to do that.
It's not exactly what you wanted, but you can hold down the power button and then take a screenshot with the button in the menu.
Click to expand...
Click to collapse
Thanks
Can any ROM do this without even long pressing the power button?
nighos said:
Thanks
Can any ROM do this without even long pressing the power button?
Click to expand...
Click to collapse
Not that I know of, however, you can get an app like Screenshot Ultimate to have a button overlay, or even a button sitting static in the status bar.
Here's the trigger list to which you can set.
- Overlay icon which is visible on top of all screens (icon, button or custom icon)
- Shake
- Service icon click
- Audio
- Power connect/disconnect
- Folder listener
- Webserver
- Camera hardware button
- Long click search hardware button
- Custom shortcut
- Widget button
- Button inside the app
- Intent (Tasker support)
- Interval
- Cronjob
use any custom rom with Custom Ring Targets Settings, from there you can set a toggle to take screenshot
Cyanogenmod's navbar shortcuts can do it.
Just as you said, long pressing in the navbar (previous configuration obviously)
Enviado desde mi Galaxy Nexus usando Tapatalk 4 Beta
LiquidSmooth FTW.
XenonHD can.
Sent from my Galaxy Nexus using XDA Premium HD app
Check out "Power Button" http://bit.ly/15dYmLM

How can I change the functionality of the hardware keys on the device?

Hey, I'm trying to change the functionality of the hardware keys. I have seen different solutions, I tried with some apps and I have tried editing Genaric.kl.
I changed:
key 139 MENU
to
key 139 MENU VIRTUAL
But it didn't solve my problem. Right now the buttons are "Back - menu - recent apps" I come from Oxygen OS version 1 on my 1+1 and on that version I was able to change short hold function on the button in the settings but I can't seem to do that on the latest version of Oxygen OS. So I have swapped places with "Back" and "Recent apps" so my current order is "Recent apps - menu - back" I want the recent apps to become a menu button instead like it was on 1+1. I've also read the "MENU" actually is APP_SWITCH which is not stated in Genaric.kl.
Does anyone have a detailed solution for this?
Thanks!
The menu button doesn't really exist any more. It's been phased out for ages.
blackalice said:
The menu button doesn't really exist any more. It's been phased out for ages.
Click to expand...
Click to collapse
Still doesn't answer my question Sir.
I believe it's possible but I can't find the solution.

Can I customize the capacitive buttons with root? How?

I know there is the "buttons" menu in settings and it gives some options for which button does what and button swap but I want more!
Like, long press the back button to kill an app (useful for closing the web browser, for instance, instead of hitting back a billion times or menu - close)
Or adding a menu button since many older apps don't always have a menu option on them anywhere and rely on that button.
I would love to swap the recents button with menu since I generally long press the home button for recents anyways but so far I can't seem to find an option to do so.
Can someone please help point me in the right direction? Thanks!
I just found this thread in search of the same solution. It seems like it's an Android level feature developers choose to include or not. My OnePlus one on 5.1 was the last time I've seen that menu, and I really want it back. It's so annoying to not be able to customize my buttons exactly how I like them, especially since that menu is something that's been in Android for so long. Feels like a step back.
Install All in one gestures app.
Don't be fooled by app's name, it does exactly what you ask and something more.

Custom navbars not working

Hi.
So I've been trying to get my navbar buttons to work as they did in my previous phone. What would be:
Recent apps short press: open menu
Recent apps long press: search
Recent apps double tap: open assistant
Home button short press: home
Home button long press: recent apps
Home button double tap: split screen
Back button short press: back
Back button long press: kill app
Remaping the buttons doesn't seem an option since the soft keys are not detected as buttons. I rooted my device as well.
I've tried several methods using other apps that should replace the stock navbar but those despite being shown they do nothing.
I would also like to have it so the home button is disabled when typing.
I would really appreciate some help. Thanks
-Device: OP5T
-OS: OOS9.0.5
-Rooted with magisk. Twrp recovery. No xposed
Most of the functions you listed can be achieved by using the navbar customization built into Oxygen OS. (Settings->Buttons->Navigation Bar->Customization) The kill app button could probably be done with Tasker.
FevenKitsune said:
Most of the functions you listed can be achieved by using the navbar customization built into Oxygen OS. (Settings->Buttons->Navigation Bar->Customization) The kill app button could probably be done with Tasker.
Click to expand...
Click to collapse
Although it is true the actions themselves are available on the stock menu apart from search and kill app. The short press action cannot be changed
Ah, didn't notice the menu one. Just for curiosity, do apps still support a menu button function? I haven't seen a hardware menu button in years.
FevenKitsune said:
Ah, didn't notice the menu one. Just for curiosity, do apps still support a menu button function? I haven't seen a hardware menu button in years.
Click to expand...
Click to collapse
Oh yes they do. All of the ones I use at least it just opens whatever menu the app has that you would access by pressing on 3 dots. I just hate that some apps use other methods so you always have to think how to open the menu as oposed to just pressing the same thing

Categories

Resources