Remap Keyboard Keys - Eee Pad Transformer Q&A, Help & Troubleshooting

I have AOKP Milestone 6 installed and I love how it looks, especially the Hide Notification Bar option because it makes my TF feel more like a netbook when I have it docked. The only problem is that the long press shortcuts don't work on the keyboard (ex. long pressing the home key doesn't give me the recent apps menu, it just brings me to the home screen).
I was wondering if there was a way to re-map some of the shortcut keys in the top row (bluetooth toggle, camera, internet, etc...) to my own custom actions such as launching the recent apps menu, killing a window and bringing up the notification bar. I know it's possible to do this in Linux since I just did it for a remote that I use with XBMC (the remote emulates a keyboard), I just didn't know if they feature is extended to Android or not.
Sent from my TF101 using Tapatalk 2

its possible but not easy. Some things can be remapped in the users/ect files such as ausec.(c something) but other more complex things like recent apps have to be done in framework-res.apk as far as i remember

Check out /system/usr/keylayout/asusec.kl.
I'm not sure if you can map keys to specific things like killing a window or bringing up the notification bar. However, recent apps is accessible through alt+tab (try it!) and so you may want to swap the Search and Alt keys.
EDIT: Some useful key names to look for and replace:
ALT_LEFT: left alt
ALT_RIGHT: right alt
SEARCH: search key
FORWARD_DEL: delete, as opposed to backspace. not mapped to anything by default
ESCAPE: escape key. I have this bound to the wifi key because I always accidentally hit it, and sometimes escape is useful in terminals or remote desktop

mjlim said:
Check out /system/usr/keylayout/asusec.kl.
I'm not sure if you can map keys to specific things like killing a window or bringing up the notification bar. However, recent apps is accessible through alt+tab (try it!) and so you may want to swap the Search and Alt keys.
Click to expand...
Click to collapse
Thats right usr/keylayout not user/ect don't know what i was thinking there. I know there is a way to exchange the stupid alt-tab icon recent apps to the cards recent apps but i don't have time to do that right now. I was also going to work on getting a guide set up on how to remap everything because it seems to be a pretty common desire.
Edit:
Found it
http://forum.xda-developers.com/showthread.php?t=1450138

Thanks for the info guys, I'll give it a try! I definitely think I'm going to stick with AOKP for a while since it seems to give me the best experience since I've had my TF (over a year).

alt tab
brando56894 said:
Thanks for the info guys, I'll give it a try! I definitely think I'm going to stick with AOKP for a while since it seems to give me the best experience since I've had my TF (over a year).
Click to expand...
Click to collapse
Have anyone result at this field ?
Is it possible to disable ALT-TAB (that switch android apps)?
I need this combination bee free for RDP.

Related

Keyboard shortcuts for OK n Start ???

hi guys,
Hope some one can tell me , how to create shorcuts like "Ok" and "StartMenu" on the keyboard.I think this feature would be very useful ,,, I am sure some body might be thinking about this already ?
And one more thing I heard is the American model touch pro At& T model has "ok" and startmenu keys on the keyboard, so if upgrade the uk model htc touch pro rom with AT & T rom , then will I be able to use the keyboard shortcuts ?
Expecting some answers from our pro colleagues....
vj
For me can be better to unbind the home/back buttons from their default functionalities and handle them with AEBPlus. So I can have 4 functions on each button without their preinstalled functionalities.
I am not sure you can unbound home. Anybody tried?
NLS said:
I am not sure you can unbound home. Anybody tried?
Click to expand...
Click to collapse
I am sure,that someone will hack it. It is just a software. Earlier or later...
Yes Home will be really important so yuo have a better use of the phone with a single-hand. Hope someone will fix this topic!
any more suggestions here with regards to home and OK buttons on KEyboard ?
Thought I will bump this , so that some one can answer to this really!
I'm using PQzII to map Ctrl+Enter → OK. You can also setup keyboard shortcuts for Start, Today, Alt+Tab, etc.
http://www.nicque.com/PQz/PQzII.htm
This remap the keyboard AND buttons or only the keyboard?
fhsieh said:
I'm using PQzII to map Ctrl+Enter → OK. You can also setup keyboard shortcuts for Start, Today, Alt+Tab, etc.
http://www.nicque.com/PQz/PQzII.htm
Click to expand...
Click to collapse
Thank you for the tip , I will try this and then I will report back.
PQzII it's a wonderful app, works nicely!
Thanks!
nice app, i will try this out as well
I realize that configuring PQzII might not be very obvious, so here's some hints on how I've set it up for myself:
Run PQzII_Setup.exe to open the options.
Set CTRL as CTRL. I want to use my FN key as ALT, so enter the key code 0xEC for ALT since there is no actual choice for FN (more info below):
Now I can use FN+[key] mappings to simulate a regular PC.
FN+S → Start menu
FN+D → Desktop/Today screen
FN+Tab → Alt+Tab to switch programs
PQzII doesn't list all available keys (such as FN) but you can use PQz_CHECK to figure out the keycode and then manually enter it into PQzII if it isn't listed. For example, the SYM key is 0xE6. Just be sure to exit PQzII before you run PQz_CHECK:
http://www.nicque.com/PQz/PQz_CHECK.htm
Note: there's some inconsistency in how the TPro and PQzII handle sticky keys differently, so you might have to press some keys twice. Also, it goes without saying that you might get problems if you map shortcuts that already have functions, like FN+W → £.
Hope that helps
Edit--
After some testing, it might not be such a good idea to use the FN key for mapping because the Raphael uses it as a double-sticky key (ie: press FN once for one symbol, press FN twice for FN-lock). Since PQzII treats function keys as single-sticky keys, it gets pretty buggy.
Thank you & one more request
I have also tried this software and I must say , this is a must app for every Touch Pro Users , you can literally run anything with this software.
Only one more hurdle left for me with htc touch pro, when I am using any 3rd party RDP clients like citrix ica client, input is not taking from the keyboard, its only accepting it from virtual keyboard, there is one more thread already opened for this. Hope someone can crack this one fianl issue for touch pro.
Thanks to all the users who suggested this app.
Crosslinkage
Although the current result of my little research project is limited to being able to define a different keycode for the back button for _every window class_, perhaps with some more work it could lead to actually being able to remap the back button properly.
The home button can be (slightly) tweaked using post messages as well, but more work is required.
See my post here:
http://forum.xda-developers.com/showthread.php?p=2644888#post2644888
remap "back" button in IE?
It's not perfectly matching the topic but I don't want to start a new thread since it also somehow matches the topic:
Does anyone know if it's possible to map the "back" hardware-key in PocketIE as "history back"? In Pocket Outlook for example you can use the back-button to return from an email to the folder list but in PIE if you hit the back-button you just minimize PIE.
Problem with install.
When i install the app to my Touch pro, i can see the icon, but when i launch the app, all it does is show a small white square next to the "START" (top left)
I have uninstalled itn and re-installed but with no success.
Any ideas guys
Regards
Rich
Jimllfixit said:
Problem with install.
When i install the app to my Touch pro, i can see the icon, but when i launch the app, all it does is show a small white square next to the "START" (top left)
I have uninstalled itn and re-installed but with no success.
Any ideas guys
Regards
Rich
Click to expand...
Click to collapse
tap on the small white square, select "Setup" in Kontext.
Or run the setup application located in Mein Gerät (my device) - Programme (programs) - PQzII - PQzII_Setup
How can i make PQzII launch 2nd today?
I can't seem to make it find the program.
EDIT:
Copy the .ink to somewhere within my documents (I used templates nice and out of the way)
Then add a shortcut to a program select view all files and find the shortcut.
Installed and couldn't get the app started. In fact it kinda hanged my Touch Pro.
So it would be better if it works with Fn , cuz we all use it more than any key ...
nobody suggest it to the programmer ?

[Q] Keyboard dock customizations

Anyone know how to do the following:
1. Change the color of the mouse pointer. I can only see it if the screen brightness is turned all the way up.
2. Is there way to map a key to the recent programs screen?
3. Is there anyway to "Alt+Tab" through open programs? I know the concept of open programs is different than in Windows but even a single key to cycle through would be awesome.
Thanks
as of right now, no no and no.
sorry.
You could possibly change the mouse pointer color if you root and could find the image extract it, edit it and then replace it, but as far as i know no one has tried.
there is noway to remap keys so for now you have to actually touch the screen for this. and yes i find it annoying too.
honeycomb dosn't support a function like that. maybe ice cream this fall.
Apps and recent apps are two glaring omissions to the keyboard considering all the crap shortcut keys I'll most likely never go near. A long press on the home key would be nice to bring up recent apps. Control x/c/p would be nice shortcuts as well.
Sent from my SPH-D700 using XDA App
dbpaddler said:
Control x/c/p would be nice shortcuts as well.
Click to expand...
Click to collapse
I know Ctrl+p works. Does ctrl+c/x not work?

Keyboard dock

I know there have been a couple of posts dotted around asking about the keyboard dock but I've seen nothing definitive.
I have the dock and it worked great with Honeycomb. I neglected to think about how it would work with a custom ROM before flashing one.
I've gone for the CM9 ROM and although generally typing on the keyboard works it is far less functional. The majority of the (very useful) hotkeys don't work.
Including:
Home
On screen KB up/down
Menu
Play/Pause Media
Makes the whole thing far less useful :-(
I'm interested in if anyone knows anything I can do to make this better on CM9 or even if it's likely to work better with any different ICS ROM?
Yes, the keyboard dock hotkeys don't work, all except the back key. But even more annoying it is that the software keyboard shows up and it shouldn't.
karnka said:
I know there have been a couple of posts dotted around asking about the keyboard dock but I've seen nothing definitive.
I have the dock and it worked great with Honeycomb. I neglected to think about how it would work with a custom ROM before flashing one.
I've gone for the CM9 ROM and although generally typing on the keyboard works it is far less functional. The majority of the (very useful) hotkeys don't work.
Including:
Home
On screen KB up/down
Menu
Play/Pause Media
Makes the whole thing far less useful :-(
I'm interested in if anyone knows anything I can do to make this better on CM9 or even if it's likely to work better with any different ICS ROM?
Click to expand...
Click to collapse
I do not have a genuine Samsung keyboard (yet) but you should be able to map home, menu and the media buttons with my app: http://www.apedroid.com/android-applications/external-keyboard-helper
You can also specify up to 16 apps and create shortcuts for them. For example you could start the browser with Alt+B and Gmail with Alt+G if you want to.
Yep
I remember that happening occasionally before but it's constant now and even more inconvenient without the convenient hotkey to hide it.
Can I assume this is pretty constant regardless of the ROM used?
karnka said:
Yep
I remember that happening occasionally before but it's constant now and even more inconvenient without the convenient hotkey to hide it.
Can I assume this is pretty constant regardless of the ROM used?
Click to expand...
Click to collapse
Yes I think so unless it is a HC rom based on a stock ROM.
I'll fix some of it in the CM9 port once I recieve my BT keyboad case and have something to test with. If you just want to get rid of the on-screen keyboard you can use my free app that does that and nothing more: https://play.google.com/store/apps/details?id=com.apedroid.hwkeyboardhelperfree
If you want full control you need my paid app: https://play.google.com/store/apps/details?id=com.apedroid.hwkeyboardhelper
Free demo: https://play.google.com/store/apps/details?id=com.apedroid.hwkeyboardhelperdemo
Thanks for the advice. Your app looks really helpful.
I've no problem buying the pro version but want to have a play with the demo one a little more first.
I'm having slight issues trying to map a few things:
App switching: can map keys to this but doesn't seem to do anything
"Internet" / "Mail" - these two keys aren't picked up by the mapping config as they immediately jump away launching the browser (I'd love to remap to chrome) or asking me whether i want Gmail or Mail (and not remembering my selection)
I've mapped home (hooray!) but although it takes you back to the launcher it doesn't necessarily take you back to the default screen as the onscreen home button does (that's a really small issue!)
Any thoughts about those?
On the subject of the demo version of the app... Is the only thing that's different between that and the pro version that the spacebar is mapped to: _This_is_a_demo_version!_?
karnka said:
Thanks for the advice. Your app looks really helpful.
I've no problem buying the pro version but want to have a play with the demo one a little more first.
I'm having slight issues trying to map a few things:
App switching: can map keys to this but doesn't seem to do anything
Click to expand...
Click to collapse
The problem with keycodes is that some are handled erlier in the input queue before I can process it in my app. App switcher and Home is two examples. I managed to do a workaround for Home but I have not yet found a way to bring up the app appswitcher programatically.
"Internet" / "Mail" - these two keys aren't picked up by the mapping config as they immediately jump away launching the browser (I'd love to remap to chrome) or asking me whether i want Gmail or Mail (and not remembering my selection)
Click to expand...
Click to collapse
Same reason here. Android propably picks up and processes these before the app get a chance and therefor the scancode is never passed on. However, when I get my BT keyboard dock I can investigate this more.
I've mapped home (hooray!) but although it takes you back to the launcher it doesn't necessarily take you back to the default screen as the onscreen home button does (that's a really small issue!)
Click to expand...
Click to collapse
This is due to the nature of the workaround. I just launch the launcher which gives almost the same effect as when the system processes the Home keycode (apart for the difference you noticed)
Any thoughts about those?
On the subject of the demo version of the app... Is the only thing that's different between that and the pro version that the spacebar is mapped to: _This_is_a_demo_version!_?
Click to expand...
Click to collapse
The versions are identical apart from the space button and some strings (demo vs pro, buy vs rate) so you can test out everything before buying.
You really should try the application shortcuts. Choose apps for A0 to AF and enter A0 to AF instead of characters when doing a custom layout. You could put the Email app on Alt+E and Gmail on Alt+G etc... Setting it up could be bit more userfriendly but once you figure it out it is not that hard to do.
Have got the pro version now and the overall effect is not much worse than the keyboard was under honeycomb so thanks very much.
Have setup a few short cuts (chrome and Gmail) and mapped them to some of the otherwise non-working function keys so that's great too.

Would it be useful to switch the multitasking key for a dedicated search key?

I think it was an excellent idea for Google to push for the elimination of the menu button. It makes sense and encourages developers to unambiguously put the rest of their program's menu options in the app itself, easily accessed. On the other hand, having a dedicated key for app switching seems kind of unnecessary. The Windows Phone layout makes sense to me. The search button seems like a good idea. The only problem is, on WP, the search key is always bound to the Bing web search.
I think Google could use this sort of layout better. Keep back and home, of course, but let users access the recent apps list by double-tapping the home key. Google Now Voice could be accessed by holding down home. Swap the app switch key for search, and default that to in-app search, which would be pretty useful for quite a few apps. Double-tapping (or long-tapping, I suppose) the search key could bring the user to the android universal search, and let them search through their phone and Google for general search terms, as well as the Play Store for apps that aren't currently on the phone.
Or, hell, just let users remap the keys to their heart's content right out of the box. Customization is why we went Android, isn't it?
Protogon said:
I think it was an excellent idea for Google to push for the elimination of the menu button. It makes sense and encourages developers to unambiguously put the rest of their program's menu options in the app itself, easily accessed.
Click to expand...
Click to collapse
Except . . . . that it doesn't really encourage them to. Too many app developers still haven't done it. And when they do, its always in a different place, which is counter-intuitive.
redpoint73 said:
Except . . . . that it doesn't really encourage them to. Too many app developers still haven't done it. And when they do, its always in a different place, which is counter-intuitive.
Click to expand...
Click to collapse
A lot of devs haven't updated their apps in a while, yes, but the ones that adhere to Holo guidelines always have the overflow menu at the top or bottom right. The icon is also universal, so it really isn't that hard to find.
Plus, just how many ICS-style three-button (or touchscreen only) devices are there out there right now?
personally i would prefer they ditch the multitask button and bring back the menu button as some of my apps now are losing screen realestate to the menu button being at the bottom part of screen. they could have easily just made a long press of the home screen open the multitask, and a double press of home key to open up the multiple launcher option.
blessedswine said:
personally i would prefer they ditch the multitask button and bring back the menu button as some of my apps now are losing screen realestate to the menu button being at the bottom part of screen.
Click to expand...
Click to collapse
I agree, I use the Menu button more than multitask. But I know that some people are just the opposite. The implementation on 2.23, where you can pick from different button mappings (with long press mapping also going to either multitask or menu), is the way to go IMO.
As far as the search button, I hardly ever used it on my old Desire Z.
You already have a dedicated search button. Hold down the Home button and talk to it. On Jellybean, you access Search by swiping up from the bottom bezel of the device, and the Google Now search page opens.
Letting users remap keys out of the box isn't the answer either, because everyone complains about OS fragmentation. Now that Google is taking steps to combat that, people are again complaining. You can't please everyone all the time.
nooomoto said:
Letting users remap keys out of the box isn't the answer either, because everyone complains about OS fragmentation. . . . You can't please everyone all the time.
Click to expand...
Click to collapse
A simple remap option in settings to me does not constitute fragmentation. The OS does not have to be 100% identical between all devices. Giving the user the option to select the key mapping gives the best chance of actually pleasing the most people (if not everyone).
redpoint73 said:
A simple remap option in settings to me does not constitute fragmentation. The OS does not have to be 100% identical between all devices. Giving the user the option to select the key mapping gives the best chance of actually pleasing the most people (if not everyone).
Click to expand...
Click to collapse
True I should have worded that better. However, even if Google did implement the ability to remap the keys in stock android, you can be sure some if not all of the manufacturers would disable it to prevent the mass market consumers from screwing up their devices and making warranty claims.
Everyone has a different opinion on how the hardware keys should be oriented, and Google is trying to simplify an OS that a lot of people claim is too complicated for them. Throwing in the ability to remap keys is going backward, not forward in terms of simplifying it for the average user.
Sent from my Nexus 7 using xda premium

[Q] Changing Function Of System Bar (Navbar) Button

Hi, I recently bought a GPD G5A and put Legacy Rom 1.1 Kitkat on it. However I am not a fan of tincore key mapper and I found the software to be intrusive, and not work properly so I removed it. I then installed Game Keyboard which does the task much better. However the bar at the bottom (The Navbar) of the device (The one with Back, Home, and Recent apps) has a shortcut which would normally open tincore key mapper, and now does nothing as tincore key mapper is no longer installed. I would instead like the shortcut to open Game Keyboard, to give me quick access to it, like I had with tinocre. I feel this seems like it should be possible through modifying a system file, but I don't know which file to modify. I was hoping someone here could point me in the right direction. Thanks.
-Alec

Categories

Resources