OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: craigtyson on August 08, 2007, 07:35:15 am

Title: Lib Sdl Rotation Issue On C1000 C3x00
Post by: craigtyson on August 08, 2007, 07:35:15 am
If you are getting the cursor keys rotated in the game you are playing in screen magnifiex mode (320x240) edit the script that is run by the icon

eg: /home/QTPalmtop/bin/heretic-demo

and add these lines near the top of the script (not the first line)

export SDL_KEY_ROTATION=0
export SDL_QT_INVERT_ROTATION=0

if this doesnt fix things try using 1 instead

let me know how you get on

Cheers
Title: Lib Sdl Rotation Issue On C1000 C3x00
Post by: Heather on August 13, 2007, 07:53:17 am
Thanks for that. I made an XML file that inverted all the arrow keys with keyhelper so that when I play SNES without a joystick the down arrow moves my little guy down instead of up. The weird thing was changing the direction keys around using the export of the SNES9X keys method would work for some of the directions but not all of them (I think a direct swap of the export numbers makes it so that you can only walk left and down, never right and up).

I haven't had a chance to try your fix yet since I'm at work and can't really have Chrono bopping around on my screen, but I figured it had to be several things are fighting to interpret my direction keys at once and I imagine your script is the key to the fix.