PDA

View Full Version : [HELP!]JAVA games with ACCELEROMETER! WOOT!


valkryomnia
23rd August 2009, 06:20 AM
OKAY! I have been editing Gpad's config.xml so that Sonic Unleashed can be supported. I tested it out, and somehow, its working! What I did was apply gpad to JBLEND_VM.exe, NOT the game! And its working! However, I have the problem where this game must be in landscape mode.
Since the gpad is for landscape, the accelerometer support for the game is reversed. IN LANDSCAPE up makes me move right, down left / jump, and so on.

It all seems to be reversed! Can anyone edit this attacked code so the controls
are reversed again, therefore fixing it?
Heres what the file gives me

<Application>
<ExeName>Sonicunleashed.jar</ExeName>
<CenterY>0</CenterY>
<DeadZoneY>10</DeadZoneY>
<MaxY>40</MaxY>
<KeyMethod>KeybdEvent</KeyMethod>
<MaxKeyTick>1</MaxKeyTick>
<MinKeyTick>10</MinKeyTick>
</Application>

Or, the whole file is below.
To open it, rename it to Config.XML, and right click it. Open With > Notepad, or Wordpad.