Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
force_feedback.h File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <sys/ioctl.h>
#include <stdio.h>

Go to the source code of this file.

Classes

class  ForceFeedback
 

Macros

#define ALL_EFFECTS   1
 
#define N_EFFECTS   15
 

Enumerations

enum  vseffects {
  eff_speed_damper =0, eff_ab_wiggle_x, eff_ab_wiggle_y, eff_ab_jerk,
  eff_ab_off_x, eff_ab_off_y, eff_laser_jerk, eff_laser_vibrate,
  eff_beam_on, eff_beam_off, eff_missile_jerk, eff_missile_vibrate,
  eff_hit_jerk, eff_hit_vibrate, eff_force
}
 

Macro Definition Documentation

#define ALL_EFFECTS   1

Definition at line 55 of file force_feedback.h.

#define N_EFFECTS   15

Definition at line 72 of file force_feedback.h.

Referenced by ForceFeedback::~ForceFeedback().

Enumeration Type Documentation

enum vseffects
Enumerator
eff_speed_damper 
eff_ab_wiggle_x 
eff_ab_wiggle_y 
eff_ab_jerk 
eff_ab_off_x 
eff_ab_off_y 
eff_laser_jerk 
eff_laser_vibrate 
eff_beam_on 
eff_beam_off 
eff_missile_jerk 
eff_missile_vibrate 
eff_hit_jerk 
eff_hit_vibrate 
eff_force 

Definition at line 57 of file force_feedback.h.

58 {
59  eff_speed_damper=0, //the higher the speed, the more damped
60  eff_ab_wiggle_x, eff_ab_wiggle_y, eff_ab_jerk, //afterburner on
61  eff_ab_off_x, eff_ab_off_y, //afterburner off
62  eff_laser_jerk, eff_laser_vibrate, //laser fired
63 #if ALL_EFFECTS
64  eff_beam_on, eff_beam_off, //beam
66  eff_hit_jerk, eff_hit_vibrate, //shield hits
67 #endif
68  eff_force //additional force
69 };