Quote Originally Posted by savage
Quote Originally Posted by paul_nicholls
SDLK_GP2X_UP = 0;
SDLK_GP2X_UPLEFT = 1;
SDLK_GP2X_LEFT = 2;
SDLK_GP2X_DOWNLEFT = 3;
SDLK_GP2X_DOWN = 4;
SDLK_GP2X_DOWNRIGHT = 5;
SDLK_GP2X_RIGHT = 6;
SDLK_GP2X_UPRIGHT = 7;
SDLK_GP2X_START = 8;
SDLK_GP2X_SELECT = 9;
SDLK_GP2X_L = 10;
SDLK_GP2X_R = 11;
SDLK_GP2X_A = 12;
SDLK_GP2X_B = 13;
SDLK_GP2X_Y = 14;
SDLK_GP2X_X = 15;
SDLK_GP2X_VOLUP = 16;
SDLK_GP2X_VOLDOWN = 17;
SDLK_GP2X_CLICK = 18;
These have now been checked into CVS and can be downloaded from
http://jedi-sdl.cvs.sourceforge.net/...?revision=1.28
Excellent! Thanks Savage :-)
Just one small thing, after downloading the file I tried compiling it under Delphi 5 and Delphi complains that the very first line is more than 1024 characters!

It works fine under Lazarus...

I can't seem to work it out.
cheers,
Paul.