diff options
author | endolf <[email protected]> | 2005-07-03 20:05:34 +0000 |
---|---|---|
committer | endolf <[email protected]> | 2005-07-03 20:05:34 +0000 |
commit | 0148692068637a1e39beb01728c96f7f548381d1 (patch) | |
tree | 1cb0afbe916c750a265f20c6be6b01c25828e9b8 /plugins/linux/src/native/EventDevice.h | |
parent | 41dc35be2b5b581e6cf85fa6ade392a149c09904 (diff) |
Linux rumbler support
IT DOES NOT WORK YET though.
I'm in contact with the kernel module developers as I think it's a kernel bug
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@104 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'plugins/linux/src/native/EventDevice.h')
-rw-r--r-- | plugins/linux/src/native/EventDevice.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/linux/src/native/EventDevice.h b/plugins/linux/src/native/EventDevice.h index 58f9195..dd63269 100644 --- a/plugins/linux/src/native/EventDevice.h +++ b/plugins/linux/src/native/EventDevice.h @@ -56,10 +56,14 @@ class EventDevice : public Device { uint8_t key_bitmask[KEY_MAX/8 + 1]; uint8_t rel_bitmask[REL_MAX/8 + 1]; uint8_t abs_bitmask[ABS_MAX/8 + 1]; + uint8_t ff_bitmask[16]; struct input_absinfo *abs_features; int absAxisLookup[ABS_MAX]; int relAxisLookup[REL_MAX]; int buttonLookup[KEY_MAX]; + struct ff_effect effect; + struct input_event play, stop; + bool effect_playing; public: EventDevice(char *deviceFilename); @@ -80,7 +84,8 @@ class EventDevice : public Device { int getAbsAxisMaximum(int axisNumber); int getAbsAxisFuzz(int axisNumber); int isValidDevice(); - + bool getFFEnabled(); + void rumble(float force); }; #endif //eventInterface_eventDevice_h |