Text cursor control with volume keys - Nexus 5X Q&A, Help & Troubleshooting

Does anyone know a way to use the volume keys to move the text cursor on nexus 5x without customrom?

Not with custom ROM, but GravityBox will do it if you're rooted!~

in case you are using the google keyboard, there is currently a new update for that starting to roll out, which includes a new spacebar-gesture to move the curser one letter at a time in either direction. maybe this is a satisfactory alternative for you.

My new app Cursor Control lets you use the volume keys to easily move the cursor in text fields and works without Root.

Related

Keyboard navigation keys...?

All,
I have a desire and have come from the winmo world. I am struggling to find the cursor keys on my keyboard, can anyone help?
All the best,
Sam
PianoSam said:
All,
I have a desire and have come from the winmo world. I am struggling to find the cursor keys on my keyboard, can anyone help?
All the best,
Sam
Click to expand...
Click to collapse
There are none. You just use the optical trackpad instead.
Thanks for the prompt reply, but I am very clumsy and wonder if there is a keyboard out there I could load to get cursor keys back?
All the best,
Sam.
Use this:
http://forum.xda-developers.com/showthread.php?t=663608
You can map the volume button to move cursor
smarter keyboard pro allows you to have the keyboard arrows
in fact it's so good that when using the normal keyboard, you can just swipe in an direction to have the arrow keys displayed
also provides you with the stock android keyboard
would recommend

[Q] Keyboard - arrow keys?

I'm coming from a phone with a trackball... a MyTouch 3G that I had kept current thanks to CyanogenMod. This is much better lol.
I used that trackball though, all the time, mostly for selecting text that I'd screwed up... or to move the cursor between words where I wanted to add a sentence. But sometimes was nice too, for moving to the next form field, or scrolling focus to the "submit" button, etc.
I'm pretty happy with my Swiftkey X keyboard - it's got an option to enable arrow keys. I'm surprised Swype doesn't? I'm used to Swype and really would like to use that.
So my question is twofold:
Any other good keyboards with either a simulated trackpad or arrow keys?
and/or...
How do you live without it? I can adapt if I know the tricks.
geolemon said:
I'm coming from a phone with a trackball... a MyTouch 3G that I had kept current thanks to CyanogenMod. This is much better lol.
I used that trackball though, all the time, mostly for selecting text that I'd screwed up... or to move the cursor between words where I wanted to add a sentence. But sometimes was nice too, for moving to the next form field, or scrolling focus to the "submit" button, etc.
I'm pretty happy with my Swiftkey X keyboard - it's got an option to enable arrow keys. I'm surprised Swype doesn't? I'm used to Swype and really would like to use that.
So my question is twofold:
Any other good keyboards with either a simulated trackpad or arrow keys?
and/or...
How do you live without it? I can adapt if I know the tricks.
Click to expand...
Click to collapse
Hackers keyboard is nice. Has the four arrows and a number row. Plus you can enlarge or reduce the keys.
The best solution I have found so far is an app called GameKeyboard. The dpad simulates the repeated keypress of a held down arrow key, or joystick (which is essential for many games).
However, it has bugs, and the qwerty mode is slow (you swipe horizontally across the keyboard to switch between gamepad mode and keyboard mode). I enable it specifically for games, and then switch back to my main keyboard (i.e. swype) for everything else.
Here's a link:
https://market.android.com/details?id=com.locnet.gamekeyboard
in swype there is an arrow option. swype from the swype/option button to the sym/123 button and a arrow keypad comes up. also from sym/123 button to "f" brings up a number pad.
thumb keyboard has arrows

[Mod] Change Headset Button Control

I take no credit for this Mod. I found this posted in the i9300 section here http://forum.xda-developers.com/showthread.php?t=1767954&page=2. All credit goes to andrewilley.
What this does is map the volume up and down controls on the headset to next and previous track instead. I suggest that you only use this if you are using the wired headphones and want that functionality. Because this will change it for bluetooth devices also. So if you have a headset that already has buttons for both volume and tracks this isn't for you.
Here is andrews post from that thread.
Code:
I've managed to get the second and third headset buttons acting as next/previous track functions - without needing any extra software (although of course you can add extra facilities using Headset Button Controller later if you wish). The side volume rocker still works for volume control.
Christoph Kober pointed me to some documentation on the Android key mapping files (http://source.android.com/tech/input...out-files.html) which helped me in the right direction. I first tried to edit the small file which looked like it handled the headset, but that did not change anything. Then I tried editing the master key mapper file, and that did the job. I assumed that this would also remap the on-device volume buttons too, but fortunately there is another mapping file which overrides the generic one to handle the four hardware buttons - so they get re-mapped back to volume again. Perfect!
You'll need root access and a text editor for this. Don't mess with this lightly, you are editing system files!!!
1) Navigate to folder /system/usr/keylayout/
2) Backup the current Generic.kl file (you were going to do that anyway, right? If you weren't, probably best not go any further...)
3) Edit the file Generic.kl using a text editor
3) Comment out the lines for keys 114 and 115 (just put a # at the start of those two lines) thus:
# key 114 VOLUME_DOWN WAKE
# key 115 VOLUME_UP WAKE
4) Find the lines for keys 163 and 165, which look like this:
key 163 MEDIA_NEXT WAKE
key 165 MEDIA_PREVIOUS WAKE
5) change the numbers from '163' to '115', and from '165' to '114', thus:
key 115 MEDIA_NEXT WAKE
key 114 MEDIA_PREVIOUS WAKE
6) Save and reboot
Andre
Here are recovery zips if you want to flash. You can also use these to flash back and forth if need be. Files were taken from LG1.
Download: http://d-h.st/asK
MD5: aa8334da5d76d8e0a0dd26eafac269c6
Uninstaller Download (reverts back to stock): http://d-h.st/2DC
MD5: c2bd8ccbe81c230ef97997267b600d0c
crawrj said:
I take no credit for this Mod. I found this posted in the i9300 section here http://forum.xda-developers.com/showthread.php?t=1767954&page=2. All credit goes to andrewilley.
What this does is map the volume up and down controls on the headset to next and previous track instead. I suggest that you only use this if you are using the wired headphones and want that functionality. Because this will change it for bluetooth devices also. So if you have a headset that already has buttons for both volume and tracks this isn't for you.
Here is andrews post from that thread.
Code:
I've managed to get the second and third headset buttons acting as next/previous track functions - without needing any extra software (although of course you can add extra facilities using Headset Button Controller later if you wish). The side volume rocker still works for volume control.
Christoph Kober pointed me to some documentation on the Android key mapping files (http://source.android.com/tech/input...out-files.html) which helped me in the right direction. I first tried to edit the small file which looked like it handled the headset, but that did not change anything. Then I tried editing the master key mapper file, and that did the job. I assumed that this would also remap the on-device volume buttons too, but fortunately there is another mapping file which overrides the generic one to handle the four hardware buttons - so they get re-mapped back to volume again. Perfect!
You'll need root access and a text editor for this. Don't mess with this lightly, you are editing system files!!!
1) Navigate to folder /system/usr/keylayout/
2) Backup the current Generic.kl file (you were going to do that anyway, right? If you weren't, probably best not go any further...)
3) Edit the file Generic.kl using a text editor
3) Comment out the lines for keys 114 and 115 (just put a # at the start of those two lines) thus:
# key 114 VOLUME_DOWN WAKE
# key 115 VOLUME_UP WAKE
4) Find the lines for keys 163 and 165, which look like this:
key 163 MEDIA_NEXT WAKE
key 165 MEDIA_PREVIOUS WAKE
5) change the numbers from '163' to '115', and from '165' to '114', thus:
key 115 MEDIA_NEXT WAKE
key 114 MEDIA_PREVIOUS WAKE
6) Save and reboot
Andre
Here are recovery zips if you want to flash. You can also use these to flash back and forth if need be. Files were taken from LG1.
Download: http://d-h.st/asK
MD5: aa8334da5d76d8e0a0dd26eafac269c6
Uninstaller Download (reverts back to stock): http://d-h.st/2DC
MD5: c2bd8ccbe81c230ef97997267b600d0c
Click to expand...
Click to collapse
Works like a charm
Sent from my SAMSUNG-SGH-I747 using xda premium
How can this be used on the actual phone volume buttons instead of the headset? It does work good tho.
KryPTiCk0d3 said:
How can this be used on the actual phone volume buttons instead of the headset? It does work good tho.
Click to expand...
Click to collapse
You would have to find to volume rocker buttons and change them but then you couldn't change the volume with them.
Sent from my SAMSUNG-SGH-I747 using xda premium
Would that be in the same generic.kl? or in a different spot? I use that an awful lot, more than volume adjust... so I could live with it for now until a custom rom comes out with it included, not sure of any yet.
KryPTiCk0d3 said:
Would that be in the same generic.kl? or in a different spot? I use that an awful lot, more than volume adjust... so I could live with it for now until a custom rom comes out with it included, not sure of any yet.
Click to expand...
Click to collapse
I haven't dug into it yet so not sure. I would expect it to be though. When I get some time I will check it out.
Sent from my SPH-D710 using xda premium
I wanna set that when I hold the headset button that it launches S Voice :good:
XblackdemonX said:
I wanna set that when I hold the headset button that it launches S Voice :good:
Click to expand...
Click to collapse
Doesn't it already do that? Thought I read that on the stock headphones?
Edit: Guess not I just tried it. But I discovered that if you double tap play button it will skip to next track.
Sent from my SPH-D710 using xda premium
crawrj said:
Doesn't it already do that? Thought I read that on the stock headphones?
Edit: Guess not I just tried it. But I discovered that if you double tap play button it will skip to next track.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
lol i know that double-click skips track...
that doesn't help me lol
is there any way to make it like the g2 where it doesn't change tracks unless you hold it? and if you just click it it still increases or decreases the volume
I have been unable to get this to work on JB AOKP. Installing the flashable or direct edit results in losing all controls from the headphones. If anybody has been able to get this running on AOKP i would love to know how.
Maybe in this generic.kl file we can set those headsets with "iphone made" buttons to work with android?
I have one with 3 buttons, and all of them gives me google now when pressed. (JB)
ih8mydroid said:
I have been unable to get this to work on JB AOKP. Installing the flashable or direct edit results in losing all controls from the headphones. If anybody has been able to get this running on AOKP i would love to know how.
Click to expand...
Click to collapse
I would like to get this working, anyone else have any ideas?

[IDEA] Text navigation using soft keys

Does anyone know if it would possible to make a Nav bar mod which allows you to move the cursor left and right by swiping along the nav bar.
Kind of like a virtual track ball. Maybe even a new key you can add in that responds to swipes rather than press.
BUMP
I guess this a feature not many people would find useful.
xternal said:
Does anyone know if it would possible to make a Nav bar mod which allows you to move the cursor left and right by swiping along the nav bar.
Kind of like a virtual track ball. Maybe even a new key you can add in that responds to swipes rather than press.
Click to expand...
Click to collapse
Most custom roms have option to move cursor with volume buttons.
WHATCHOO TALKING BOUT WILLIS?

[Q] Raising the virtual keyboard in Chrome.

Is there still any way to bring up the virtual keyboard under Chrome (on the new N7 at least), even when you are not on a text box element?
Some sites capture key presses to do various activities, and the inability to use the keyboard is a definite problem.
An example being ajaxterm (implements a remote terminal emulator via javascript and AJAX, quite handy going through overly restrictive firewalls), no keyboard renders the entire thing useless.
Any suggestions?
I'm not sure. The best solution I can think of off the top of my head is to use a custom rom with button mapping. You can set press and hold functions to software keys and hardware (I think).
I'd say a long press on the Recents button to pull up the IME. Typically Back(Hold) is force close, Home(Back) is Search, nothing is assigned to recents(Hold).
That or an app that sits in the notification tray that has a button for IME....
Or again, the quick notification toggles on custom Roms has an IME enable/disable, I think.
Sent from Nexus 7 FHD from XDA Premium HD

Categories

Resources