Connectbot with key mappings for CM7 - Epic 4G Android Development

I made a custom version of Connectbot that works with the key mappings in the new official CM7. Thanks to mkasick for previous work.
*NOTE*
In order for the keys to work, you must set the 'Directory shortcuts' option in Settings to 'Use left-side keys'
Here are the changes from the Connectbot git tree:;
- Smiley emits grave accent ( ` )
- Sym is now ctrl. Pressing Sym twice emits escape.
- Shift is tab (unchanged)
- Fn once is forward slash ( / )
- Fn + LeftArrow = Home
- Fn + RightArrow = End
- Fn + UpArrow = PageUp
- Fn + DownArrow = PageDown
I've attached the modified .apk as well as a .diff
Please let me know if this works out for you CM7 users.
-TheDataMatrix

I love you.

dzl said:
I love you.
Click to expand...
Click to collapse
^^^ +1
10char

This is awesome. I made my own connectbot apk ages ago for the stock rom and just discovered that the keymappings were different in Cyanogen.
Only thing I notice is fn-N gives a backtick on my phone, instead of @, and I see no way to send an @. I'm using nightly-9 right now. It's been so long since I've built an apk it's going to take me a while to get set up again so I just thought I'd see if it was just me this was happening to.

epv said:
This is awesome. I made my own connectbot apk ages ago for the stock rom and just discovered that the keymappings were different in Cyanogen.
Only thing I notice is fn-N gives a backtick on my phone, instead of @, and I see no way to send an @. I'm using nightly-9 right now. It's been so long since I've built an apk it's going to take me a while to get set up again so I just thought I'd see if it was just me this was happening to.
Click to expand...
Click to collapse
I'm pretty sure the smiley face button on your epic keyboard is for the @ sign... not running cm7 right now but I'm pretty sure that's what its mapped to....
Sent from my SPH-D700 using Tapatalk

I wasn't sure how to thank posts on xda - but I figured it out.
Either way, thanks!

flastnoles11 said:
I'm pretty sure the smiley face button on your epic keyboard is for the @ sign... not running cm7 right now but I'm pretty sure that's what its mapped to....
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
it's not, that's the actual problem... anyway I mostly wanted to find out if it's something specific to my phone/install/whatever or not. Fwiw I get backtick for both smiley key and FN-N, and FN-smiley gives 0.
SYM works as control as expected, as do all the rest of the FN-letter combos as far as I can tell. Depending of course on what "directory shortcuts" is set to.

from looking at the patches, this one explicitly replaces "@" with "`" which seems to assume there's another way to get "@"... Maybe there is and I haven't figured it out yet.
The basic problem here is that either my particular phone or CM7 on the epic in general doesn't distinguish between Fn-N and the smiley key at the keymap level. I'd like to know if other people also have the problem with this version of connectbot where smiley and Fn-N both send "`" (backtick)
As a quick and gross hack, rather than figuring out the key layout stuff, i made a version that 1) doesn't replace "@" with "`" and 2) lets you generate "`" by typing [email protected] (ie, SYM-SMILEY)
(This is gross because "`" isn't a control character, but it's not the end of the world because [email protected] is traditionally the NULL char, and you can already send that with ctrl-space, so nothing's really lost. )
ps if you want this version for some reason, you're welcome to it, but it would be better if someone who knew what they were doing pointed me in the actual right direction.

Thanks for doing this, but not all key mappings are working for me. Shift is still Shift, not TAB, Fn '/' is not working either. I'm on CM7 nightly 11, using hard keyboard.
Also, if I get Shift working then how do I do a regular Shift?
thx

I edit /system/usr/keylayout/s3c-keypad.kl and alter it so key 42 and 43 are different.
key 42 DPAD_CENTER WAKE_DROPPED
key 43 TAB WAKE_DROPPED
Click to expand...
Click to collapse
This makes cm7 work fine with the latest epic connectbot, if I remember right.

Good idea... Is there a tool that lets you see the actual keycodes generated as you push buttons? that would be pretty helpful.

Thanks, hazridi! That works perfectly for me. Attached is my patched .kl file which you can just rename (to get rid of the .txt suffix this forum required for the upload) and drop into /system/usr/keylayout.

Related

Best app to remap Raphael's hardware buttons ?

Hello everybody,
I just ordered my HTC Touch Pro and I expect to receive it tomorrow. Having played a bit with the Diamond, I already noted that switching from my Trinity will cause some changes from the hardware buttons perspective.
I'd like to know what's the best available software out there (commercial or freeware, doesn't matter) to remap the buttons of the device, and enables features like single press, "double-click", press-n-hold-short, press-n-hold-long, etc.
Thanks a million in advance.
I am also concerned about the same
I did some checking around and have these two apps for you to test
I didn't try'em out yet
And there's a third AEButton or something
I'll get it as well
Tell me how it goes
clandestino_usr said:
Hello everybody,
I just ordered my HTC Touch Pro and I expect to receive it tomorrow. Having played a bit with the Diamond, I already noted that switching from my Trinity will cause some changes from the hardware buttons perspective.
I'd like to know what's the best available software out there (commercial or freeware, doesn't matter) to remap the buttons of the device, and enables features like single press, "double-click", press-n-hold-short, press-n-hold-long, etc.
Thanks a million in advance.
Click to expand...
Click to collapse
Thanks a lot ! I'll let you know as soon as I got my new toy in hands.
Ah, you do't have it either
I was eager to know
clandestino_usr said:
Thanks a lot ! I'll let you know as soon as I got my new toy in hands.
Click to expand...
Click to collapse
I have used this with my Kaiser and Hermes:http://ae.inc.ru/aekmap.php and I think it's pretty good.
I have a similar question, but not completely.. Is it possible to do any kind of keyboard mapping without any software? Just like altering the registry or something. I would like to get ctrl or FN + o to do ö and ctrl or fn + a to do ä. But i absolutely hate to run any mapping software..
AEButton Plus is awesome for mapping buttons... Check it out.
http://ae.inc.ru/aebplus.php
rakdoll said:
I have a similar question, but not completely.. Is it possible to do any kind of keyboard mapping without any software? Just like altering the registry or something. I would like to get ctrl or FN + o to do ö and ctrl or fn + a to do ä. But i absolutely hate to run any mapping software..
Click to expand...
Click to collapse
I seriously doubt you could use a quick reg edit to do that... But good luck.
Thanks man
had version 2.5.2
Hopefully will come in handy when I get my hands on my Raph
Which buttons did you remap?
Black93300ZX said:
I seriously doubt you could use a quick reg edit to do that... But good luck.
Click to expand...
Click to collapse
I received my Touch Pro yesterday and I directly tried the apps you provided. Hbutton works only on the lower right key (open phone app), while the other doesn't work at all... I'm going to try AE Button and let you know what that gives.
I think currently both the Home and the Back keys can't be remapped -- without touching to the ROM, I mean.
green button
there is a dialer app (idialer) it has an add-on called greenbutton.cab it allowed me to hit the send/call key and bring up idialer instead of built in dialer from that key. I'd like to be able to do that for other dialers like OneDialer. I wish I knew some coding maybe modify the greenbutton app to work for me.
DCD's latest 2 CDMA ROMs (2.27 & 2.30) both allow you to remap all the hardware keys. Not sure how he did it though, but feel free to check them out. His ROMs are usually pretty lean, so you can install whatever you want, without much pre-installed bloat.

What do the CTRL and TAB buttons do?

I have a Fuze, so I lack these buttons by default. I was wondering if I should try to get them, but I don't know what they do yet to consider it.
what a crazy question?
Do you know what they do on a standard keyboard ,thats connected to your PC? The CTRL and TAB buttons on the standard PC keyboard do the same thing as on the PPC
Well, thats still not good enough.
I mean what good is a CTRL button on a phone? What can I do with a CTRL button on my phone? Turn on italics that doesn't exist?
What about tab? Does that let me go back and forth from clickable links? That'd be pretty useful. Does SHIFT+TAB work?
What about a keyboard button or two that lets me use the soft keys on-screen? The tilt had these, and this phone has a ton of useless buttons. Do any of these do that? Or maybe any of these you guys usually remapp for that? Can I remapp to that?
copy, cut paste comes to mind
exactly along with undo, save and open
if you don want them and dont have them whats the point of the thread?
Rory
Whats the point of this thread?
Are we ignoring the questions about TAB and focusing on the CTRL button? So I don't type up word documents or e-mail on my phone - suddenly I'm being attacked? Jesus calm down. I asked a simple question - I didn't see the need to copy and paste in text messages and you guys want to murder me for it.
alt+tab is a shortcut for windows Pc,but not for PPC...however,you can use a small software to switch window by alt+tab..
Well what about shift tab, which tabs links up instead of down? Does that work?
tab and hold for copy paste dont work in all apps
but in most cases using ctrl c/v works using the small onscreen keyboard
this is usefull one one need to copy something out of textbox like a phonenr or something like that
tab is useful if one is using a program where one have to fill various fields with data
and tab then moves the focus around between the input fields
shift is useful if one wish to make capitol letters
so the real answer is that keys functionality and usefulness is the same as they
are on normal computer keyboards
ctrl+a is very useful, selects all text or files.
Alright. So theoretically, how does this keyboard layout sound. (On the Fuze)
Caps - Changed to Tab
OK - Changed to CTRL
- (+) - Changed to OK (where it belongs.)
I would like to change more, maybe try and get softbuttons on, say, the left and right buttons. And the bottom left area is full of useless shortcuts to me, but I don't know what else to change them to.
AND DOES SHIFT + TAB WORK LIKE ON A COMPUTER?

[EB13] [MOD] Keyboard Tweaks -- '@' for SMILEY [UPDATED] 2.27.2010

I am currently working on some kernel hacks with the keyboard files to allow for some more goodies, I have to do it in-between classes, but I am getting somewhere.
Also anyone who knows how to modify API level KeyEvent changes get in touch with me. I am looking into creating my own ENDCALL implementation to only work while(in-phone) but my app is lacking. I think I will have to modify the actual Phone.apk to hang-up on keypress 107 event id.
**now included in some roms**
*thanks for the #include devs*
This only works if you have root and clockworkmod recovery installed see the stickys in the EPIC 4G DEVELOPMENT to get them first.
I, like a lot of people, got sick of the SMILEY button. I also barely use the search button on the bottom of the screen,
so I decided to change them and make them more useful.
edit: according to Geniusdog254 this will need to be reapplied after a rom update, unless it is included in the rom.
DEVS: please feel free to include this or at least a link to this post when updating your roms.
**changed mod method to clockworkmod recovery**
I have had several friends and members ask me how to do this... (they also asked for it to be made dummy proof)
I hope I have succeeded.
FOR NOOBS:
To Enable tweaks
1: download the attachments -
for only smiley to @ tweak
for only search to endcall tweak
2. install through clockworkmod recovery
option 1. use the clockworkmod rom manager to select file and flash
option 2. boot into clockworkmod recovery and select "install zip from sdcard" > "choose zip from sdcard" > then navigate to zip and install
To Disable tweaks (ie: go back to regular keyboard layout)
1: download the attachments -
for only smiley to @ tweak
for only search to endcall tweak
2. install through clockworkmod recovery ( clockworkmod < 3.0.0 only, I haven't had time to learn the edify scripting developers feel free to make it if you want to include it)
option 1. use the clockworkmod rom manager to select file and flash
option 2. boot into clockworkmod recovery and select "install zip from sdcard" > "choose zip from sdcard" > then navigate to zip and install
FOR SKILLED USERS:
1. Just download the zip file
2. use ClockworkMod recovery to install the zip files above
or
download, extract, flash the ones of your choosing from here
FOR DEVS and/or SKILLED USERS:
the changes are simple
I got the information from http://pdk.android.com/online-pdk/guide/keymaps_keyboard_input.html...
To make your own keyboard layouts just edit the .kl files in a notepad (gedit or notepad++ choose your flavor) then push them back to /system/usr/keylayout
- for search hack (melfas-touchkey.kl) - key 107 SEARCH WAKE_DROPPED -> key 107 ENDCALL WAKE - then save.
changes:
-for AT/Smiley hack (s3c-keypad.kl) - key 42 SMILEY WAKE_DROPPED -> key 42 AT WAKE_DROPPED - then save.
'SEARCH' Button on the bottom will end calls and put screen to sleep while not in a call
this only affects the capacitive search button on the bottom (the bottom 4 on the main screen)
the hardware search button on the qwerty keyboard is still mapped to search
' - smiley' button on qwerty keyboard is now the '@' symbol... (I have no idea why this wasn't stock to begin with)
**edit**
added attachments for only smiley and only search button hacks
**edit**
changed install method to *.zip for clockworkmod recovery
**edit 2.27.2010**
included specific changes
Wow awesome!
I was pretty excited for the smiley button, but honestly have NEVER used it since I don't like the faces.
I actually use the Search button pretty frequently, so could you put up a separate hack for JUST the smiley/@ button?
Wait, does the search button hack only apply to hardware keyboard or to the capacitive search button also?
search
NeonMonster said:
Wow awesome!
I was pretty excited for the smiley button, but honestly have NEVER used it since I don't like the faces.
I actually use the Search button pretty frequently, so could you put up a separate hack for JUST the smiley/@ button?
Wait, does the search button hack only apply to hardware keyboard or to the capacitive search button also?
Click to expand...
Click to collapse
edited first post
added individual hacks to attachments
PS
search hack is only for capacitive...
the physical search button on the keyboard is still mapped to search
This is old news
I had the first post with it back in the good ole days in the G1 section lmao. My Search2Play app on the Market actually does this, but it remaps search to play/pause music. I really need to update it for the Epic & other SGS devices lol
Anyway, I was going to change the smiley to @ myself the other day but never got around to it. Kudos!
EDIT: Also, it WILL change between ROMs. They (almost) always wipe /system in the update script and then flash back, and even if they don't they always contain these files for safety. Not a big deal, but you will have to change it again after a ROM change
Geniusdog254 said:
This is old news
I had the first post with it back in the good ole days in the G1 section lmao. My Search2Play app on the Market actually does this, but it remaps search to play/pause music. I really need to update it for the Epic & other SGS devices lol
Anyway, I was going to change the smiley to @ myself the other day but never got around to it. Kudos!
EDIT: Also, it WILL change between ROMs. They (almost) always wipe /system in the update script and then flash back, and even if they don't they always contain these files for safety. Not a big deal, but you will have to change it again after a ROM change
Click to expand...
Click to collapse
COOL...
I went from a G1 to an epic 4g,
Was hard to leave cyanogen and all the G1 greatness...
I didn't know that your tool worked for the capacative search button only, I tried it and it changed both of them.
Cant wait to see your updated app and stop using this crude workaround....
smeyerhuky said:
COOL...
I went from a G1 to an epic 4g,
Was hard to leave cyanogen and all the G1 greatness...
I didn't know that your tool worked for the capacative search button only, I tried it and it changed both of them.
Cant wait to see your updated app and stop using this crude workaround....
Click to expand...
Click to collapse
My app actually does the exact same thing your doing, replacing the *.kl file with one that has the buttons remapped. It's just packaged up into a nice shiny little box
Also, it works for all types of buttons, but on capacitive buttons it doesn't work when the screen is turned off.
thanks again.
Geniusdog254 said:
EDIT: Also, it WILL change between ROMs. They (almost) always wipe /system in the update script and then flash back, and even if they don't they always contain these files for safety. Not a big deal, but you will have to change it again after a ROM change
Click to expand...
Click to collapse
updated in OP thanks....
PS.
Isn't the purpose of open source code reuse....
Love your kernel can't wait for the update tomorrow night. I do a lot of personal development on my phone would love to test things for you from time to time.
PPS
I am a student in computer engineering focusing on VLSI so I dont always have time to post my personal edits...
smeyerhuky said:
updated in OP thanks....
PS.
Isn't the purpose of open source code reuse....
Love your kernel can't wait for the update tomorrow night. I do a lot of personal development on my phone would love to test things for you from time to time.
PPS
I am a student in computer engineering focusing on VLSI so I dont always have time to post my personal edits...
Click to expand...
Click to collapse
Of course thats the point of open source lol. I wasn't criticizing you at all if that's what it sounded like, its great you figured that out for yourself. People like you & I who experiment with our phones until we make them work how we want are what makes the world go round lol
Just applied the button hack!
Both work perfectly! The capacitive search remap is really useful! Love it!
Sorry, having trouble installing...I have my phone rooted and busybox, but I'm getting what I think is an error message.
It says- 'adb' is not recognized as an internal or external command, operable program, or batch file
Any ideas as to what I'm doing wrong?
jbuss69 said:
Sorry, having trouble installing...I have my phone rooted and busybox, but I'm getting what I think is an error message.
It says- 'adb' is not recognized as an internal or external command, operable program, or batch file
Any ideas as to what I'm doing wrong?
Click to expand...
Click to collapse
For some reason the bat file doesn't connect to ADB.
You have to throw all the files in your TOOLS folder within your c:/android folder or where ever your ADB.exe file is.
It should run fine after that.
NeonMonster said:
For some reason the bat file doesn't connect to ADB.
You have to throw all the files in your TOOLS folder within your c:/android folder or where ever your ADB.exe file is.
It should run fine after that.
Click to expand...
Click to collapse
Thank you-works great!
I'm going to throw up an update.zip in a few minutes so this can be done on the phone though clockworkmod
Sent from my SPH-D700 using XDA App
NeonMonster said:
For some reason the bat file doesn't connect to ADB.
You have to throw all the files in your TOOLS folder within your c:/android folder or where ever your ADB.exe file is.
It should run fine after that.
Click to expand...
Click to collapse
thanks for lookin out,
I changed the method for the modifications to a update.zip compatible with clockworkmod recovery...
now it can be done on the phone without a computer for easy reinstall with roms
Thanks so much! I was so stoked to see this post when I woke up, and can report the @ tweak under clockwork works like a charm. It's crazy how much work it's taken to get this phone back to the same level of usability as my OG Droid, but between this and the lockscreen hack, I'm the closest I can be now until we have froyo. Cheers!
this is great, but could you please create a version that lets you remap the long press of the search button to something like vlingo?
Does it require a long press of the search button to sleep the phone or hang up? I'm afraid of it being to easy to hit the search button and have it hang up or close phone when you didn't want it to.
For this release the longpress is still mapped to voicesearch
I can remap it if really necessary
Sent from my SPH-D700 using XDA App
smeyerhuky said:
For this release the longpress is still mapped to voicesearch
I can remap it if really necessary
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Long press gives me the option for silent, airplane mode, or power off for me...
Sorry.
Your right just realized I was running a test build w/o the changes XD
Sent from my SPH-D700 using XDA App

Thumb Keyboard 4.0 - Beta (upd. Beta closed)

Update may 23: The beta is now closed. Thank you all for your participation and feedback. Please keep your suggestions coming. Suggestions and requests are welcome in the Thumb Keyboard thread in the paid-for app forum here on xda (link will follow)
--------------------------------
New beta 4:
Customizable toolbar. The toolbar can be switch on or off with a simple toggle. For phones as well as for tablet (Gingerbread and Honeycomb have more functions to assign to the toolbar keys)
New small keyboard for one handed operation on a 10" tablet. It also contains a "blind spot" which you can use to hold your tablet.
------
Thrilled to announce a brand new version of Thumb Keyboard.
It's a total rebuild from scratch of the current market version, therefore I decided to launch it first as a public beta.
Besides a whole new core that is optimized for Gingerbread and Honeycomb, the new version (v. 4.0) introduces a whole lot of new features:
multi-touch
Correct previous written words with suggestions
Shortcuts - store and edit much written phrases, mail signatures, logins and insert them with a simple tap
New addition to the prediction algorithm: predict a word based on a previous word
New: resize the width of the letter keys on the split layouts. With the option to adjust the height, one can now adjust the keyboard completely to ones own hands and device!!
Alternative suggestions for voice input. Just tap on the recognized word to see the alternatives
Redesign of the keyboard based on multi-touch chording. Entering numbers and operating the cursor keys was never more easy!
New style popup keyboards. Fling, slide and wipe and back to typing again ..
New design of the keyboard layout. Easier access of much used keys
Better esthetic integration with Honeycomb by the use of Honeycomb style windows
and more (and still more to come
The beta can be downloaded from thumb4beta.blogspot.com
(Because the beta was already out for some weeks for 10.1" tablets, some may wonder why this separate announcement. The reason is that the current version will support all screen sizes and layouts, just like the current market version. This means a lot more devices to be supported and a lot more test cases)
Looking forward to your feedback, suggestions, comments, bug reports (hope none ) etc.
-----
Update (May 3):
Version 4 beta 3.2: added Custom portrait/landscape layout combination * Smiley popup keyboards now on all layouts * new theme "digital red" * custom keyclick sounds * better dictionaries * 12 extra shorcut or quicktext slots * Return key in instant messaging apps * option to exclude contact database from predictions * some bug fixes
Awesome! Big fan of your work. We've talked via email about the keyboard. I still use it. Downloading now.
halorin said:
Awesome! Big fan of your work. We've talked via email about the keyboard. I still use it. Downloading now.
Click to expand...
Click to collapse
Thought I've send you mail too. Let me know what you think about it.
Personally I think this is a BIG improvement over the version over the version on the Market. One of the things I liked about the stock GB keyboard was you could tap previously entered words and change what was entered. Love seeing that in here.
The only thing I don't see is being able to set different layouts for portrait and landscape. Being a phone user, I like that the hide keyboard button is hidden.
Big speed improvements as well. Great job!
Thanks going to give this a try!
halorin said:
Personally I think this is a BIG improvement over the version over the version on the Market. One of the things I liked about the stock GB keyboard was you could tap previously entered words and change what was entered. Love seeing that in here.
The only thing I don't see is being able to set different layouts for portrait and landscape. Being a phone user, I like that the hide keyboard button is hidden.
Big speed improvements as well. Great job!
Click to expand...
Click to collapse
Thanks! The ability to set different layouts for landscape and portrait mode will certainly come back. It's one of the core functioneren of this keyboard. I left it out just to have something to do while the beta is tested
If you are on Gingerbread or Honeycomb you should try out the bigram predictions (only English supported right now). It will predict in many cases the next word with the previous word and just one letter. For example if you type "of" and then the letter t you get a bunch of relevant words starting with a t and that makes sense as the next word after "of". Great feature for phones. (It will also learn from word pairs that are entered a lot)
appelflap said:
Thanks! The ability to set different layouts for landscape and portrait mode will certainly come back. It's one of the core functioneren of this keyboard. I left it out just to have something to do while the beta is tested
If you are on Gingerbread or Honeycomb you should try out the bigram predictions (only English supported right now). It will predict in many cases the next word with the previous word and just one letter. For example if you type "of" and then the letter t you get a bunch of relevant words starting with a t and that makes sense as the next word after "of". Great feature for phones. (It will also learn from word pairs that are entered a lot)
Click to expand...
Click to collapse
Awesome on both accounts! I use a Gingerbread ROM on my phone and have the bigram thing enabled. Liking this a lot.
Nice, I'm loving it so far, I've been waiting for something that actually *KNOWS* what you want type next and learns other than swiftkey. The only thing I ask you, is please give us the option to enlarge the spacebar by removing the smile faces, comma, and or period key.
Thank you, and how else besides the blog and this thread can I keep up with the latest beta releases?
xdviper said:
Nice, I'm loving it so far, I've been waiting for something that actually *KNOWS* what you want type next and learns other than swiftkey. The only thing I ask you, is please give us the option to enlarge the spacebar by removing the smile faces, comma, and or period key.
Thank you, and how else besides the blog and this thread can I keep up with the latest beta releases?
Click to expand...
Click to collapse
Will look into that.
The beta releases are all published on http://thumb4beta.blogspot.com
You can subscribe to that blog to get a notification when a change is made.
I've had a lot of downloads and yet no single bug report. I like to think that the keyboard is completely bug free, but that would be wishful thinking in the context of this giant project.
Any bugs? Please report them here or on the beta site.
I have found what I like to think is a bug.
Say I want to enter todays date. I long press the q for the number 1, the I select the "/" from the upper row and then I long press the t for the number 5. So far so good.
Now I want to enter a different date, like 29/5. I long press to get a 2, the I long press to get a 9. Now the upper bar is empty, and I can't select the "/" there
Another bug: I can't long press the p key to get a 0. All the other keys work.
And a little warning to Desire/Nexus One owners, if you long press the ?123 button while selecting a button on the lower row on the keyboard ( ! " ' : ; / ?), it will probably not work that well. It has to to do with the multitouch on those devices.It has to to with this: http://www.youtube.com/watch?v=VhBRMaUn6Ig
If you want I can make a video showing all of these problems.
what about Portuguese - PT? Any plans on implement it?
very nice thank you nice sharing
zxzyzd said:
I have found what I like to think is a bug.
Say I want to enter todays date. I long press the q for the number 1, the I select the "/" from the upper row and then I long press the t for the number 5. So far so good.
Now I want to enter a different date, like 29/5. I long press to get a 2, the I long press to get a 9. Now the upper bar is empty, and I can't select the "/" there
Another bug: I can't long press the p key to get a 0. All the other keys work.
And a little warning to Desire/Nexus One owners, if you long press the ?123 button while selecting a button on the lower row on the keyboard ( ! " ' : ; / ?), it will probably not work that well. It has to to do with the multitouch on those devices.It has to to with this: http://www.youtube.com/watch?v=VhBRMaUn6Ig
If you want I can make a video showing all of these problems.
Click to expand...
Click to collapse
I'm able to hold P to get 0. Using the standard layout.
After fiddling around with the different keyboards I got it to work too. After uninstalling and reinstalling however, it stopped working again.
EDIT: I found the problem, if I enable "long press for numbers and syn.." I can long-press P to get 0. If I disable it however it won't work.
zxzyzd said:
After fiddling around with the different keyboards I got it to work too. After uninstalling and reinstalling however, it stopped working again.
EDIT: I found the problem, if I enable "long press for numbers and syn.." I can long-press P to get 0. If I disable it however it won't work.
Click to expand...
Click to collapse
Thank god a bug You are right, the standard-layout doesn't have a popup menu defined. Thanks for noticing. Will fix it asap.
Glad you sorted the other problem out. I couldn't reproduce it. In some cases the keyboard can act not as expected after a fresh install. In that case a simple, infamous reboot will fix the problem. (Seems like a general Android problem)
Hello ! I found a little bug : when you select azerty layout ... it shows on qwerty
Exept this, great work !
Sent from my GT-P1000 using XDA App
See attached.
Love the keyboard. Works so good on my LG G-Slate!
Sent from my LG-V909 using XDA Premium App
Hy,this beta have the italian language?

[MOD] ( any ROM ) Hardware Key Mapping | Flashable zips & Requests ( GB & ICS )

[MOD] ( any ROM ) Hardware Key Mapping | Flashable zips & Requests ( GB & ICS )
Return to Contents Page - doubleshot Developers Reference
Keylayout files
NOTE: Make sure to get the proper keylayout for ICS or Gingerbread - they don't work for the wrong version.
This thread was put together after browsing the Virtuous thread where people were requesting different keylayouts.
A keylayout is something that is ROM-independent. You can flash it for any ROM, so why not concentrate specific layouts in one thread.
This way people can come here and download a flashable zip of the keylayout of their choice, if they flash a ROM and like it but miss their custom key setup.
Here's how i'd like it to work:
Developers:
-Post questions, answers, and flashable zips.
-Make sure your zips are keylayout files only, nothing else.
-Make sure the post you make with the zip download describes what keys are changed to what.
Users:
-Post questions or answers, and requests. Be patient until someone comes along who is willing to make it and has the time.
Feel free to make requests for custom keylayouts in this thread, i'm sure someone will come along who can help you and post it within a few days or so.
Take a look at This Thread to learn about modding the keylayout file.
Front Facing means the 4 hardware buttons at the bottom of the screen, or any other exterior keys ( Volume, Power, Camera )
Hardware keyboard covers the keys on the slide-out keyboard.
So go ahead, post your favorite keylayouts in falshable zip form for other people to play with, or request one you'd like if you can't find it in the choices below.
Please read the whole thread before making a request.
ICS Keylayouts:
Paitor said:
I have fixed two key setups for ICS. It was made for Pyr'o'Ice ICS Desensed 1.1.3 but will probably work on all using the new standard that ICS use. The symbol key didn't work in the ROM so I fixed that too. See these as beta but should work for daily use.
Click to expand...
Click to collapse
ICS_doubleshot_keylayout_dpad
From Post 38 of this thread:
Courtesy of Paitor
Front Facing:
Genius = Search
Hardware Keyboard:
Home = Left Arrow
Menu = Right Arrow
Back = Up Arrow
Genius = Down Arrow
ICS_doubleshot_keylayout_dpad_Paitor_signed.zip
Download Link
MD5: 4a20aa0713f6f2eaacc08cfe69cd3cf3
Size: 128.99 KB
ICS_doubleshot_keylayout_swedish
From Post 38 of this thread:
Courtesy of Paitor
HOME = LEFT ARROW
MENU = RIGHT ARROW
BACK = ö
BACK + SHIFT = Ö
BACK + ALT = ø
BACK + SHIFT + ALT = Ø
GENIUS = ä
GENIUS + SHIFT = Ä
GENIUS + ALT = æ
GENIUS + SHIFT + ALT = Æ
? = å
? + SHIFT = Å
? + ALT = ?
? + SHIFT + ALT = /
ICS_doubleshot_keylayout_swedish_Paitor_signed.zip
Download Link
MD5: a67add2022336dbe45b816925777e520
Size: 129 KB
Gingerbread Keylayouts:
Stock Keylayout:
-Simply the default keylayout file in a flashable zip. Use this to go back to stock.
Stock_Keylayout_signed.zip
Download Link
MD5: f19d69bcc7b38b1983e7b723c0f87b4b
Size: 125.19 KB
----
Stock Keylayout - Language:
To return to stock from an alternate language use:
Stock_Keylayout_Language_signed.zip
Download Link
MD5: fb1e27e682df988de6bf2725e078bb06
Size: 198.01 KB
----
Genius Fix:
Front Facing:
Genius = Search
Hardware Keyboard:
Genius = Search
Genius_Fix_Keylayout_signed.zip
Download Link
MD5: 3e2ff144af94432b297f58cf93cbedae
Size: 125.22 KB
----
Blue6IX Keylayout:
Front Facing:
Genius = Search
Hardware Keyboard:
Home = Up Arrow
Menu = Down Arrow
Back = Left Arrow
Genius = Right Arrow
Blue6IX_Keylayout_signed.zip
Download Link
MD5: 2bfbcc7888b960a22b82ae4921e36c30
Size: 125.27 KB
----
Swedish keylayout:
From Post 21 of this thread:
Courtesy of Paitor
HOME = LEFT ARROW
MENU = RIGHT ARROW
BACK = ö
BACK + SHIFT = Ö
BACK + ALT = ö
BACK + SHIFT + ALT = Ö
GENIUS = ä
GENIUS + SHIFT = Ä
GENIUS + ALT = ä
GENIUS + SHIFT + ALT = Ä
? = å
? + SHIFT = Å
? + ALT = ?
? + SHIFT + ALT = /
Swedish_Keylayout_Paitor_signed.zip
Download Link
MD5: 2284d5ce1af68535523fd28e201a235e
Size: 198.12 KB
----
Genius to Back:
As per user request Post 31:
Front-face Genius button re-mapped to BACK function - all other keys are stock.
Genius_to_Back_Keylayout_signed.zip
Download Link
MD5: d2d5011c32d400c6e2b8866dd1d75c0e
Size: 125.21 KB
Gingerbread keymappings from kernel source for development reference in post 45
Once again, good work blue. When I get home I'm gonna try figure out how to add shift + alt characters.
Very Nice addition to the cause.
Can anyone make a key map that enables users to place objects in the MineCraft mobile apk for the Xperia Play?
arcticwolf8 said:
Can anyone make a key map that enables users to place objects in the MineCraft mobile apk for the Xperia Play?
Click to expand...
Click to collapse
It's only the Doubleshot that blue was talking bout. LOL. Go to the xperia play thread and ask there.
Sent from my myTouch_4G_Slide using xda premium
I know, the game was made for the Xperia play and I want to play it on the MTS4G
Oh got ya.
Sent from my myTouch_4G_Slide using xda premium
ekoee said:
Once again, good work blue. When I get home I'm gonna try figure out how to add shift + alt characters.
Click to expand...
Click to collapse
Great. When I get my computer back I will also try to work on my version with scandinavian letters åäö on back, genius and questionmark button.
Thanks guys, glad you like.
I have a theory that the terminal app only printing a tilde on screen when you press an alt character can be patched by some swapping.
With the question mark character, if you swapped the function so that it was alt+press to get the question mark, and just press to get slash, would it print a slash in terminal?
Could be the workaround to deal with having to use the soft keyboard for terminal emulator.
To the two of you interested in alt characters and their functions, what do you think?
This time of life right now is not good for me, time-wise - too much going on out there for me to spend enough time in here, but i'll keep up as much as I can.
arcticwolf8 said:
Can anyone make a key map that enables users to place objects in the MineCraft mobile apk for the Xperia Play?
Click to expand...
Click to collapse
Sounds to me like you'd either need to:
-Get the .apk in question
-open it up, and change the button presses in the .apk to match something in our keylayout file.
or:
-get the .apk in question
-open it up and write down the button presses needed to use the app.
-Edit the doubleshot keylayout file to contain those button presses
(probably lose those hardware keys you remapped for anything else)
Sounds like an .apk edit, so you won't be able to get any updates for it in the future without having to go back into it and edit it again.
Way to start us off with a hard one - lol.
Is it a free app? If I get more then a few minutes to sit in development i'll take a look over the next few days if it is.
On droid/milestone we always edited the bin file in keychars with a hexeditor. This with keylayout was new to me.
ekoee said:
Once again, good work blue. When I get home I'm gonna try figure out how to add shift + alt characters.
Click to expand...
Click to collapse
Did you get home?
Just kidding but I would love to see your setup for shift + alt
Thanks Blue, but they just released a touchscreen version yesterday evening
Sent from my quad slot toaster running Undeadk9's Senseless ROM using XDA App
arcticwolf8 said:
Thanks Blue, but they just released a touchscreen version yesterday evening
Sent from my quad slot toaster running Undeadk9's Senseless ROM using XDA App
Click to expand...
Click to collapse
Im digging your sig.
Sent from my Undeadk9's Senseless ROM using xda premium
Undeadk9 said:
Im digging your sig.
Sent from my Undeadk9's Senseless ROM using xda premium
Click to expand...
Click to collapse
Danke, sir
Sent from my coffee maker running Undeadk9's Senseless ROM using XDA App
So does anybody know how we could create cut/copy/paste via ctrl+c etc for bluetooth keyboards?
Bec07 said:
So does anybody know how we could create cut/copy/paste via ctrl+c etc for bluetooth keyboards?
Click to expand...
Click to collapse
I don't have a bluetooth keyboard, so not too much I can do to help you with this yet.
I am organizing all of my notes and double-checking my findings for the modded kernel released as we speak - should have it posted within a few hours.
After that my next project is to work on bluetooth controllers and getting them working with our device. I am working with one other member here as we have the time to get this project out the door, so expect some info to come out this week.
While i'm at it, i'll tack this on to the project. I'll be able to afford a new accessory this paycheck, so if I can get someone to lend me a ps3 controller i'll pick up a bluetooth keyboard.
As this is only loosely related to keylayouts, as the OP i'll let this fly in this thread because it's gonna require some modifications to the keylayout file if it doesn't work natively.
Please post the brand and model number of your bluetooth keyboard so I can download the driver file and look through it - thanks.
Here it goes: carrefour CBK01 (OY661-1)
http://www.oyama-mobility.com/html/ProductView.asp?ID=109&SortID=133
If this is the keyboard you are using, it's darned hard to find an english manual or product support page.
Do you have any software/driver files that came with it, or a link to a product support page with a driver download? Send me a pm if you do and i'll get you my email so you can send me the software.
Without the physical device, I need some kind of software to comb through for a driver file or there isn't much I can do - don't worry though, it'll still be a few days until I can get to it if you need time to get that together.
Yup, pretty embaressed to admit but that's it. The awkward thing about it is that shift behaves normally with go keyboard and swiftkey but caps does't work. On all other keyboards caps works but not shift (this is on the galaxy tab 8.9)
On sgs2 shift works, caps doesn't...
I just used the app "button remapper" somewhere on the forums to re-map my keys. Have both Genius buttons to search for single press, and use button shortcut to long press to the actual genius app.

Categories

Resources