I was wondering how one enables the touch keys in a ROM for the Menu, Back, and Options buttons. I have tried editing the sun4i-keyboard.kl file to include the entries for these virtual keys and enable the tkey_para section of the script.bin but they still won't function. In the original ROM the sun4i-keyboard.kl file did not have the virtual keys listed, but they worked on the original ROM. Any idea where I can look to map these keys?
Related
I used AE Buttons and all those types of software, i was just modifying my cooked rom and was wondering if there is a way to remap a key like from a shortcut being placed somewhere.. or an reg edit.. so that a program i put on the rom will begin to work right after the rom is flashed?!?!
-thanks Push
Hey everyone,
This may seem like a noob question, but how do you alter the navigation configuration when building CWM? My recovery image I built seems to operate on the tilt of the accelerometer instead of any navigation keys. I didn't see anything in the device configurations that would lead me to a quick fix. I need to change the up and down navigation to the volume keys. Thanks!
Hello, XDA!
So recently, I found a flashable zip for a stock LG keyboard. I do have a problem though, when I use the keyboard, I have an annoying and useless T9 button and I want to move/resize some buttons.
Would it be possible to modify the apk from the zip to achieve what I am trying to go at? I prefer this keyboard than any other keyboard because this is the closest to the LG P690 stock keyboard in terms of speed I could find to the original, and this is what I'm accustomed to.
(Please see attachments)
What I'm trying to achieve is:
1.) I want to remove the T9 button, settings button and comma on the first layout.
2.) Move the comma into the symbol layout and move the keys according to the sample layout.
3.) I also need to let the spacebar fill the space the removed buttons used to take up.
Is this possible? I would be more than happy if someone could teach me/make it with the apk (if it is at all possible). I have included the flashable zip with the apk inside if anyone wants to try. Thanks!
Hi,
I had the same idea once and found this thread:
stackoverflow.com/questions/1670446/android-cutomized-keyboard-key-and-action
I gave-up because it looked uneasy (if not impossible)
Best.
[HELP] Home button not working on MIUI life 2.4.20 v4 (ST17i)
Hi!
Today I've flashed MIUI life 2.4.20 v4 on my Xperia Active (ST17i) but home button is not working.
Tried reflashing, clearing cache & data, but there's some problem with the Android Configuration Assistant because it locks home button.
SOLUTION: (almost noob level)
AverageFury said:
[HELP] Home button not working on MIUI life 2.4.20 v4 (ST17i)
Hi!
Today I've flashed MIUI life 2.4.20 v4 on my Xperia Active (ST17i) but home button is not working.
Tried reflashing, clearing cache & data, but there's some problem with the Android Configuration Assistant because it locks home button.
Click to expand...
Click to collapse
1. Install a Root Explorer/Browser with which you can view and edit system files.
2. Navigate to:
system>usr>keylayout, and look for a file named as " cyttsp_key.kl "
3. Open it with a root text editor
(you need an editor with root permission for editing system files, mostly they come equipped along with the root browser)
4. Here you will find the list Capacitive touch buttons along with their functions listed
eg: for xperia active with 3 Capacitive touch buttons Back, Home, Menu it is something like this:
key 102 HOME VIRTUAL
key 139 MENU VIRTUAL
key 158 BACK VIRTUAL
5. So if your Home button is not working, you will notice the first line(key 102 HOME VIRTUAL) in missing. (102 is the button code, HOME is the function, & VIRTUAL I guess represents its a Touch Button)
6. Just add the line save the file & Restart your device, this should probably fix your problem.
Note:
1. The number the in each line after the "key" is a unique code for each button of your device, just google it to find the code & function of a particular button
2. If 1 of your hardware buttons are not working then repeat the same process with the file " pm8058-keypad.kl " in the same directory(system>usr>keylayout)
3. Make a backup of the file before you edit it.
4. You can disable a button by adding a "#" in front of the line that mentions its name/code.
eg: Change "key 139 MENU VIRTUAL" to "#key 139 MENU VIRTUAL"
Flashable zips to change the hardware menu key to app switch/recents.
Method is simply to replace MENU with APP_SWITCH in Generic.kl
Tested with TWRP and Google Edition 4.4.2/Hyperdrive RLS15 4.3.
You will lose access to settings menus, so use your preferred alternative method to access them. I use Gravitybox to set long press on recents key to menu. You need to change settings for recents key, not menu key in Gravitybox/whatever you use.
Mostly just for convenience since I always do this when flashing roms anyways and I think it's ridiculous to have to hold the middle button for 2 seconds to switch apps. I just add menu_switch to queue after whatever rom zip I'm flashing.
Attached:
menu_switch.zip - changes menu key to app switch/recents key
menu_revert.zip - reverts changes