[Q] Remapping dock keys? - Asus Eee Pad Transformer Prime

I was wondering if it would be possible to use apps like Key Tracer and Button Remapper to remap some of the shortcut's on the keyboard dock? Anyone try this or know where to start?

Yeah good one, I would like to know that as well.
This would be really useful during rdp/splashtop sessions.
So anyone?

I've been wanting to do this as well. This is the best I could come up with: http://forum.xda-developers.com/showthread.php?t=695936
Doubt that we could make any init scripts though, since the current ICS build doesn't run them.

Related

[Q] Alternate On-screen Keyboard?

Heya,
does anyone know if there is an alternate onscreen keyboard that can override the current one that comes with webos? I find myself really really really missing the arrow keys considering they're nonexistant in the damn thing.
mputtr said:
Heya,
does anyone know if there is an alternate onscreen keyboard that can override the current one that comes with webos? I find myself really really really missing the arrow keys considering they're nonexistant in the damn thing.
Click to expand...
Click to collapse
SECONDED! I've been searching as well and haven't found anything. The optical sensor on my phone spoiled me, I keep wishing there was one on here. I also seem to hit enter a lot by accident rather than backspace.
No Arrow keys + Fat fingers = PITA to select text in the right spot to fix a typo.
It would be nice to have a swiftkey or swype clone for it.
If only there was more dev support for webos. or atleast partial support, it would be amazing. I just want those 4 arrow keys. will make it awesome

[MOD] Keyboard Layout Tweak

This is my first real bit of development work. I just wanted to post a mod I put together, and how to install it. It's simple enough that someone else may have done it before me.
PROBLEM
Do you like ALT more than SEARCH? Do you often press SEARCH-TAB when what you really wanted was ALT-TAB? Do you realize that ICS has a perfect little Alt-Tab interface? Well! I have a perfect mod for you!
WHAT YOU NEED
TF201 (TF101 version coming soon!)
Keyboard Dock
Root (Does *not* require unlocking)
File replacement tool: Terminal Emulator, a Root File Manager of your choice, or ADB
STEP 1
(Root your TF201 if you haven't already.) Download my modded asusdec.kl below. You'll need to extract it. For the purposes of commands I use below, put the extracted asusdec.kl in:
/sdcard/download
STEP 2
navigate to: /system/usr/keylayout
STEP 3
Back up your asusdec.kl. I've provided a backup of mine, from .21, which should work in the event of a problem.
STEP 4
Replace your asusdec.kl with my modded one. You can do that any way you like, but I prefer doing it in a Terminal session. You may need to remount /system as RW. Terminal Commands are:
Code:
mount -o remount,rw /dev/block/mmcblk0p1 /system
Code:
mv -f /sdcard/download/asusdec.kl /system/usr/keylayout/asusdec.kl
STEP 5
Reboot! After that, you're all done.
RESULTS
If the mod has been performed correctly, your Search key will now perform ALT_LEFT instead, which allows you to use ALT commands where they would apply (Alt-Tab being the biggest one). To make up for this, your ALT_RIGHT key has been remapped to SEARCH. You've lost no functionality
FILES MODDED
/system/usr/keylayout/asusdec.kl
DOWNLOAD
ORIGINAL
MODDED
Awesome! Thanks!
Added to the ROM/Kernel and Tweak Directory.
Nice work
pbrauer said:
Added to the ROM/Kernel and Tweak Directory.
Nice work
Click to expand...
Click to collapse
Thanks! I'm looking forward to doing more in the future. I have all the files I need to do the same mod for TF101, but I don't have a rooted TF101 to test it on. I don't like posting unverified files, but if i can find a tester, I can wrap up that version ASAP.
I also intend to do a couple of mods for specific bluetooth keyboards.
This looks cool! Is there any way to physically swap the buttons too?
Sent from my Transformer Prime TF201 using XDA Premium HD app
Great, I was waiting for this since ages ...
Just one issu is that in France the keyboard layout is different and the right Alt is used for Alt Gr which allow to type some characters such as @, ^ [] #~ ...
It's a bit annoying not to be able to type these letters now ...
Anyway, great work
Moist said:
This looks cool! Is there any way to physically swap the buttons too?
Sent from my Transformer Prime TF201 using XDA Premium HD app
Click to expand...
Click to collapse
Yes you can! You have to do it manually though, there is no software that can do that
The way to do it, is to put your nail under the key on either top or bottom and just flip it out. After you've done that, you can just put it back by pressing it down untill you hear a nice 'click'.
I have done so myself and I must say I'm quite comfortable with the result
Btw, nice work Pandages!
I don't suppose the keyboard layout hack here could be adapted to add or change the shortcut keys? Like launching a different browser, or changing the lock key to do something else? My guess is that's baked into the Android OS, but had to ask.
Been searching for an app or hack to allow me to map my own keyboard shortcuts to whatever I want ( Ctrl + ` for terminal perhaps ) but haven't found anything that comes close.
Has anyone gotten this to work with Virtuous? I have the Modded file in there (checked file size) and it's not happening for me, even after a few reboots.
Moist said:
This looks cool! Is there any way to physically swap the buttons too?
Click to expand...
Click to collapse
Possibly! It looks like someone else already answered this one, above me.
polo2503 said:
Great, I was waiting for this since ages ...
Just one issue is that in France the keyboard layout is different and the right Alt is used for Alt Gr which allow to type some characters such as @, ^ [] #~ ...
It's a bit annoying not to be able to type these letters now ...
Anyway, great work
Click to expand...
Click to collapse
If you'd like to work with me, I could make a version that would do specifically what you need. I'm happy to help.
RubenRybnik said:
I don't suppose the keyboard layout hack here could be adapted to add or change the shortcut keys? Like launching a different browser, or changing the lock key to do something else? My guess is that's baked into the Android OS, but had to ask.
Been searching for an app or hack to allow me to map my own keyboard shortcuts to whatever I want ( Ctrl + ` for terminal perhaps ) but haven't found anything that comes close.
Click to expand...
Click to collapse
Actually yes. It would be super easy to make the Lock key do something else, but most of the types of keystrokes you're looking for are baked into the framework. Most of them can launch your default app for a given function, rather than the stock app, but some are stock-app-specific. I like the idea of Ctrl+` to get a terminal, but I think that's outside of the scope of what I can do with .kl hacks.
razgriz8426 said:
Has anyone gotten this to work with Virtuous? I have the Modded file in there (checked file size) and it's not happening for me, even after a few reboots.
Click to expand...
Click to collapse
I haven't used that ROM, as my TF201 remains locked. However, if you can provide me the *.kl files from the relevant directory, I can probably whip something up for you.
Very interesting ... looking at the layout file. You're right, would be easy to switch out what keys to what( Even the page up fn+arrow up combo ). I wonder where those key definitions like " MEDIA_PLAY_PAUSE" are actually defined? If it's just a constant to a function definition in some apk then maybe we could decompile it and change the const definition to make any keys "Special function" do something new. Hell, maybe the keyboard recognizes fn+t or any other key with fn as a new numeric key id, then we could add new ones off the function key. Going to delve into some of the system apks to see what I can ferret out.
Not too hopeful here, seems much to easy, but its a start.
RubenRybnik said:
Very interesting ... looking at the layout file. You're right, would be easy to switch out what keys to what( Even the page up fn+arrow up combo ). I wonder where those key definitions like " MEDIA_PLAY_PAUSE" are actually defined? If it's just a constant to a function definition in some apk then maybe we could decompile it and change the const definition to make any keys "Special function" do something new. Hell, maybe the keyboard recognizes fn+t or any other key with fn as a new numeric key id, then we could add new ones off the function key. Going to delve into some of the system apks to see what I can ferret out.
Not too hopeful here, seems much to easy, but its a start.
Click to expand...
Click to collapse
The special buttons are defined in /system/app/Keyboard.apk
There was a mod created which changed the browser button to use your default rather than be hard-coded to the stock Brower app
Original thread is here: http://forum.xda-developers.com/showthread.php?t=1497624
Sent from my Transformer Prime TF201 using Tapatalk 2
Pandages said:
Do you like ALT more than SEARCH? Do you often press SEARCH-TAB when what you really wanted was ALT-TAB? Do you realize that ICS has a perfect little Alt-Tab interface? Well! I have a perfect mod for you!
Click to expand...
Click to collapse
Yes but I also like ESC more than the Back Button. Mind cooking up another one with ESC modded in? I dont know if esc is hard coded to cause back in android.
Im always hitting back on accident when using splashtop, It registers the left alt now tho!
Is there any way to type unicode with alt codes? I'm really sick of not being able to triforce while on my tab.
Sent from my tf9001 with XDA XD.
Before jumping to downgrade and root my .21, is it possible to push such files through ADB (without root)? That would be awesome =)
Does this still work on .28 update?
Or does it need to be updated?
Crap. I should of just done the mod without trying to switch the keys.
I think I pried the alt key off to hard and now it won't sit back flush on the key again.
Wonder if I can RMA the keyboard for a faulty key =\
The mod will persist through the upgrade from .21 to .28, no real possibility of problems. Still works great for me.
As for making a version with ESC instead of Back, yeah, that could probably be done pretty quickly. Only thing is, how are various applications going to interpret ESC? Most android keyboards don't provide ESC, so many apps just interpret Back as ESC (terminal emulators, etc.)
clockwork58 said:
Crap. I should of just done the mod without trying to switch the keys.
I think I pried the alt key off to hard and now it won't sit back flush on the key again.
Wonder if I can RMA the keyboard for a faulty key =\
Click to expand...
Click to collapse
happened to me too. check the pins underneath the keyboard to make sure they're all open and you can put the "stick" part of the keyboard back into that part of the key.
---------- Post added at 10:38 AM ---------- Previous post was at 10:37 AM ----------
Pandages said:
The mod will persist through the upgrade from .21 to .28, no real possibility of problems. Still works great for me.
As for making a version with ESC instead of Back, yeah, that could probably be done pretty quickly. Only thing is, how are various applications going to interpret ESC? Most android keyboards don't provide ESC, so many apps just interpret Back as ESC (terminal emulators, etc.)
Click to expand...
Click to collapse
any ideas on how to make the sleep button a true delete button, not just an extra backspace button?
nhshah7 said:
happened to me too. check the pins underneath the keyboard to make sure they're all open and you can put the "stick" part of the keyboard back into that part of the key.
thanks. when i took out the alt key i took the white part with it. And only took off the cap part from the search key. once i seperated it and put the white part back on, the top of the key went on smoothly. Now to actually DO the mod.
Click to expand...
Click to collapse

[Q] change short press function Search button

Have searched extensively for this without finding a solution.
Problem: want to change SHORT press search button functionality to launch recent apps menu/chooser (which by default is assigned to long press home). I want to multitask faster, and don't want to wait on long press home. I only occasionally use long press search functionality, so I don't mind sacrificing it if necessary.
What i've found: lots of apps to change long press function. can edit the shooter-keypad.kl file located in /system/usr/keylayout, but as far as I can tell I can't assign the recent apps dialog in that file (see here and here - thanks JTNiggle).
Anyone able to help on this? Either an app that will do this, or know what file to edit?
thanks in advance. your reply, if even remotely helpful, will earn you a "thanks".
EDIT: one more thing. I know CM has this built in. I am using the ICS sense leak (MikVirgin 1.01) and am looking to get this functionality without changing ROMs (there is just some functionality I need sense for; leave it at that). this is not a sense vs CM thread. thanks.
nothing? quick bump for prime time.

[Q] [Q/REQUEST] Universal search from capacitive buttons?

Hey guys,
I know next to nothing about modding/dev work, so this may be something completely impossible, and that's cool if it is. Can't know without asking.
I came from the Evo 3D (as I presume a bunch of you did as well), and one of the features I've found myself sorely missing is that blasted search button. I took for granted how convient it was to tap it and look up something really quick, or search through messages/emails/websites for whatever I was looking for.
On Char, using the pkmn tweaks, you can mod the capacitive buttons to open an app, so I had longpress recent apps opening google search, which worked fine for a hacked together solution. But is there anyway to have a mod that would mimic the old dedicated search button function? I.e., when in an application that has a search feature (like Play, Messages, Email, etc.), activation of the button would prompt opening of the search feature. If there's not a search feature, or you're on the home screens, it would prompt standard Google/phone search.
Was also wondering, randomly, if it was possible to have a search box in the pull down notifications? I feel like that'd be harder to implement with the functionality described above, but I think it'd be cool/convient for just quick searches of something if the capacitive buttons are a no go, or people aren't interested in them.
Either way, any of these things possible?
Well, disregard. I found that doing the keylayout remap so that half-pressing the camera button triggers search does the full functionality. Wonder why I couldn't get it to trigger with the capacitive buttons. Oh well!
Sent from my EVO using xda app-developers app

[Q] [SGS2][Cyanogen 10.1.3] Remap home button

Hi there,
My phone is a SGS2 with CyanogenMod 10.1.3 stable installed.
I'm looking for a way to remap the physical Home button of my phone with the kill current app functionality.
I've already activated the developer mode and thus can kill an app with a long press on the return key. But it is not really convenient as I need to kill an app quicker (compared to the few seconds delay of the long press gesture).
I've also tried LMT Launcher but the kill-app gesture I've configured take too much time also. The insta-kill feature is what I'm looking for...
Can you help me?
Thanks in advance
You might be able to do that with xposed and a something like gravity box. Bear in mind gravity box isn't intended for CM though, so read the gravity box op thoroughly before you try. Else you may find a different module which can help you.
If you can't get it to work, a way that is guaranteed is to switch roms to one that has full hardware key rebinding... SlimKat for example.
Sent from a galaxy far, far away
Thanks!
I'll see what I can do with these options.

Categories

Resources