]> icculus.org git repositories - taylor/freespace2.git/blob - include/joy_ff.h
Initial revision
[taylor/freespace2.git] / include / joy_ff.h
1 /*
2  * $Logfile: /Freespace2/code/Io/Joy_ff.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Code for joystick Force Feedback.
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 2     10/07/98 10:53a Dave
15  * Initial checkin.
16  * 
17  * 1     10/07/98 10:49a Dave
18  * 
19  * 4     5/08/98 5:31p Hoffoss
20  * Isolated the joystick force feedback code more from dependence on other
21  * libraries.
22  * 
23  * 3     5/07/98 12:24a Hoffoss
24  * Finished up sidewinder force feedback support.
25  * 
26  * 2     5/04/98 11:08p Hoffoss
27  * Expanded on Force Feedback code, and moved it all into Joy_ff.cpp.
28  * Updated references everywhere to it.
29  * 
30  * $NoKeywords: $
31  */
32
33 #ifndef __JOY_FF_H__
34 #define __JOY_FF_H__
35
36 int joy_ff_init();
37 void joy_ff_shutdown();
38 void joy_ff_stop_effects();
39 void joy_ff_mission_init(vector v);
40 void joy_reacquire_ff();
41 void joy_unacquire_ff();
42 void joy_ff_play_vector_effect(vector *v, float scaler);
43 void joy_ff_play_dir_effect(float x, float y);
44 void joy_ff_play_primary_shoot(int gain);
45 void joy_ff_play_secondary_shoot(int gain);
46 void joy_ff_adjust_handling(int speed);
47 void joy_ff_docked();
48 void joy_ff_play_reload_effect();
49 void joy_ff_afterburn_on();
50 void joy_ff_afterburn_off();
51 void joy_ff_explode();
52 void joy_ff_fly_by(int mag);
53 void joy_ff_deathroll();
54
55 #endif
56