I'm using vb.net and cannot find anywhere with an example of how to detect the pressing of the talk, hangup, home, back, startmenu keys. I can use keycode/keydown etc, but when these buttons are pressed, it takes focus away from my app and does what ever the button is meant to do (open dialer, minimize, show today, show startmenu).
i just want to capture the keycode without thos buttons doing what they do.
You may want to conatct the developer of this app, he wrote software which captures the use of the talk button.
http://forum.xda-developers.com/showthread.php?t=462963
Related
I've spent hours trying to figure out how to remap some of the keyboard buttons & have yet to figure it out. The internet button opens up IE instead of Opera, the calendar button opens up the standard calendar app instead of the Agenda One calendar I loaded, and there's no tab key. I've tried using AEKeyboard mapper, but the instructions for using the program are lousy & I wasn't able to get it to work.
There's a file in \windows called eT9.Raphael.wwe.atnt.kmap.txt that appears to do the key mapping. Maybe someone with more knowledge can take a look at this.
I use AE Button Plus, works great.
Hi,
i look for it for a long time and i can't find it :
how to attribute a function to a button ?
In settings, there is no buttons available though there is 5 hardware buttons !!!
For exemple, i'd like to attribute task manager or task facade to the long press home button, is it possible ?
thanks
up...
nobody is interested in attributing hardware buttons ?
Yes I am interesting too
I used aebutton plus to assign MS Voice Command to long press windows button. That worked fine, although I haven't used it on any other buttons.
Well, the hardware buttons already have set functions. So assigning things to them would be a little bit complex within the settings. That's why they aren't there.
I imagine you would need to use a third party application, and even then you could only assign long presses to the keys.
Long press would be nice though
Pantaloonie, does everything run fine with aebutton and HD2?
Yes, it does what I want it to do, although as I said I only added long press windows key.
It was a little bit fiddly with aebp's small menus on the capacitive screen, but I got there after several attempts.
Now when I start the aebp program, I get an error message reading "Once you set AEBPlus to process Windows button you may also need to re-define following buttons also:"Button 1(Hold)", "OK Key"."
I haven't done as it says, and everything works perfectly.
Cool, thanks I might give it a spin then
Here's a guy who's tried AE Button Plus with HD2 pretty thoroughly it seems:
http://forum.xda-developers.com/showthread.php?t=603186
I just installed it and mapped the windows hard button with long press to task facade. It worked just fine, but it seems the button lost the original function which is to access the start menu on single tap. I dont mind it so much though, I might as well use the the soft start button in the upper left corner. The important thing is that multi tasking now works without having to go through the today screen.
Ok, I searched around for about an hour, and must not be using the right search term or something. Anyway,
I have an HTC HD2, and i'm trying to run gotomypc with it (and pandora). I can run both, but i have to map the hardware button to my input panel in order for it to come up in either application. Thats all well and fine, except i also like the default long press key option that brings up my voice command. (And for those that don't have an HD2, there is only 1 mappable hardware key). So i have to jump back and forth on button assignments to use applications.
So point is, i installed AE Button Plus, and it appears to be able to do the trick, yet i can't find what file to point the assigned long press button too. Where is "input panel"/aka SIP located at/what directory?
Or does someone have an easier suggestion for mapping a previously unassignable hardware key to the SIP?
Thanks in advance!
Hi guys,
My digitizer has died, and till the new one comes I was thinking of how I could use my T7272, I can write the SMS fine, but I can't send them out, cause the button is on the screen itself... is there a rom I could use freely w/o using the touchscreen?
P.S.
Is the digitizer hard to replace?
You could check out AE Button; it has some options like button presses that will activate soft buttons. I suspect you could send sms's using it. You could also try using mortscripts with AE button that will do stuff you need. There are some pretty simple scripts that will simulate screen taps, and you could assign them to a button push. I'd rather have a working touchscreen, though.
Here are some of the commands:
# 91: startmenu (on some devices it might be home button)
# 92: back key (not the backspace key but back key for closing applications which is available on some devices such as diamnd or blackstone)
# 93: menu key
#112: left softkey
#113: right softkey
#114: accept call (green button)
#115: hang up (red button)
#117: volume up
#118: volume down
#126: data disconnect
#127: toggle speaker
#133: devicelock
#223: power off
I use one to lock the device. Basically, you just put this:
Code:
sendspecial(133)
in a .txt file, and change the extension to .mscr. I call it Lock.mscr, and I have it assigned to a few different actions (like when a call comes in, a script locks the phone). So, sendspecial(112) and sendspecial(113) might help you out. There's also one for hitting 'Ok' in popups, which would probably work for you. I can't find it, though (google 'sendspecial' and you'll find it, it's all on msdn).
Anyway, if you install mortscript (maybe you already have it) as well as AE Button, you could assign button pushes to carry out those actions. Just stick the scripts somewhere easy, like the start menu, and it will be easy to set up.
If you want to get more complicated, there are also mortscript commands that simulate button pushes on the screen. You could set one up that would do just about anything. Also, SK Schema does similar stuff. You can write fairly simple sequences of button pushes that will do just about anything. This is one that I use that runs SK Tools Pim backup (I have it scheduled to run every night in the middle of the night).
#r(\windows\sktstart.exe) #p(STH:20)
#tap(146;602) #sleep(15000)
#tap(110;533) #sleep(500)
#tap(339;455) #sleep(500)
#tap(126;604) #sleep(500)
#tap(114;84) #sleep(500)
#tap(146;99) #sleep(5000)
#tap(310;254) #sleep(90000)
#tap(433;602) #sleep(10000)
#pwr() #sleep(10000)
Click to expand...
Click to collapse
Basically, the backup tool gets launched in line 1, then there are a bunch of screen taps (w/ delays, to make sure everything is ready) in the menus to get the right options selected, followed by turning the device off.
I`m not sure... But i saw somewhere app that emulate a mouse (cursor) and you will be able to control this mouse with your D-pad... But I can be wrong...
I can't install that mortscript w/o the touchscreen though..damn it..: )..
Get MyMobiler, and use it to run your device off of a pc. You should be able to get that working.
Is it possible to map the bottom Capacitive Buttons to launch apps? It would nice to be able to change what they do and add functionality.
ie. long press on home launches "active apps" instead of task manager, long press on menu launches voice actions.
I know how to map the search key to camera but that is very easy/simple.
You can do this with Cyanogenmod. IDK what else though.
How do you map the camera to the search key? Is it on long press or regular?
Sent from my SAMSUNG-SGH-I897 using XDA App
file located at:
/system/usr/keylayout/melfas-touch.kl
Key 107 SEARCH
change to
Key 107 CAMERA
save
I did it all with root explorer.
It changes the search button to be a camera button, launches and takes pictures. You lose search but long press on menu brings up search.
Anyone have anymore info on this?
when i make those changes in root explorer, i hit save but when i open the file again it is back to search. any tips?
make sure you have write privileges....?
i should have started out by saying i am relatively new to this. when i long press on melfas-touchkey.kl and click permissions, it says user:read write, group:read, others:read. so i think i do...
Any more incite on this?