physical keyboard key character mapping - Android Software/Hacking General [Developers Only]

hi, im making a custom rom for the droid pro which has a blackberry style keyboard. the buttons when regularly pressed (not using alt) work fine, however when alt is pressed, the symbols do not come up as what the keyboard says their function is to do so. can somebody help me map out the characters? i tried to build the kcm.bin file from android source but it didnt change anything...

Related

[Q] FN Function Key turns on CAPS Lock

Hi: I just bought a used HTC AT&T Fuze. It works pretty well but there seems to be something whacky with the external keyboard. When I press the FN key, instead of allowing me to type numbers and symbols, it simply turns the caps lock on. It seems like the keyboard is functioning like a full QWERTY PC keyboard instead of a custom one for the phone. For example, when I type along the top row, instead of it typing the various symbols across the top of the keyboard, it types the numbers 1, 2, 3... When I use the CAPS lock, it inputs a TAB - which is exactly where the tab key is on a regular keyboard. (BTW, the FN key is exactly where the CAPS lock key is on a regular keyboard...) Anybody have any ideas what might be going on? I've tried a hard reset twice now - with no success.
SOLVED: Just updated the firmware and all is working perfectly now.
Thanks,
Dave

keyboard With Arrow Keys Like a Normal Computer Keyboard?

Basically what I am looking is a browser or keyboard that allows you to have arrow keys that function like the arrow keys on a computer keyboard.
I use a particular website for work that uses the left and right arrow keys to get from one task to the other ( I think its a flash based module on the site) and I would love to access it from my phone, but I cant navigate due to the lack of arrow keys.
The issue is, there is no text field on that page, so the keyboard does not pop up, which is why Im thinking Im might need a browser thats able to "bind" keys, per se....
Does anyone have any suggestions?
Thanks so much!

[Q] How to use function key with keyboard dock ?

Is there any way to get the function key to work with the keyboard dock ?
The function key are replaced with android functions. This is nice, but when i'm using a terminal emulation, or any other app, how can i use the Functions keys F1-F10 without the use of a software key ?
You would need a terminal or software that supports mapping the keys accordingly. If you know what it sends, BTEP allows customizing what the Back, Search, Volume +, Volume -, Camera, and Focus keys send but we don't have the last two but AFAIK no body supports our other buttons.
In practice it's not wise to use the function keys for a terminal based program, unless you are sure you will be using a terminal that has them!
AFAIK the VT100 and VT220 terminals that are commonly emulated didn't have true function keys but did have something vaguly like F1 to F4; what stuff like XTerm and Screen do to make F1-F12 work is sort of a lie that happens to works with the right stuff. So YMMV even on PCs.
Sent from my Transformer TF101 using Tapatalk
I use ConnectBot and it works really well. The functions keys are returned corectly as well. My only problem is that when using the keyboard dock, i can't type the f keys, i need to unplug the keboard, then use the software keyboard (ESC Hackers keyboard) and then select the Function keys.
Is there any way to get the function key to work with the keyboard dock ?
The Function Keys
OK.. i found them
CTRL + number
so F1= CTRL+1, F2= CTRL+2 etc..
thanks
And can somebody tell, .. plz, ..
How on physical clave switch between the languages?
Combination from Win don't work :-(
On Tachie panel any layout working and all the switches, as usual .. And switch languages on the dock clave is not found ..
The result is not fun to sit with the dock, and print on Tachie ..
Thnks

[Q] Pressing "CTRL" on external bluetooth keyboard generates wrong code in Android

[Q] Pressing "CTRL" on external bluetooth keyboard generates wrong code in Android
Hello everyone
I bought the One Keyboard (PC version) (matias.ca/onekeyboard) and as per the spec this keyboard should work fine with Android.
It does work perfectly with my Samsung note 2 with jelly bean 4.1.1 but the only thing that doesnt work is the "CTRL" button (there is only one of them on the left). When pressing the "CTRL" button it sends the wrong information/key code to Android.
I downloaded an Android Application to test codes generated by the keyboard (can be found in Google Play Store) called "KeyEvent Display" and I attach the printscreen.
I also bought another bluetooth keyboard and connected it to the phone to see what codes this generates and also connected a wired keyboard to the phone as well.
The first few clicks/lines on the printscreen are using the other bluetooth keyboard and it does send correctly the "CTRL" code to the OS which is "META=12288".
The last couple lines show what happens when I use the Matias One Keyboard and press "CTRL", the code to the OS is "META=196608" (which is same code the other bluettooth keybaord creates when I press its "command" button).
Also please note that the "CTRL" button and the "LEFT-ALT"button create the same code 196608 on the mattias keyboard.
Long story short, the Mattias One keyboard generates the wrong code (meta=196608 which should be the "command" button code instead of META=12288) when pressing the "CTRL" key.
I would really appreciate your help on this
Thanks
Chris

[Q] Keyboard questions - How to type | (pipe) and > (greaterthan)? What is SYM?

This is probably really dumb, and I already found an easier way to do all this (adb shell), but still curious...
I was trying to do something in terminal and wanted to pipe it somewhere... but no | key on the keyboard that I could find.... so I though I'd redirect to a file instead to open later, but no > key either. Is there a way to enter those characters without closing the real keyboard and using the on screen keyboard?
And while I'm at it, what is the SYM key for? And what is that thing that symbol that looks kinda like a microphone, or a hard boiled egg in an egg holder, on the tab key?
enigma9o7 said:
This is probably really dumb, and I already found an easier way to do all this (adb shell), but still curious...
I was trying to do something in terminal and wanted to pipe it somewhere... but no | key on the keyboard that I could find.... so I though I'd redirect to a file instead to open later, but no > key either. Is there a way to enter those characters without closing the real keyboard and using the on screen keyboard?
And while I'm at it, what is the SYM key for? And what is that thing that symbol that looks kinda like a microphone, or a hard boiled egg in an egg holder, on the tab key?
Click to expand...
Click to collapse
I'll assume you're using CM or a CM derivative ROM...
If you choose one of the Asanti layouts for keypad_8960 (Settings>Language & input>Physical keyboard>keypad_8960), you can type:
| by SYM + '
< by SYM + ,
> by SYM + .
and there's more...
Asanti layouts use SYM as an ALT key so you can enter an alternate character mapped to a key.
The microphone pictogram on TAB key means voice input that can be activated by SHIFT+TAB, but this key combo is supported only on stock Motorola ROM.
kabaldan said:
I'll assume you're using CM or a CM derivative ROM...
If you choose one of the Asanti layouts for keypad_8960 (Settings>Language & input>Physical keyboard>keypad_8960), you can type:
| by SYM + '
< by SYM + ,
> by SYM + .
and there's more...
Asanti layouts use SYM as an ALT key so you can enter an alternate character mapped to a key.
The microphone pictogram on TAB key means voice input that can be activated by SHIFT+TAB, but this key combo is supported only on stock Motorola ROM.
Click to expand...
Click to collapse
THANKS! Your assumption (about CM) was correct, and that works perfect. I'd already tried SYM+other keys, but nothing happened, that asanti layout did the trick. Thanks again.
I made the plunge to the CM12 nightlies, ended up doing a complete wipe first.
If I use the default "English (US) / Android keyboard" then certain keys don't match up... for example I couldn't get a colon by using shift-period...
All the "Asanti xxx / Photon Q keypad" don't seem to be for English, although it seems the one I'm trying now (Germany QWERTY v1) seems to be fine so far, but haven't fully tested...
I can't find the asanti keyboards, however.... is there something different reccommended for lollipop?

Categories

Resources