Jostick support?

Hi there…
Is joystick support in any way shape or form planned for the SDL? It’d
be great if it was (hint hint).

Meanwhile, you can get a copy of Descent compiling under the SDL from:
http://megaera.library.unt.edu/~sekmu/d1x/source.html

Lotsa bugs though, but you can play a game of descent in a 320x200 X
window. Doesn’t work under win32 yet, but I really don’t know why;
working on this one.

:slight_smile:
Peter

Hi there…
Is joystick support in any way shape or form planned for the SDL? It’d
be great if it was (hint hint).

It’s planned, just not there yet.
Does anyone want to start? Ideally you’d start with DirectInput and
create a new class of SDL event. :slight_smile:

Meanwhile, you can get a copy of Descent compiling under the SDL from:
http://megaera.library.unt.edu/~sekmu/d1x/source.html

Cool! I’ll take a look as soon as I get back from vacation.
Do you need commercial files to play, or can you use shareware files
off of the 'net somehwere?

Lotsa bugs though, but you can play a game of descent in a 320x200 X
window. Doesn’t work under win32 yet, but I really don’t know why;
working on this one.

Check for problems with pitch overruns.
Lots of code assumes that surface->pitch == surface->w … not true on Win32.
Code that uses:
screen[ywidth+x] = pixel
should be:
screen[y
pitch+w] = pixel

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

Hi there…

Sam Lantinga wrote:

Hi there…
Is joystick support in any way shape or form planned for the SDL? It’d
be great if it was (hint hint).

It’s planned, just not there yet.
Does anyone want to start? Ideally you’d start with DirectInput and
create a new class of SDL event. :slight_smile:

Meanwhile, you can get a copy of Descent compiling under the SDL from:
http://megaera.library.unt.edu/~sekmu/d1x/source.html

Cool! I’ll take a look as soon as I get back from vacation.
Do you need commercial files to play, or can you use shareware files
off of the 'net somehwere?

Apparently you can use shareware data files but I haven’t tried it. I can get
this working for ya if you want. (evidently you do, so I will)>

Lotsa bugs though, but you can play a game of descent in a 320x200 X
window. Doesn’t work under win32 yet, but I really don’t know why;
working on this one.

Check for problems with pitch overruns.
Lots of code assumes that surface->pitch == surface->w … not true on Win32.
Code that uses:
screen[ywidth+x] = pixel
should be:
screen[y
pitch+w] = pixel

See ya!
-Sam Lantinga (slouken at devolution.com)


Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/