Commit graph

117 commits

Author SHA1 Message Date
endolf 67bcd5f43e Trying to handle more than 2 force feedback axis. Untested. 2005-09-01 20:34:01 +00:00
endolf 2ae95adfcc Added debug for an array out of bounds error that is being seen 2005-09-01 20:02:57 +00:00
endolf 95cf7ab8e7 It helps if you add the files the new changes depend on.
Ooops

(force feedback changes I committed yesterday that is)
2005-08-31 06:43:02 +00:00
endolf b6f7e35321 It appears as though linux can't cope with scaling the effect, it's on
or off. So i'm having to play with the strong/weak rumble settings.
2005-08-30 19:54:25 +00:00
endolf daba6d24cc Unless cleanup is called from the same thread as init, the cleanup
doesn't happen properly and events are left of the ff device meaning we
run out of device space. Added a thread that init and cleanup are called
from via methods on the interface.

Then it became apparent that rumble would only work from the same thread
as the others too, so thats added in there.

Nastyness all round.
2005-08-30 19:37:53 +00:00
endolf ab247c91ad Updated build file to build 1.4 byte code 2005-08-28 21:23:54 +00:00
endolf ae942dd3cc Updated build scripts to build java 1.4 byte code 2005-08-28 20:52:26 +00:00
endolf c15d74238d More rumbler debug 2005-08-28 09:23:00 +00:00
endolf def8e4976b Extra debug for rumblers 2005-08-27 09:22:16 +00:00
endolf be7b59d328 Re added the fade test 2005-08-27 09:21:48 +00:00
endolf f48ee8f6f4 Start of some work to print more debug if force feedback effect creation fails 2005-08-27 08:22:19 +00:00
endolf cebedc9479 Added shutdown hooks to stop rumblers before quitting. 2005-08-27 08:21:42 +00:00
jeffpk 98ab1d6fe4 Added handlign for unknown windows versions 2005-08-23 20:59:32 +00:00
endolf 04e3538e83 Added cleanup stuff for rumblers, it doesn't fix the code, but is nice 2005-07-16 15:09:04 +00:00
endolf d4c72ba15c Couple if inux rumbler differences, including including the added file 2005-07-16 13:07:45 +00:00
endolf df432c29ae 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
2005-07-03 20:05:34 +00:00
endolf 38d108b857 Changed the binary library name 2005-06-19 17:41:40 +00:00
endolf d222fad271 Updated the name of the linux native library 2005-06-19 15:33:12 +00:00
endolf c2bbf1d876 Extra debug info 2005-06-19 15:32:44 +00:00
endolf decd93d226 If the default plugin is not in the classpath, an exception gets thrown.
This should only happen if it's also not in the plugins directory.
2005-06-16 16:32:59 +00:00
endolf 9f9ac8834c Opps 2005-06-16 13:43:04 +00:00
endolf 8fb52e9ea4 Added the simple_dist task and subtasks to build the single
distributable zip/tgz for each platform that includes the core classes,
the default plugins classes, the jutils classes, and the binary library
for that platform.
2005-06-16 13:38:16 +00:00
endolf 4a07a72323 Unless otherwise specified (using the property), the plugin loader will
now automatically try and load the plugin specific to that platform. The
plugins path will be scanned first, and if found, the plugin will not be
reloaded.
2005-06-15 12:26:14 +00:00
endolf e6c082f399 The changes of Axis.Identifier to Component.Identifier was obviously not checked under windows. My fault. Fixed (I hope) 2005-06-15 09:20:16 +00:00
endolf 9dd954a4f4 Guess who found the device that pops the buffer size?, was getting an array out of bounds. 2005-06-15 09:09:09 +00:00
endolf b5bea30cc2 For some reason, my ubunto boxes with jdk 1.5.0_02 all seem to have
java.home set to the jre dir, even though a 'which java' reveals it's
using the jdk one, not the jre one. This causes the include dir not to
be found and causes the build to fail. Made it so that the build file
looks for includes relative to the jre dir and the jdk dir, so all
systems should work (yeah, right)
2005-06-14 11:19:55 +00:00
cjcdoomed 0d155c818c Issue number: Implemented OSXJoystick functionality
Submitted by:  Chris Cooper cjcdoomed@gmail.com
2005-05-20 14:25:24 +00:00
endolf ab7bba58d6 Will try to open the device for read/write first, if that fails, trys
read only and displays a message about not being enabled for force
feedback
2005-05-08 09:58:31 +00:00
cjcdoomed eac5380da4 Issue: OS X Nightly build not compiling
Obtained from:
Submitted by:  Chris Cooper
Reviewed by:
2005-05-06 05:00:46 +00:00
endolf fc587842d0 Handle missing absolute axis ID's 2005-05-05 08:07:51 +00:00
endolf e48688ce73 Regenerated from 2.6.10 headers 2005-05-04 18:16:23 +00:00
endolf fa0b606105 Event devices now opened read only 2005-05-04 18:15:08 +00:00
jeffpk 4be7c6e38b Updated EventDevice.cpp to handle EV_SYN properly 2005-05-01 23:25:38 +00:00
jeffpk 3a67a298a8 Updated linux plugin to build under Linux 2.6.5-7.151
Note, these are hacky fixes that may break it under earlier versions of Linux. Sorry.
2005-04-28 05:19:22 +00:00
endolf fa132b2126 Changes for Axis.Identifier changes. This includes renaming Axis to Component, and creating the Identifier objects for Key Axis and Button. 2004-08-29 21:23:06 +00:00
endolf e312d8dd34 Initial checkin 2004-08-29 20:17:39 +00:00
endolf 9741fccdfa Updates so that for now keyboards are just created as normal devices, this means the Axis.Identifiers are not the standard ones, but the correct things are now show and no excpetions are seen on the Logitech Elite keyboard (or any that has axis as well) 2004-07-07 23:16:03 +00:00
endolf 5fb795d2fd If a joystick hat isn't configured properly, or if it's digital, then the axis data is not -32676, 0 or 32767 it is -1, 0 or 1. Updated the hat object to reflect this. 2004-07-07 23:09:41 +00:00
endolf bbb5c4e0af Issue number: 18 2004-06-21 21:48:44 +00:00
endolf cd663ae444 Possible fix for sigfault on linux, need to test more 2004-06-21 21:44:16 +00:00
endolf 307a1d5ff3 Updated the type guess code so that anything that doesn't have a characteristic of a particular type, wont get guessed as that type, it was possible for devices with no characteristics of any of the known types to be classed as a stick, now it should not. 2004-04-21 16:19:42 +00:00
endolf b0458c08d1 Fix for issue 27
Controller types not set up in linux
2004-04-21 11:00:05 +00:00
endolf 2dc9aae5e2 fixes for issues 25 and 26
Sigsgv with logitec USB keyboard with volume controls and mouse wheel

when valid event device list in /dev/input/event* has invalid devices in the middle of the sequence, a sigsegv is seen
2004-04-21 09:48:55 +00:00
endolf 54ecf9687a Added jinput.controllerPluginPath property to package documentation 2004-04-02 10:09:03 +00:00
endolf 004375ec03 First quick attempt at package javadoc to show the properties for plugin loading 2004-04-02 10:04:45 +00:00
gregorypierce ad0fd45046 Changes for the nightly build 2004-02-28 05:45:22 +00:00
gregorypierce 5c17a27a53 Updated to include OSX information
Issue number:
Obtained from:
Submitted by:  Gregory Pierce
Reviewed by:
2004-02-28 02:52:08 +00:00
gregorypierce 06c28ad3da Updated so that if a key gets enumerated multiple times, only the first enumeration will be accepted. This was done to stop an issue with certain keys in OSX being enumerated more than once - the first being the correct HID code (assumption) and the second being something wrong. It is not clear why those keys were being enumerated more than once to begin with. But this solves the problem. 2004-02-28 01:26:36 +00:00
gregorypierce 6eb181e4be Updated for correct build environment 2004-02-28 01:24:09 +00:00
gregorypierce 32c2c63818 Updated for better debugging output. 2004-02-28 01:23:22 +00:00