source: abuse/trunk/src/sdlport/joy.h

Last change on this file was 555, checked in by Sam Hocevar, 12 years ago

ps3: make everything compile on the PS3. Of course, nothing links yet
because so much support is missing.

  • Property svn:keywords set to Id
File size: 561 bytes
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *  Copyright (c) 2005-2011 Sam Hocevar <>
5 *
6 *  This software was released into the Public Domain. As with most public
7 *  domain software, no warranty is made or implied by Crack dot Com, by
8 *  Jonathan Clark, or by Sam Hocevar.
9 */
11#ifndef __JOYSTICK_HPP_
12#define __JOYSTICK_HPP_
14int joy_init(int argc, char **argv); // returns 0 if no joystick is available
15void joy_status(int &b1, int &b2, int &b3, int &xv, int &yv);
16void joy_calibrate();
Note: See TracBrowser for help on using the repository browser.