Just got the XDA. Please Help with the Button Mapping thing. - MDA, XDA, 1010 General

Hi Y'all,
just got an xda and whilst it is a top bit of kit what's the deal with the button mapping. Is there any way to remap the buttons to emulate ipaq(rinse, gargle,spit!) or whatever. I need to play tombraider without finishing the whole game in one sitting! I've tried about 3 or 4 software mappers, nothing worked, and as far as I can see the buttons are usable cos mame uses them and a couple of other things. I found the below string in registry which I guess relates to the buttons but, adding another makes no difference. eg for volume button 0x75(4075).
\HKLM\SOFTWARE\Microsoft\Shell\Keys
40C1-button 1
40C2-button 2
So I guess I am missing something(I have only had the xda for 3 days!) I would have thought there would be another entry in current and other users but not so.
Somebody who knows what they are doing(I don't) and won't destroy their xda in the process(I may!) please help.
:shock:

Related

SMSing with 1 hand..

I recently got the JasJam and wanted to know is it possible for a developer to be able to write a code for a '123' keyboard with the 'abc' letters on each number to appear when typing an sms with T9 functionality.
Your replies would be much appreciated..
Thanx.
lol, I would probably be prepared to be flamed for this...
And we wonder why people get in accidents...
I've never seen anything like what you are asking for though, and I think that it would still be very hard to do something like this while driving since it's a touch screen...
actually i think it'd be easier if somebody could write a code to modify the normal keyboard to accept sliding...
that is, if you poke at G then move to H and release at H, H gets typed not G
this makes things very easy to use 1 handed as you can keep your finger pressed to verify what is being typed before actually typing the letter
ahfunaki said:
lol, I would probably be prepared to be flamed for this...
And we wonder why people get in accidents...
I've never seen anything like what you are asking for though, and I think that it would still be very hard to do something like this while driving since it's a touch screen...
Click to expand...
Click to collapse
no he has a valid point... trying to type in porn websites on your hermes while you're masturbating is quite tricky.
also... yes it is possible to do; if MS have released docs on writing your own keyboard map, then it could easily be done
you could try the phone pad cab in the ftp under tools and programs, it gives you the option to have the onscreen keyboard work like a normal phone pad with t9 predictive text
Well, there is an application that I use for one hand SMS. I don't actually use it when I am driving, however I do use it when I don't feel like sliding the keyboard. The app is "Tengo Thumb" and below is the URL and it is not free.
http://www.tengo.net/
Thanx for the replies. Will try TenGo and let u know how it works out..
Baileys said:
you could try the phone pad cab in the ftp under tools and programs, it gives you the option to have the onscreen keyboard work like a normal phone pad with t9 predictive text
Click to expand...
Click to collapse
phone cab is the way to go. Install it, then soft reset and select it instead of the on screen keyboard and you tap on your screen as if its a phone with a keypad.
Pls excuse me..
I am having diffculties locating the Phone cab file..
Pls help.
Installed TengoThumb but it takes time getting used to.
Thanx in advanced.
Found it.
Thanx for your help gents.
Here's the link incase anyone else was looking for it.
Code:
ftp://xda:[email protected]/Hermes/Tools_and_Programs/Phone%20Pad%20-%20English%20Only.CAB
@kastro,
I have never used Phone-Pad so I am interested on you thought between the two products.
The reason why i ask this is because it is difficult to type an sms when driving...
Click to expand...
Click to collapse
In the this country it is not only difficult but illegal! I nearly got killed by somebody using his phone while driving.
for those that don't know after installing the phone cab and restarting you have to select the onscreen keyboard and then press the arrow next the keyboard button
as for how it works, I find it pretty responsive, the t9 works as well as other phones, although if your a fast typer you can outpace the phone sometimes, I didn't find it a big problem.
the only real negatives I found was leaving fingerprints on half myscreen and the phone pad is a lot taller than the normal keyboard
OMg txting while driving
@lpsi2000
Phone pad is much better and more practical to use. It's exactly like using a normal keypad to type T9 sms's - it's actually even better..
The driving was simply an example to 1 hand typing. I started the thread cos there was no possible way i could continue with the Jasjam using its current features to type out an SMS.
And yes, it is illegal in my country... But who obeys the laws at the best of times?
i use the full keyboard while driving yes yes, flame me now...
but actually it works out kinda better, as i can put both hands on the wheel while holding the keyboard and still keep my eyes on the road...
WARNING, do not try this at home, this is a stunt performed by a professional with years and years of texting experience. I will not be held responsible for your inability to multi-task
@kastro,
Thanks for the tip and I will give it a shot.
@shogunmark,
Using the full keyboard while driving is definitely not an easy task especially at night. I agree with the warning, please do not try at home.

default button assignment

Just would like to know what is the default wm6 button assignment? I have a voice speed dial in the setting but as we all know there is really no physically button for this. I don't usually notice this because I never change these button assignemnt setting. But when I use my earphone/headphone jack, just recently, the voice speed dial program starts everytime I insert a headphone or earphone. Which bring me to double checking button assignment. When I change the Voice Speed Dial button assignment to "none" I don't get the voice speed dial automatically starting. Looks like the earphone/headphone jack seems to be the Voice Speed Dial button huh?... Kindly advice.
adomila said:
Just would like to know what is the default wm6 button assignment? I have a voice speed dial in the setting but as we all know there is really no physically button for this. I don't usually notice this because I never change these button assignemnt setting. But when I use my earphone/headphone jack, just recently, the voice speed dial program starts everytime I insert a headphone or earphone. Which bring me to double checking button assignment. When I change the Voice Speed Dial button assignment to "none" I don't get the voice speed dial automatically starting. Looks like the earphone/headphone jack seems to be the Voice Speed Dial button huh?... Kindly advice.
Click to expand...
Click to collapse
the default button assignment could be changed via registry, i've changed it on my HTC-Atom ROM, sorry i dont remember it right now,.
i was told this was a problem on cooked rom. the default buttons have changed compared to the official roms. is this true?
i also saw the registry thing your mention in one of the forums but i could not find it now damn my searching skills is really that bad can somebody point me in the right direction, pls...
bump
up up up ...
Why don't ya use HButton (V 2.2) by Ondrej Pavlicek, it is very versatile and any number of links can be used with all hardware buttons. Try it .
alexwm1234 said:
The true story of a girlA girl like the United States playing World of Warcraft, and many of her friends that her: one day you would lose all the Power leveling, her family also Say so. But she is still young perseverance WOW Power leveling, she would use all his approach to various WOW powerleveling accounts, she spent earn like a game of water Power leveling, he poorer day by day, because her friends are relatives of Power leveling crazy rely on and away from her, she also received a lot of the same Health together with the death of aof friend the game. This so-called, the gains will lose it. One day, she decided what should be done, so he found a braved untold dangers of friends together developed a perfect plan: in the United States to set up a world's most Big game service platform for friends around the world to provide WOW Power leveling, World of Warcraft ACCOUNT, Warcraft ITERM, WOW GOLD, Age of Conan Power leveling, PL HONOR, Powerleveling PACKAGE ,etc. They look forward to the successful because they have to find the lost friends and relatives, where they fell on the choice of where to stand up ...! You do...
Click to expand...
Click to collapse
Attention Mods this is not the write place for this thread. Please shift it to off topic or trash.
tjkhattak61 said:
Why don't ya use HButton (V 2.2) by Ondrej Pavlicek, it is very versatile and any number of links can be used with all hardware buttons. Try it .
Click to expand...
Click to collapse
HButton is great! It's just what I need. Many thanks tjkhattak61
adomila said:
HButton is great! It's just what I need. Many thanks tjkhattak61
Click to expand...
Click to collapse
You are welcome.

HaRET GPIO Discovery (for Android keyboard driver)

Right now I'm doing a little research (in my spare time) on adapting the keypad drivers that work on Vogue to also work on HTC Nike. Ducamie got me interested and sent me the files I needed, I poked around here and there and got overly enthousiastic PM-ing him a big bunch of text with maybe 2 words that actually made sense.
However, I think now I have the faintest clue of what to do:
Figure out GPIO codes for keys that are the same on both 16 and 20 key version (the dpad, the call buttons, camera button, power button and volume button should be the same I guess) using HaRET.
Adapt keymapping of board-htcvogue.c (since that's the one we use on our Niki devices?).
Find out additional keys (I can only do this for 16-key version as it's the only Niki I've got), and map those (maybe in board-htcvogue.c as well, maybe need to look at board-kaiser-keypad.c for that).
If anyone knows that I'm going at it all wrong, please tell me
Also, if anyone by any chance already had a run at the Niki and got the GPIO info I need, please do let me know.
I'm not new at programming but I am new at this kind of programming, so all sorts of things might go wrong or I might end up not getting there at all, but my goal is to make everything public, no matter where I get.
So even if I end up only getting the GPIO codes for the keys, if I fail writing the actual driver, the next developer will not need to get those codes and can get his hands on programming immediately.
I hope I am making sense, and I hope we'll be able to fix this driver ASAP, so we can actually try out Android without having to reboot to get back to the homescreen
There is not much interest in android on the dual - I have no idea why you guys arnt flooding the android threads with even idle curiosity.
Anyway, Graey, im glad you got the files and pretty much worked out what to do (sounds right to me). Have you had any luck with haret? Ive had it running in the past, logging key events but only jargon came out, i couldnt correlate between the event logs and key events in the code or see any pattern.
I can have another attempt if you like at the getting the gpio's or could help you set haret up if you have a linux box? i believe it can work via windows too but i only had luck with linux.
Let me know!
ducamie said:
There is not much interest in android on the dual - I have no idea why you guys arnt flooding the android threads with even idle curiosity.
Anyway, Graey, im glad you got the files and pretty much worked out what to do (sounds right to me). Have you had any luck with haret? Ive had it running in the past, logging key events but only jargon came out, i couldnt correlate between the event logs and key events in the code or see any pattern.
I can have another attempt if you like at the getting the gpio's or could help you set haret up if you have a linux box? i believe it can work via windows too but i only had luck with linux.
Let me know!
Click to expand...
Click to collapse
Well, ofcourse I have a Linux box, my main box is linux, I only use my windows laptop (which sadly enough doesn't run Linux right) to flash ROMs and in be .
It seems though that you already know a bit more about haret than I do, so if you could have another go at getting gpio's, that'd be great. And ofcourse on the long run it would be interesting for me to get haret up and running as well
Now I might seem to have a clue as to what to do, but currently that's just about it, I like to poke around in things and sometimes it results in something useful
I'll see what i can find! Dont hold your breath though.
would be awesome ducamie! i'd really love to see android running without problems on this htc device anyway: anyone got the new sdk running? it's posted on vogue site... replace android.zip in download link with android-new.zip... it freezes all the time for me... i got it to boot already, but i end up in a command prompt...
the_fish said:
would be awesome ducamie! i'd really love to see android running without problems on this htc device anyway: anyone got the new sdk running? it's posted on vogue site... replace android.zip in download link with android-new.zip... it freezes all the time for me... i got it to boot already, but i end up in a command prompt...
Click to expand...
Click to collapse
as you will see in the bootloader it says at the bottom "failed to mount sd card". this is because the new sdk is too large to boot from the phone memory so the vogue guys have it booting from the sd card. for this to work we will need a custom sd driver for the nike in our kernel.
Ok... I hope we'll get them soon anyway; where's jerpelea? Is he still working on the drivers?
ok, after lots of playing around this is the best i can get .
i realise some of these gpios are the same and i dont have a clue why - i dont think ive done anything wrong, so sorry if this is not what you need, but this is what haret was outputting for gpios.
16 key nike:
side volume buttons (both)
in1: in1-26(218)=0 (press in)
in1: in1-26(218)=1 (out press)
both start and end call buttons
in1: in1-26(218)=0
in1: in1-26(218)=1
nav up and down buttons
in1: in1-24(216)=0
in1: in1-24(216)=1
left
in1: in1-24(216)=0
in1: in1-24(216)=1
right
in1: in1-25(217)=0
in1: in1-25(217)=1
middle OK button
in1: in1-25(217)=0
in1: in1-25(217)=1
camera button
in1: in1-26(218)=0
in1: in1-26(218)=1
windows key
in1: in1-25(217)=0
in1: in1-25(217)=1
mail key
in1: in1-26(218)=0
in1: in1-26(218)=1
back key
in1: in1-24(216)=0
in1: in1-24(216)=1
1-5
in1: in1-23(215)=0
in1: in1-23(215)=1
6-0
in1: in1-22(214)=0
in1: in1-22(214)=1
* and #
in1: in1-24(216)=0
in1: in1-24(216)=1
i hope this is of some use.
oops i missed the IE key. oh well.
thanks for codes
i am working on the new kernel
BR
jerpelea said:
thanks for codes
i am working on the new kernel
BR
Click to expand...
Click to collapse
sweet
let me know if i can help in any way
ducamie said:
sweet
let me know if i can help in any way
Click to expand...
Click to collapse
please send me your kernel source and .config
thanks
br
jerpelea said:
please send me your kernel source and .config
thanks
br
Click to expand...
Click to collapse
u can find sources of the msm kernel at the android git ive posted before...
I'm working on fixing some keymapping on the polaris android build and need to check the GPIO for the OK button. Any idea on where I can go to find out how to do this?

Request: autoclicker

Hey all,
i been following these forums for a while, now im lookin for an application that can basicly autoclick/record like a mouserecorder on the pc
my idea is basicly like this,
you have your application open, than press a key on your phone or 2 keys at the same time that starts the recorder when pressed again it stops and you are capable to run the saved record and or even loop it or run it a specific number of times
does this allready excist or is it easy for someone to make or a nice idea to do?
so after all this time, this app still doesnt excist?
Hawkysoft said:
so after all this time, this app still doesnt excist?
Click to expand...
Click to collapse
i also need it, seeking on google and find no result
poor us !!!
I guess you are seeking what are called 'macros'. Closest on Android is Tasker. On rooted devices, it can simulate d-pad inputs.
I thought he meant something like this. https://play.google.com/store/apps/details?id=com.zausan.zscreenrecorder
Sent from my SAMSUNG-SGH-I777 using Tapatalk 2

How to use Mode Key when Creating an app

Hello Guys.
Hope i'm in the right forum now.
I'll write a app to let people switch between every app the like to with the mode key on the SWC. The difference between the app that is alraedy there is that i want to do it with an graphic interface like it is on the Parrot Asteroid Smart.
https://youtu.be/SHipM8Nm0yo?t=8m30s
I have a little experience in wirting Android apps, so the app itzelf won't be a big problem i think.
The big question for me: Show can i recocnize if the mode key is pushed or not?
Anybody ideas?
Already thanks
Regards Christoph
the-unknown said:
Hello Guys.
Hope i'm in the right forum now.
I'll write a app to let people switch between every app the like to with the mode key on the SWC. The difference between the app that is alraedy there is that i want to do it with an graphic interface like it is on the Parrot Asteroid Smart.
https://youtu.be/SHipM8Nm0yo?t=8m30s
I have a little experience in wirting Android apps, so the app itzelf won't be a big problem i think.
The big question for me: Show can i recocnize if the mode key is pushed or not?
Anybody ideas?
Already thanks
Regards Christoph
Click to expand...
Click to collapse
Decompile Xposed MTC modules around here or even Car Service app (RK3066 Car Service or somethinh on Google Play). Or contact developer. He may help you.
BTW I think having simple app with UI would be great thing. I really dont like these *.ini files for Xposed modules where you never know what you are doing.
the-unknown said:
Hello Guys.
Hope i'm in the right forum now.
I'll write a app to let people switch between every app the like to with the mode key on the SWC. The difference between the app that is alraedy there is that i want to do it with an graphic interface like it is on the Parrot Asteroid Smart.
https://youtu.be/SHipM8Nm0yo?t=8m30s
I have a little experience in wirting Android apps, so the app itzelf won't be a big problem i think.
The big question for me: Show can i recocnize if the mode key is pushed or not?
Anybody ideas?
Already thanks
Regards Christoph
Click to expand...
Click to collapse
I am using MTC keys module to overtake the function of the mode switch in my app ( modeswitch). I didn't manage to do it without this module. I manage to recognise the button presses without xposed, but the " original action" will launch anyway parallel to the "modified" one, leading in a mess! Since xposed doesn't work in the "hybrid 5.1.1" ROM until now, that limits the possibilities.
I have also in plans for a graphic interface, but there are a few thinks to concern: eg how to navigate between the options when you show the graphic interface.
If someone find/share how to intercept the buttons commands without xposed and "on the fly", it would be easier to set everything up.
I still use kitkat so its no problem.
On the parrot you press mode as far as the app you like is selected. If you don't press the key after eg 2 seconds the selected app will be started.
That's a little bit what I want. But with any app I want, so I can simple change between music, navi ...
Gesendet von meinem Nexus 5 mit Tapatalk

Categories

Resources