FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <windows.h>
#include <windowsx.h>
#include "globalincs/pstypes.h"
#include "io/joy.h"
#include "math/fix.h"
#include "io/key.h"
#include "io/timer.h"
#include "osapi/osregistry.h"
#include "io/joy_ff.h"
#include "directx/vdinput.h"
#include "osapi/osapi.h"
#include "debugconsole/console.h"
Go to the source code of this file.
Classes | |
struct | joy_button_info |
Macros | |
#define | PRECALIBRATED 1 |
Typedefs | |
typedef struct joy_button_info | joy_button_info |
Functions | |
int | joy_di_init () |
int | joy_di_shutdown () |
int | joystick_read_raw_axis_di (int num_axes, int *axis) |
void | joy_flush () |
DWORD | joy_process (DWORD lparam) |
void | joy_close () |
void | joy_get_caps (int max) |
int | joy_get_scaled_reading (int raw, int axn) |
int | joy_get_unscaled_reading (int raw, int axn) |
DCF (joytest,"Test joystick") | |
BOOL CALLBACK | joy_di_enum (LPCDIDEVICEINSTANCE lpddi, LPVOID pvRef) |
Variables | |
int | joy_num_sticks = 0 |
int | Dead_zone_size = 10 |
int | Cur_joystick = -1 |
int | Joy_sensitivity = 9 |
CRITICAL_SECTION | joy_lock |
HANDLE | joy_thread = NULL |
DWORD | joy_thread_id |
int | joy_pollrate = 1000 / 18 |
HANDLE | Joy_tell_thread_to_end_event = NULL |
HANDLE | Joy_thread_says_its_done_event = NULL |
int | Joy_di_inited = 0 |
Joy_info | joystick |
joy_button_info | joy_buttons [JOY_TOTAL_BUTTONS] |
int | Di_joy_guid_valid = 0 |
typedef struct joy_button_info joy_button_info |
BOOL CALLBACK joy_di_enum | ( | LPCDIDEVICEINSTANCE | lpddi, |
LPVOID | pvRef | ||
) |
Definition at line 204 of file joy-unix.cpp.
Definition at line 171 of file joy-unix.cpp.
joy_button_info joy_buttons[JOY_TOTAL_BUTTONS] |
CRITICAL_SECTION joy_lock |