#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <assert.h>
#include <linux/types.h>
#include <linux/joystick.h>
#include "sjoy.h"
Go to the source code of this file.
Defines | |
#define | N_JOY 2 |
Functions | |
int | sjoy_open (void) |
int | sjoy_close (void) |
void | sjoy_poll (void) |
int | sjoy_get_button (int joy) |
int | sjoy_get_axis (int joy, int axis) |
int | sjoy_get_ps2_button (int joy) |
|
|
|
Definition at line 52 of file sjoy.c. Referenced by SJOY_PS2_L_RIGHT(), and sjoy_open().
|
|
|
|
|
|
|
|
Definition at line 29 of file sjoy.c. Referenced by SJOY_PS2_L_RIGHT(), and glutInit().
|
|
Definition at line 68 of file sjoy.c. Referenced by SJOY_PS2_L_RIGHT().
|