Changeset 5669 for code/branches/resource2/src/ois
- Timestamp:
- Aug 23, 2009, 12:45:46 AM (15 years ago)
- Location:
- code/branches/resource2/src/ois
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource2/src/ois/changes_orxonox.diff
r2710 r5669 1 --- linux/EventHelpers.cpp (revision 5668) 2 +++ linux/EventHelpers.cpp (working copy) 3 @@ -35,6 +35,20 @@ 4 # include <iostream> 5 #endif 6 7 +// Fixes for missing macros in input.h 8 +#ifndef FF_EFFECT_MIN 9 +#define FF_EFFECT_MIN FF_RUMBLE 10 +#endif 11 +#ifndef FF_EFFECT_MAX 12 +#define FF_EFFECT_MAX FF_RAMP 13 +#endif 14 +#ifndef FF_WAVEFORM_MIN 15 +#define FF_WAVEFORM_MIN FF_SQUARE 16 +#endif 17 +#ifndef FF_WAVEFORM_MAX 18 +#define FF_WAVEFORM_MAX FF_CUSTOM 19 +#endif 20 + 21 using namespace std; 22 using namespace OIS; 23 24 -
code/branches/resource2/src/ois/linux/EventHelpers.cpp
r5668 r5669 34 34 #ifdef OIS_LINUX_JOY_DEBUG 35 35 # include <iostream> 36 #endif 37 38 // Fixes for missing macros in input.h 39 #ifndef FF_EFFECT_MIN 40 #define FF_EFFECT_MIN FF_RUMBLE 41 #endif 42 #ifndef FF_EFFECT_MAX 43 #define FF_EFFECT_MAX FF_RAMP 44 #endif 45 #ifndef FF_WAVEFORM_MIN 46 #define FF_WAVEFORM_MIN FF_SQUARE 47 #endif 48 #ifndef FF_WAVEFORM_MAX 49 #define FF_WAVEFORM_MAX FF_CUSTOM 36 50 #endif 37 51
Note: See TracChangeset
for help on using the changeset viewer.