0.8f API fixes

Don’t use SDL 0.8e yet, the API is going to change very soon:

0.8f:
Re-adding SDL_VideoModeOK() since it will tell you if a mode can be
supported natively.

    Changing SDL_MOUSEMOTIONEVENT constant to SDL_MOUSEMOTION
    Changing SDL_QUITEVENT constant to SDL_QUIT
    Adding SDL_JOYMOTION, SDL_JOYBUTTONDOWN, SDL_JOYBUTTONUP event types
    (Joystick support not yet available)

BTW, the joystick support will initially be very simple:
Joystick ID# -> button up/down, axis motion

I don’t know anything about gamepads or other more exotic input devices.
Anybody want to contribute a general joystick API?

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

    Adding SDL_JOYMOTION, SDL_JOYBUTTONDOWN, SDL_JOYBUTTONUP event types
    (Joystick support not yet available)

BTW, the joystick support will initially be very simple:
Joystick ID# -> button up/down, axis motion

I don’t know anything about gamepads or other more exotic input devices.
Anybody want to contribute a general joystick API?

Being a lifetime gamer, I can give a brief explaination of how the Gravis
Gamepad used to work (eg. about 4 years ago), and how I’ve seen other game
pads working:

  • Should work with generic joystick drivers
  • Has an extra two buttons, which can safely be ignored (Sorry, I haven’t
    written any Joystick drivers before, but I used to swear by my gamepad)
  • Doesn’t have analog motion, just full up, down, left, right, and each
    corner (8 directions)

In general, gamepads (that plug into the joystick ports) can be treated like
a joystick. I’ve also seen those ORB 360 things, but they have a serial port
interface, and I haven’t actually owned one before, so I don’t know how hard
it will be to support them.On Tue, Sep 15, 1998 at 07:28:15AM -0700, Sam Lantinga wrote:


– Michael Samuel

Hello,

I have a SpaceORB. I heard SVGALib supports it as a control… (it was
in its config files), so you can take a look at SVGALib source if you
wanna ;> Imo, the SpaceOrb isn’t worth the work to support since, the
last time I heard, they were really going bad :< Mind you, it is a
fabulous piece of a controller.

Cya,
NoEscape

Michael Samuel wrote:>

On Tue, Sep 15, 1998 at 07:28:15AM -0700, Sam Lantinga wrote:

    Adding SDL_JOYMOTION, SDL_JOYBUTTONDOWN, SDL_JOYBUTTONUP event types
    (Joystick support not yet available)

BTW, the joystick support will initially be very simple:
Joystick ID# -> button up/down, axis motion

I don’t know anything about gamepads or other more exotic input devices.
Anybody want to contribute a general joystick API?

Being a lifetime gamer, I can give a brief explaination of how the Gravis
Gamepad used to work (eg. about 4 years ago), and how I’ve seen other game
pads working:

  • Should work with generic joystick drivers
  • Has an extra two buttons, which can safely be ignored (Sorry, I haven’t
    written any Joystick drivers before, but I used to swear by my gamepad)
  • Doesn’t have analog motion, just full up, down, left, right, and each
    corner (8 directions)

In general, gamepads (that plug into the joystick ports) can be treated like
a joystick. I’ve also seen those ORB 360 things, but they have a serial port
interface, and I haven’t actually owned one before, so I don’t know how hard
it will be to support them.


– Michael Samuel


__ ////_ //\ Steven Wong NoEscape
\ \ / ___/ OO\ email: noescape at letterbox.com
\ _
/ /\ \ uin: 15266574
_\ ___\ _/ \OO/ irc: AustNET irc.iinet.net.au #linux
/\ /\

My room mate has one, and I’ve been thinking about buying one myself.
Of course when I was interested, I looked for Linux drivers for it. I
poked around and found someone who had reportedly decoded the messages
it sends through the serial port and had written a Linux driver for it
(Which is also reported to be included with the latest SVGAlib). If
anyone’s interested, I think I have a little .tar.gz around that I can
send.On 16 Sep, Michael Samuel wrote:

In general, gamepads (that plug into the joystick ports) can be treated like
a joystick. I’ve also seen those ORB 360 things, but they have a serial port
interface, and I haven’t actually owned one before, so I don’t know how hard
it will be to support them.


| |/ | | | _ | | | mailto:@Knight_Walker |
| / | / / | | http://www.aros.net/~kwalker |
| \ | ___ | | |
| |\ | | / \ | | The Kobran Imperium (801)265-1299 |
|| || || || _____________________________________/