Configure hardware buttons for gfDoom - Touch Pro, Fuze Themes and Apps

Hey guys, i just spent like an hour trying to figure this damn thing out but i cant seem to do it!
here's the game, gfDoom,
http://home.freeuk.com/gamefreaks/pql/gfDoom.htm
just FYI.
I'm attaching the "keyboard" skin for the game, which allows landscape and i'm quite happy with it. The only problem is in landscape i cant see a way to save the game, or exit the game.
By default for Touch Pro, landscape
VOLUME DOWN = OPEN DOOR (which is fine)
BACK BUTTON/OK BUTTON = SHOOT (also fine)
Other hardkey buttons unmapped.
doesnt need a map button since on screen, bottom left corner activates the map
now i'm trying to map the pause/menu button to one of the hardkeys. Make full use of em. Like the enter key and the volume up key. Can someone help me out here? I think one key shud be a letter or something so that can save the game. Like when i wanna save the game i have to type a name.
I have found this link "Keys and Key Codes for Windows Mobile" but am unable to get it to work after several attempts.
http://msdn.microsoft.com/en-us/library/bb431750.aspx
see attachment for the instructions and the folder containing the skin "Keyboard"
Hopefully someone can help me out by helping me map it out.
Please post results here

bump for attention. i'm sure someone knows these stuff and i'm hoping to learn T.T

bump one more time. maybe i shud ask in raphael main forum section?

Change the title of your thread. It sounds like you're trying to get someone to give you registration keys for software, or something equally illegal. I realize you're not, but I may simply be more curious than the average reader.
Look for a program called HButton. It might do what you're looking for.
Also, it's considered bad form to bump your own threads, unless they fall off the first page without getting responses.

Myrddin Wyllt said:
Change the title of your thread. It sounds like you're trying to get someone to give you registration keys for software, or something equally illegal. I realize you're not, but I may simply be more curious than the average reader.
Look for a program called HButton. It might do what you're looking for.
Also, it's considered bad form to bump your own threads, unless they fall off the first page without getting responses.
Click to expand...
Click to collapse
yea it fell off the first page which is why i bumped it.
oh okay will edit thread title.
and btw HButton is to assign apps to hardware buttons. what i need is some help regarding configuring the .txt file for gfDoom to configure Doom controls. what i need is a hardware button for the menu key

Managed to get it working reasonably.
Volume down = FIRE
Volume up = STRAFE (hold down whilst pressing left or right)
OK/Select = OPEN
Back = FULLSCREEN (Toggles between portrait and landscape)
Couldn't seem to map the Call and Call-end buttons successfully.
Having the "Back" button as a full screen button seemed more functional than just using it to pause or quit the game, as from the portrait/keyboard mode you can access these facilities and more (e.g. save, load, exit etc).
Just stick the modded text file in your "KEYBOARD" folder. I've renamed my "KEYBOARD" folder "DEFAULT" so I don't have to use the launcher .exe (configuration tool) and can just use the direct .exe to go straight into the game.
P.s. The game seems to run ever so slightly more smoothly if you disable TF3D (Manila) from: Settings/Today
before launching the game. Simply enable again once you're finished.

In case you want to setup you controls differently, here are the mapping codes for the buttons:
Code:
Button Hex Dec
vol+ 0x75 117
vol- 0x76 118
back 0x5c 92
end 0x73 115
call 0x72 114
ok 0x86 134
up 0x26 38
down 0x28 40
left 0x25 37
right 0x27 39
You need to enter the decimal values within the text file.

i'm actually using the up button to pause game to save etc etc. but i'll definitely try to follow your config for the volume up button. cuz i cant get mine to work. i prefer back as shoot. lets me run around with stylus and shoot/strafe.

I've modded the skin a little further, using the default skins layout and the keyboard skins toolbar (with fullscreen and exit etc)
Attached the skin files...

Made two new skins for GFDOOM from scratch with as much functionality for the Raphael as I could map. I'm quite pelased with them.
One is a Doom themed skin, the other one is to match NRG's EnergyROM theme.

Related

"esc" key

Does anyone know how to emulate the "esc" key on a wizard?
I have a DOS based legacy app at work, and while I have been able to get logmein to work fine on my 8125 to control everything else I need to be able to use this one program and I cannot unless I can use "esc" to go backwards. Any ideas?
maybe u can assign a hard button to the esc with this one?
http://ae.inc.ru/aekmaplayout.php
Here's the solution...
PQzII -- http://nicque.com/pqz/PQzII.htm
Under settings go to the "Code" tab, allows you to set IN code whatever you want and set OUT code to be ESC.
I'm a big fan of this FREEWARE! Also allows setting a key for CTL and/or ALT, better caps/num lock indicator (off, on, lock), not to mention key launch of apps, settings, phone numbers, task bar, symbol window ...
NOTE: be sure to install the Wizard-specific version! Read the install directions!
if you're using pocket quake, just use "recorder" key (press it long)
vladimyr, pqzii is not pocket quake...if that is what u meant...
wgary said:
PQzII -- http://nicque.com/pqz/PQzII.htm
Under settings go to the "Code" tab, allows you to set IN code whatever you want and set OUT code to be ESC.
I'm a big fan of this FREEWARE! Also allows setting a key for CTL and/or ALT, better caps/num lock indicator (off, on, lock), not to mention key launch of apps, settings, phone numbers, task bar, symbol window ...
NOTE: be sure to install the Wizard-specific version! Read the install directions!
Click to expand...
Click to collapse
Wow! Thanks for the tip. that is a great program. I just started playing with it but it seems that it could replace Smartskey. Of course, even though there is a GUI the documentation is a little sketchy so it took me a little trial and error but I got it to do what I needed...
I would highly recommend this to anyone that likes customizing their phone.
I have two questions that I could not seem to resolve on their web site
1. Where do you find the .bmp files it looks for to use as an icon? I am getting a white square which works okay since I will only use it now and again.
2. In the program they reference a CTRL and ALT keys that I am pretty sure are hard keys on the keyboard since you can assign them but I am not sure which actual keys they are. Any ideas?

Remove Calender&Contacts bar

Is it possible to remove to whole bar at the bottom of the home screen? Mine has links to contact & calender, but I just want to remove it since I dont use them at all...
Any ideas?
soft key applet
you can use a program called soft key applet, which is downloadable from the xda ftp site, not sure if you can simply turn these off, but you can assign different programs to them.
I use dcinobar, you can just click the .exe to enable / disable it. I have mine placed in the \windows\startup folder works perfectly.
s4vva said:
I use dcinobar, you can just click the .exe to enable / disable it. I have mine placed in the \windows\startup folder works perfectly.
Click to expand...
Click to collapse
nice post, def. gonna try this one out when I get the chance as I never use the on screen soft keys anyway,(plus I know I ain't the only one who can't stand the fact that the home screen plugin from HTC doesn't allow one to scroll down the today screen in landscape mode)and a little extra room is welcomed with open arms. I'm guessing you can still use the soft keys if you want to by pressing the hw buttons on the device right????
cheers
Heres the trick..
It LOOKS a lot better. It makes more of your image available to use.
But wither or not you use the buttons doesnt even matter, because when at the today screen, even if you press those buttons they still work. I use mine all the time, but I dont like the clutter, but it doesnt matter. I just remember what buttons do what, since they still work.
Im adding this to my newbie thread
Thanks!!
This gives the homescreen just a bit more room.
Another nice mod is to remove the iconset for the unlock/com man/etc located above this bar. I used the regedit method using total commander- simply delete the following from your registry:
\\HKLM\INIT\LAUNCH92
This is the key that launches the tray application at boot (To re-enable create the registry key above with the value TrayAp.exe)
Have fun!
morotorium said:
Another nice mod is to remove the iconset for the unlock/com man/etc located above this bar. I used the regedit method using total commander- simply delete the following from your registry:
\\HKLM\INIT\LAUNCH92
This is the key that launches the tray application at boot (To re-enable create the registry key above with the value TrayAp.exe)
Have fun!
Click to expand...
Click to collapse
Actually I found the tray icons very useful and actually added my own tray from batterstatus. One touch activation of any of the radio's and various programs makes using the tray very efficient. Plus you can access the tray without even touching the screen so its a win-win in my eyes.
Regarding Neptunes' first post at the top,
"(plus I know I ain't the only one who can't stand the fact that the home screen plugin from HTC doesn't allow one to scroll down the today screen in landscape mode)"
I have spent days looking for a fix/patch for this. Is not having the scroll feature in landscape mode the final answer on this one?
Thanks guys!
Scroll
Go to HKLM\Software\Microsoft\Today\Items\HTC Home and change the type to 4.
Poweroff and poweron.
Thanks, exactly what i need.

BackLight brightness adjust command line utility for Kaiser aka TYTN II

I dunno if I'm only one who has this problem but when I'm occasionally on sun I can't see nothing on my Kaiser and it's really difficult to setup backlight brightness on touchscreen which u can't see.... So I've been looking alot if there is some utility which I can link with button or gesture and I haven't found anything... So I've wrote my own utility. Feel free to use it as well if u find it useful -> http://lobster.ic.cz/?page=bl
is this useful or is there easier way to do that??
Been searching for an app like this for a week.
Works great!
Thanks.
Here's another program that gives you a today plug in for it:
http://forum.xda-developers.com/showthread.php?t=412896
I'll b trying yours tho as I like the idea of UL with icons for up and down
Cheers,
Matthew
I made a cab with this program mapped to the PTT button. I have a AT&T Tilt, Im not sure if your phone has a PTT button or if its called something else or whatever.
With this, just run the cab then I tap the button and it changed the brightness really quickly, no menu or anything, I love it! If I walk out into the sun I just tap the button 3 times and my screen is bright.
Lobsterii, I love this program thanks a ton!
I'm glad that I could helped u out guys... actually there might be more funny stuff possible only if HTC release some documentation on theirs DLL files cos it's pain to guess arguments...
you did it all by guessing? I figured you would have decompiled the dll.
Truly excellent! I have also been looking for something like this for a long time.
I figured I might as well kick off the feature requests that always follow a new release: How about the option set both battery and power brightness with one command? Perhaps by a special switch, or by only specifying the brightness level (i.e. no 'b' or 'p' switch)? Or is there a way to do it already?
Thanks again for a useful app!
you did it all by guessing? I figured you would have decompiled the dll.
Click to expand...
Click to collapse
I've read some forum where someone pointed out that backlight function should be in some dll by HTC dunno where it was... Then I was googling "dll find export function" and I've found prog "DLL Export Viewer" which can show function names in dll. Unfortunatelly there is generally impossible to find out how many/what arguments the function has. So I've found function name like HTCUtilSetOnBatteryBrightnessLevel and I've simply try prototype int HTCUtilSetOnBatteryBrightnessLevel(int); but it crashed... so I keep going like int HTCUtilSetOnBatteryBrightnessLevel(int*); and it worked... voila...
pudifoot said:
Truly excellent! I have also been looking for something like this for a long time.
Click to expand...
Click to collapse
thx alot...
I figured I might as well kick off the feature requests that always follow a new release: How about the option set both battery and power brightness with one command? Perhaps by a special switch, or by only specifying the brightness level (i.e. no 'b' or 'p' switch)? Or is there a way to do it already?
Click to expand...
Click to collapse
done. + it's now compiled as an release version so it actually has 50KB less than old version... enjoy it's at the same place instead original files http://www.lobster.3web.cz/bordel/bl/index.htm...
Nice improvements! how about another a switch so that it will toggle between brightest to dimmest? So if this was used it would just go between 1 or 10 and none in between.
Thanks for implementing the feature I was looking for. A perfect application - it's small and fast, and it gets the job done with excellence.
Thank you. Works perfectly.
silentanvil said:
Nice improvements! how about another a switch so that it will toggle between brightest to dimmest? So if this was used it would just go between 1 or 10 and none in between.
Click to expand...
Click to collapse
hmhm... what I wouldn't do for y... There is new version 02 (on my web at the same place) where u can setup your own sequence. Length of sequence might be from 1 to 10... values are as usual from 0 to 9... But numbers must not repeat (known feature I don't see point to solve it) so u can set something like "bl02.exe 0 5 1 9 3" or whatever else... enjoy
Report any found bugs... I mean it's super simple but it's 4 am so I'm half sleeping...
lobsterii said:
hmhm... what I wouldn't do for y... There is new version 02 (on my web at the same place) where u can setup your own sequence. Length of sequence might be from 1 to 10... values are as usual from 0 to 9... But numbers must not repeat (known feature I don't see point to solve it) so u can set something like "bl02.exe 0 5 1 9 3" or whatever else... enjoy
Report any found bugs... I mean it's super simple but it's 4 am so I'm half sleeping...
Click to expand...
Click to collapse
Awesome! Thanks so much! I've also been looking everywhere for something like this!
Awesome!
Well done! I've been looking for ages for something to do this.
How to use bl02...
Something from lobsterii that helped me:
create link in Total commander (file manager) I think its in options "File -> >>>>> -> Create shortcut" then I have another file bl02.lnk then I open properties of the lnk file, I click tab shortcut and put the text of path into "" and after it I wrote parameters so it looks like
"\Program files\bl\bl02.exe" 1 3 9
OK dumb question and first time posting so don't slaughter me. If I understand the thread correctly this will put large buttons to adjust from the Backlight screen....correct? Is there a program (other than the PTT button which I'm using) that will allow a button or swipe to adjust the brightness without having to open the brightness display? If you get far enough to open the utility then its not that hard to move the brightness up. Sorry for the dumbness of the question.
volleykinginnc said:
If I understand the thread correctly this will put large buttons to adjust from the Backlight screen....correct?
Click to expand...
Click to collapse
my bl02.exe doesn't put any button anywhere... it's just app which actually toggle brightness. U can try to run it via file explorer it should change brightness...
volleykinginnc said:
Is there a program (other than the PTT button which I'm using) that will allow a button or swipe to adjust the brightness without having to open the brightness display?
Click to expand...
Click to collapse
There is plenty of programs to map this app to buttons, finger swipes and some other crazy stuff like voice commands etc.. For example I'm using FTouchFlo (u can use FTouchSl which is easier to configure) and map backlight change for finger swipes... Most easy way is just copy blXX.exe to /Windows/Start Menu/Programs/blxx.exe and then go to Start->Settings->(tab)Personal->Buttons and link it with some buton...
I'm just now at work so have no time for more explanation... but Once I get home I'll create some FAQ at download page cos... cos it'll be easier for all of us
dont sweat it that was a perfect explanation and I now have it helped me to get it running to a button.
One other quick question though....I have S2U2. So the button doesn't work until I have unlocked it (which sometimes is hard to see going out to daylight) is there any way (easy way, Im no programmer)to allow the button to work (that is brighten the display via the button I have it mapped to) while it is still locked?
volleykinginnc said:
dont sweat it that was a perfect explanation and I now have it helped me to get it running to a button.
One other quick question though....I have S2U2. So the button doesn't work until I have unlocked it (which sometimes is hard to see going out to daylight) is there any way (easy way, Im no programmer)to allow the button to work (that is brighten the display via the button I have it mapped to) while it is still locked?
Click to expand...
Click to collapse
I'm sure he won't be able to bypass A_C's S2U2, but (assuming you have a Kaiser, you didn't say) if you enable dpad in S2U2 you can always hold your right dpad button to make sure S2U2 is unlocked, even if you can't see the screen, and then hit the button for the "bl02.exe 9" link.
Ha ha...you guys are awesome! Right Dpad enabled and now it works like a charm even in the brightest sun!! Thanks for the great application...makes a big difference in usability.
Some of you experts ought to make a list of these application gems (this program/kaeser tweaks etc) to make it easy for the noobs like me. This is good stuff!!

Sky remote record by mobile

Anyone got this working on the Diamond. Working fine on my old SE W850 - dont know where to start with the Diamond
I'd like this too.
Can only think about doing it via web browser
I use the k800 version and remaP my left and right hardkeys to act as softkeys but the text is tiny!
How do you download the K800 version of Sky Remote?
Sky doesn't let you chose a particular phone during online setup.
Sky By Mobile Java App
Here's the Java app download.
http://mobile.sky.com/SBM/SonyE_novid/SkyMobile_SonyWithoutTv.jar
All I got to do now is try to remap hardkeys!
Got AE Button Plus, but a bit scared of all it can do.
Can Ericsson68 tell us how he remapped hard keys?
Is running TF3D, cos that seems to overwrite hard key functions when run?
Just got round to trying this.
How do i run the file as .jar files are not assosiated with any apprication?
Put .jar file on Diamond first using activesync.
Then run Jblend first and install and run java apps or .jar files from there.
I still can't get it to logon yet.
fillippe said:
Put .jar file on Diamond first using activesync.
Then run Jblend first and install and run java apps or .jar files from there.
I still can't get it to logon yet.
Click to expand...
Click to collapse
Have you looked at
http://www.digitalspy.co.uk/forums/forumdisplay.php?f=35
I know that people have had problems. You might find the answer there.
Hi
I used AE button and then remapped the left and right ring keys to long presses = left and right soft keys. I never do long presses on the left and right ring keys so this made sense to me.
Prepare to need a magnifying glass when you do get logged in though. And from experience put your password in before the user name. For some reason doing it the other way around often crashes it.
Ok! Got application working - am able to enter password and user name.
Have tried remaping keys, but dont understand how or why. Could you go through it step by step.
Have a copy of AE Button Plus installed.
Thanks
Another jar file
This one allows the soft keys to work but doesn't actually manage to login for me.
I attach the file for you to try.
Solution!
trice1921 and colthekid worked this solution out at http://forum.xda-developers.com/showthread.php?t=507152 for the Touch HD / Blackstone. It works for the Diamond as well. I'll copy the solution here and hope the mods don't mind.
The java file is here http://mobile.sky.com/SBM/SonyE_novid/SkyMobile_SonyWithoutTv.jar
The HasKeyboard reg key is important and you will need to disable the volume control in S2U2 if you use it. Enjoy!
Firstly, follow the instructions in the original article posted by gears ie. register on the web for sky mobile and download and install the java software and SkyMobile_SonyWithoutTv.jar file.
Also register for "Remote Record" via your Sky+ box (instructions on the Sky.com website)
Next, as the HD does not have a hardware keyboard, we need to "spoof" the OS into thinking the HD does have one. This is done in one key in the
registry (which I found completely by accident while looking for a different one!).
Goto... "HKCU/Software/Microsoft/Shell" and change the value of "HasKeyboard" to 1
Soft Reset the phone.
We will then need to map some of the buttons to give us up/down/left/right, Enter and Left/Right Soft keys. As NickMilner suggests above, i use "AE Button Plus" and my mapping instructions assume that's what you will use. (the program does cost but i don't know of any other one that provides double, triple and long press options for each key and appears to work well enough in free/trial mode anyway!)
Map the following in AE Button Plus
Volume Up button: Single press - Volume Up
Double press - Press Up Arrow
Triple press - Press Left Arrow
Long press - Press Left Soft Key
Volume Down Button: Single press - Volume Down
Double press - Press Down Arrow
Triple press - Press Right Arrow
Long press - Press Right Soft Key
Green Phone Button: Single Press - Press Green Button
Double Press - Press Enter
I would have liked to use the Red Phone button, but whatever selection i made, the red button always acted as an "Exit" button in the java app, so I went with the above. It's a bit complicated I know with all those double and triple presses, but IT WORKS and i've soon got used to it. I'm sure you could chose your own combination of presses, but the above ones work.
Well, there you go, see if it works for you (I Bl**dy hope so...this has taken me ages to write!!)
Click to expand...
Click to collapse

Landscape Toggle?

Hi
I'm a big noob and I apologize in advance if this has been covered, but I have been looking everywhere for it and dont even know what it would be called. I have an AT&T Tilt and running mbarvian's amazing Solacev 3.1 ROM. I recently spilled coffee on my phone and cant use the qwerty correctly. I ordered a new one on Ebay, but it will be a while before it gets here. I have installed the HTCDiamond qwerty on the phone, and really like it. I would prefer to use it in landscape when I SMS and browse online. Is there a way I can put my phone into landscape without flipping the qwerty out? Maybe a setting I cant find or a .cab out there I dont know about? What I would like is a program where I could assign it to a button to put the phone into landscape view. Any idea what I'm talking about or am I just retarded?
You could use mortscript (you'll find it somewhere around here) and create a script to flip it into landscape. Dead easy.
simple!
i have button 6 hold (button 6 is the PTT button on the left side of the device above the scroll wheel) mapped to "Rotate Screen".
goto Settings->Personal->Buttons and select "Button 6 (hold)" (or whatever button you want) and map it by choosing "<Rotate Screen>" near the top in the drop down list on the bottom.
Awesome, thanks alot

Categories

Resources