|
|
#1 (permalink) | ||||
|
Aximsite Rookie
|
Button Mapping
Help..
I am trying to modify the CFG for Duke Nukem 3d on my ppc. http://www.aximsite.com/boards/showthread.php?t=49652 I need to know, on the x3i, what are the "names" of the hardware buttons, such as the calandar, contacts, mail, and home. Any help will be usefull, thank you. | ||||
|
Dell Axim x3i
-- There are 10 types of people in the world. Those who understand binary and those who don't. |
|||||
|
|
|
| sponsor links |
|
|
#3 (permalink) | |||||
|
Aximsite Rookie
|
Quote:
Something that i can use in the config that will point to that hardware button... ex. Code:
Move_Forward = "Left" "" Move_Backward = "Right" "" Turn_Left = "Down" "" Turn_Right = "Up" "" Strafe = "button1" "" Fire = "button0" "" | |||||
|
Dell Axim x3i
-- There are 10 types of people in the world. Those who understand binary and those who don't. |
||||||
|
|
|
|
|
#5 (permalink) | ||||
|
Aximsite Rookie
|
no no no....
this is what i mean... again... I want, when i press the calandar button in Duke Nukem, I fire the gun. In order to tell it to do that i have to have in the config something similar to: Fire = "Button0" "" It would work but there is a problem... Button0 does NOT refer to the calander or any other button. I have looked into my pocket Quake cfg file and saw AUX1 being used, i tested it but it did not work... In my duke Nukem config file i have tried Fire = "Button0" "" Fire = "Button1" "" Fire = "AUX0" "" Fire = "AUX1" "" Fire = "JOY0" "" Fire = "JOY1" "" Fire = "Joy0" "" Fire = "Joy1" "" Fire = "Calandar" "" All this does not work... Although i did try: Fire = "Up" "" and it would fire and walk forward at the same time. | ||||
|
Dell Axim x3i
-- There are 10 types of people in the world. Those who understand binary and those who don't. |
|||||
|
|
|
|
|
#7 (permalink) | ||||||||||
|
Aximsite Elite ![]() ![]()
|
The text strings in the conf file are mapped in application to internal keycodes. What needs to be done is:
1. Determine the keycodes from the Axim buttons 2. Alter the application to use those codes in place of (or as well as) the current ones. Likely can be done with a hex editor... easier to ask the app programmer to make the change.. | ||||||||||
|
|
|||||||||||
|
|
|
|
|
#8 (permalink) | |||
|
Aximsite All Star
|
Download Morphgear, go into it's remap buttons, click on a label and hit the button you want to learn the code for, write down the code and the button, lather, rinse, repeat. This is how I learned the names/codes for the buttons to enter them into GFDoom's config.
| |||
|
|
|
|
|
#9 (permalink) | ||||
|
Aximsite Rookie
|
Well, i tried that too...
here are some of the bindings i tried, none work Move_Backward = 194 "" Move_Backward = "194" "" Move_Backward = 194 "194" too bad | ||||
|
Dell Axim x3i
-- There are 10 types of people in the world. Those who understand binary and those who don't. |
|||||
|
|
|
|
|
#10 (permalink) | |||
|
Aximsite All Star
|
Might try the Hex-code then. (ie 194 would be 0xC2 )
I've given up on it for the time being, the developer made it for Smartphones initially, and seems to only have ported it over for a friend who has a PPC, and the code isn't set to handle PPC buttons yet. | |||
|
|
|
|
|
#11 (permalink) | ||||
|
Aximsite Rookie
|
Well, i have given up too. i tried the hex in a bucha combinations to no avail... besides, i ended playing the first Epidisode on my computer. I beat it in 2 hours (No cheats either) dont think i could have the same experience on my ppc, although it would still be cool to show off.
Either way, thanx for all the input. Perhaps when i learn assembly language well enough (I've been learning a thing or two about it), I'll decomplile it and figure it out. But dont hold your breath ![]() | ||||
|
Dell Axim x3i
-- There are 10 types of people in the world. Those who understand binary and those who don't. |
|||||
|
|
|
|
|
#12 (permalink) | |||
|
Aximsite All Star
|
Something I found out recently; you need to change the settings in both
[KeyDefinitions] and [KeyDefinitions_Landscape0] for the keys to take effect. I played through the first level using the thumbboard on my X5. I need to spend time editing the duke3d.cfg to setup all the keys correctly, though. Oddly, with fire mapped to enter, Enter on the thumb keyboard starts it firing, but the only way to turn it off is to hit action on the Axim itself. | |||
|
|
|
|
|
#13 (permalink) | |||||
|
Aximsite Major League
|
Mapping fire to 'Enter' is all find and good, but what if I want to exit the game? Then what? Or what if I need the ESC key? What do I do?
Someone HAS to have figured out keymapping by now. share the code...be a good sport. | |||||
|
|
|
|
|
#14 (permalink) | ||||
|
Aximsite All Star
|
Don't know if this is what you need but this is the info from the Registry.
Button 1 is Calendar and it's hardware name is 40C1. Button 2 is Contacts and it's hardware name is 40C2. Button 3 is Messaging and it's hardware name is 40C3. Button 4 is Home and it's hardware name is 40C4. Button 5 is Record and it's hardware name is 40C5. Button 6 is Wireless Power and it's hardware name is 40C6. | ||||
|
|
|
![]() |
| sponsor links |
| Thread Tools | |
|
|