Tscope5
Functions | Variables
joystick_internal.c File Reference

Definitions of internal joystick functions. More...

Go to the source code of this file.

Functions

void ts5_check_joystick (char *calling_function)
 Do some checks at the start of each joystick function. More...
 
void ts5_install_joystick (char *calling_function)
 Install the joystick subsystem. More...
 
void ts5_uninstall_joystick ()
 Uninstall the joystick subsystem. More...
 

Variables

int _ts5_is_joystick_installed = 0
 Is the joystick subsystem installed? More...
 

Detailed Description

Definitions of internal joystick functions.

Definition in file joystick_internal.c.

Function Documentation

void ts5_check_joystick ( char *  calling_function)

Do some checks at the start of each joystick function.

Parameters
calling_functionName the function that calls for this check or installation.

Checks whether the joystick subsystem is installed. If not, the joystick subsystem is installed.

Definition at line 30 of file joystick_internal.c.

void ts5_install_joystick ( char *  calling_function)

Install the joystick subsystem.

Parameters
calling_functionName the function that calls for this check or installation.

This function is called automatically if necessary.

Definition at line 47 of file joystick_internal.c.

void ts5_uninstall_joystick ( )

Uninstall the joystick subsystem.

This function is called automatically at the end of the program.

Definition at line 118 of file joystick_internal.c.

Variable Documentation

int _ts5_is_joystick_installed = 0

Is the joystick subsystem installed?

Definition at line 19 of file joystick_internal.c.