AE Button PLus - mapping all keys of the keyboard - Windows Mobile Development and Hacking General

AE Button Plus(version 2.6.2 beta) works perfectly in my samsung i780. However to be perfect would like to do in the same way how did aquacalendar (symbian): all keys of the keyboard are mapping to the main functions of the pim. For instance i would like to have the following:key 1 = PI calendar; key 2 = PI month; key 3 = PI tasks, etc.
Using the functionality "add button", I can make that to all the keys of the keyboard. The problem is that i lose the original characters of those keys that only follow AE Button commands.

That's nice to know.
(Can you please post more direct questions next time? Your post doesn't even have one. Also, the "Development and Hacking" forum is NOT the right place for this type of post, as I see no reference to development OR hacking. Please post this type of thing in the General section.
Anyway, the only application that I know of that has per-application settings is VITO ButtonMapper, see if that works for you.)

I understand your question.
set the keys up with AEButton for double press, triple press, or long press. leave single press alone and you should still have the original function of the button on a single press.
If you are trying to change what the buttons of your device do, then I would consider that to be hacking, so this is, indeed, the proper place to post this request.

Related

Ctrl Key - Does it exist or how?

Has anybody worked out if the keyboard has a Ctrl key or a function that works like Ctrl , handy when quitting apps eg Ctrl Q.
Or editing.
I couldnt find it when I used the device.
Cheers
That's very strange because I have it on my MDA II's touchscreen keyboard. Are you talking about the touchscreen keyboard that you have to pop up by pressing the up arrow in the lower right-hand corner in the Messages app for instance?
I wonder whether this feature would also be ROM-dependent.
i meant the hard keyboard not sip. its on sip but when i used the universal i couldnt see it.
Yes I am interested in the Ctrl button on the universal as well, I owned a XDAIIs and found the keyboard on that didn't have the Ctrl key either so you can't do CUT/COPY or paste unless there is another way. I cut and paste heaps so the keyboard was useless to me on the XDAIIs.
Any one know if there is another way to do this on the Universal Keyboard.
what a wind up this is, cant believe they missed the ctrl button off the proper keyboard.
The keyboard has Cut/copy/paste function, so I am happy.
Jasjar is the most awesome PPC Phone yet.
there is a screen tap key (a bit like the right mouse click key on a full computer) this brings up the menu option, with copy and cut in it !! then you can just pres the relevant letter on the keyboard, thus having the same effect (ie press a function key then C or T or V).
PS its Fn [Space] key
cool... i wondered what that key did! that is useful!
[ctrl] is used for more things than copy+paste.
I use my Exec to communicate with *NIX servers using Pocket PuTTY. [ctrl] is kind of essential.
Agree, using putty is a nightmare without a ctrl key. Is there any way of mapping another key to do the same function

JASJAR: For Easy Use...

another experince that i want to share. to make it easy while using the two keys and the keyboard. you can use Hot Keys for example:
at File Explorer if you want to copy file press menu key then press "i" button then press "C" button.
thats all :lol:
NiGhTmArE
Wish they had put a "ctrl" key on the keyboard though. The JASJAR is no use with Putty for controlling *nix machines without being able to do ctrl+c or ctrl+d etc.
rilot said:
Wish they had put a "ctrl" key on the keyboard though. The JASJAR is no use with Putty for controlling *nix machines without being able to do ctrl+c or ctrl+d etc.
Click to expand...
Click to collapse
I agree, a CTRL key would be useful. Perhaps it's possible to remap a key on the keyboard to perform the functions of CTRL? For example, I never use the caps lock key so that would be ideal. Perhaps I'll look into this, been playing with the .NET compact framework quite a lot recently.
I had a try with AEKMap but it couldn't send the correct key code.
The code for ctrl is 0011
sl9 said:
I agree, a CTRL key would be useful. Perhaps it's possible to remap a key on the keyboard to perform the functions of CTRL? For example, I never use the caps lock key so that would be ideal. Perhaps I'll look into this, been playing with the .NET compact framework quite a lot recently.
Click to expand...
Click to collapse
If you could figure this out you'd be my hero. The lack of a ctrl key is bugging me.

Vijay555 - how to set a right SHIFT key?

Hi Vijay, I try your keypress utility on my Universal. However, have problems setting a "shift" key on the videocall hard botton. I changed the value to 16 according to the keylist. Any advice on this? Thanks.
stanip: this should be moved to the VJKeyPress thread...
VJKeypress can be used to simulate a key press, but for shift, it's like on your pc, just pressing shift and releasing. It won't do anything. I imagine what you want to do is simulate pressing and holding shift, to make CAPITALS. It doesn't do that.
I did make a set of programs to do this, pressing and holding shift, ctrl and alt, but I didn't release them because Tom Hiro's PQz came along and is an amazingly useful program. Try Tom's PQz, and if you get really stuck I'll see about releasing my app. Mine works usefully on non Universals as well, eg Magician (my main phone), but there are issues with the way the Operating System responds to having these keys held down, so it wasn't worth finishing off at the time.
V
Vijay, PQz is a great tool but I failed to find any feature to set a "shift" key for capital letters... Have been looking for this as I use Word quite often. The right shift key will save me the thumb stretch reaching out to the other side. Thanks.
stanip: it might be worth asking Tom to add any features you want, he's actively updating it seems!
I will look into the Shift key issue again, but I'm a bit busy on a few other projects. It might happen soon if I can get it out.
V
Vijay, already suggested to Tom... believe he is prioritizing it. Initially thought the keypress could solve this one faster.
It would be great if yours could help with this request.

Emulating a device specific hardware key press (C#, .NET)

Hi, I have a Sony Ericsson X1. This device is enriched with 4 front hardware keys (2 softkeys and a "panel"-button and a "ok"-button). You have to possibility to customize the function of the 2 softkeys, but not the panel-button or the ok-button.
Now, I'm trying to write a application in C# that does programmatically exactly what a keypress does (on the panel-button), but I'm not able to find any information anywhere that can help me with this task, so that's why I'm asking the question here.
Anyone here with some information that might be of help?
Some more information, I ran AE Button Plus, and the "Panel"-button identifies as key code = 00EA and the ok-button identifies as key code = 405C!

PC-like keyboard mapping for hardware USB keyboards

WARNING: This is a work in progress, but I want to get my partially working config out there for someone like me who desperately wants this to work.
Edit 1: In retrospect, titling it "better keyboard support" was a bad idea, this has nothing to do with the "betterkeyboard" app.
I purchased the apad/gpad case with the integrated USB keyboard from witglobal here:
http://witglobal.com/goods-1846-10+inch+Apad+keypad++Leather+Case+for+10inch+flytouch+ZT-180+X10+A8+infotmic+Tablet+PC+-+Free+Shipping.html
However, there are issues with the control and escape keys, particularly in connectbot. Since I got the keyboard so I could connect to Linux machines, missing those two keys is pretty ugly. I know you can tap the touchscreen to get ctrl and esc, but that's really slow, I'd like to use the hard key.
So far, I have discovered that there are several things getting in the way of the key working. First is the keyboard mapping files. There are no native key mapping for 'esc' and the default key mapping for the 'esc' key is "BACK". This is fine for many uses, but not for mine. Secondly, it looks like there is a very small set of "custom" keys available in the keymappings.h file. Since there are no "USER1" etc keys, it will take a rebuild of the keyboard code with added entries to make it work better.
This is an attempt to fix control and esc functionality with a USB keyboard. It consists of a kcm file and a kl file to replace the current ones. I am doing my work on VEGAn beta5, but I suspect any ROM will benefit from these files.
To install these files, do the following:
MAKE BACKUP
adb pull /system/usr/keychars/usb_keyboard_102_en_us.kcm.bin usb_keyboard_102_en_us.kcm.bin.orig
adb pull /system/usr/keylayout/usb_keyboard_102_en_us.kl usb_keyboard_102_en_us.kl.orig
Install mod
adb remount
adb push usb_keyboard_102_en_us.kcm.bin /system/usr/keychars
adb push usb_keyboard_102_en_us.kl /system/usr/keylayout
Unplug and replug your USB keyboard
Once this is done, the following changes are made:
Ctrl is mapped to DPAD_CENTER
Esc is mapped to DPAD_CENTER
To use it, go to connectbot, log in, and hit esc or ctrl once for ctrl, and hit esc or ctrl 2x for escape.
Current Issues:
Shift , generates a ;, not a < in Connectbot, but works correctly in other places
Shift . generates a :, not a > in Connectbot, but works correctly in other places
Insert does not work
Del generates a backspace
] and } keys generate the character + a beep
howdy
I'm a long time betterkeyboard user too. So this mod allows a USB keyboard to use the hardware spell checking option like I can on my droid one?
you might want to send a note to the devs about inccluding this by default. They added the ability to change key height pretty quickly when a few folk sasked.
Sent from my GTablet using Tapatalk
sharpfork said:
howdy
I'm a long time betterkeyboard user too. So this mod allows a USB keyboard to use the hardware spell checking option like I can on my droid one?
you might want to send a note to the devs about inccluding this by default. They added the ability to change key height pretty quickly when a few folk sasked.
Click to expand...
Click to collapse
This is to enable escape and control keys in Connectbot (and possibly others eventually). If you don't use connectbot or a terminal emulator on the gtab, it most likely will be useless to you.
The intent, eventually, is to make a hardware USB keyboard work identically to how it works on a PC (control/alt/esc/etc send the correct keycodes)
Thanks, this helps a lot
As an Emacs user, not having ESC doesn't bother me much.
Ctrl key now works, but only in a way that you tap it once than tap another key, instead of conventional way of pressing a key while ctrl key is pressed.
Is there anyway to fix that? Thank you.
Thanks for doing this work, I too was upset that after buying a USB keyboard it was useless for SSH. Have you made any progress on the issues listed at the end of your post since posting this in Jan? Hope you found a solution and could share it with us!

Categories

Resources