aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create branchversion1-maintenanceFirst Last2006-01-120-0/+0
| | | | | | 'version1-maintenance'. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/branches/version1-maintenance@136 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* This commit was manufactured by cvs2svn to create branch 'version2'.First Last2006-01-120-0/+0
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/branches/version2@135 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Trying to sort out some of the crashes and failed exitsendolf2006-01-123-13/+10
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@134 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Fixed a sigsegv, once we've found a match for an event device andendolf2005-12-041-0/+1
| | | | | | | | joystick, don't look at that stick again, especially having nulled the pointer. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@133 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* First bodge at pursuading windows to use some of the same button ID's as ↵endolf2005-12-041-0/+15
| | | | | | linux. I dunno which is right, I suspect that both are as there is no standard that both admit to. So for now, lets do that good old nasty hack of string searching. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@132 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Updated button ID's. Trouble is, windows and linux id the buttons differently.endolf2005-12-022-7/+354
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@131 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Don't poll if we are shutting downendolf2005-11-113-2/+18
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@130 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Let me just say ....endolf2005-11-111-0/+1
| | | | | | | | | Ooops was forgetting to increment a counter git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@129 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Handle cases where there are no event devices, only js ones.endolf2005-11-071-1/+8
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@128 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Fixes for js devices that are read onlyendolf2005-11-032-1/+3
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@127 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* 3 Changesendolf2005-10-301-2/+19
| | | | | | | | | | | | When there are no device files found, jinput won't try to read the 0th one. When no js* devices are found in /dev/input it will look in /dev Try to free some of the memory created in the init process git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@126 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Fixed my debugendolf2005-09-011-2/+2
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@125 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Trying to handle more than 2 force feedback axis. Untested.endolf2005-09-011-1/+7
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@124 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Added debug for an array out of bounds error that is being seenendolf2005-09-011-1/+6
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@123 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* It helps if you add the files the new changes depend on.endolf2005-08-312-0/+381
| | | | | | | | | Ooops (force feedback changes I committed yesterday that is) git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@122 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* It appears as though linux can't cope with scaling the effect, it's onendolf2005-08-301-1/+19
| | | | | | | or off. So i'm having to play with the strong/weak rumble settings. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@121 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Unless cleanup is called from the same thread as init, the cleanupendolf2005-08-3012-492/+102
| | | | | | | | | | | | | | 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. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@120 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Updated build file to build 1.4 byte codeendolf2005-08-281-1/+1
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@118 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Updated build scripts to build java 1.4 byte codeendolf2005-08-283-3/+3
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@115 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* More rumbler debugendolf2005-08-281-3/+17
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@114 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Extra debug for rumblersendolf2005-08-272-5/+21
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@112 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Re added the fade testendolf2005-08-271-2/+2
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@111 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Start of some work to print more debug if force feedback effect creation failsendolf2005-08-271-0/+20
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@110 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Added shutdown hooks to stop rumblers before quitting.endolf2005-08-271-0/+20
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@109 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Added handlign for unknown windows versionsjeffpk2005-08-231-0/+5
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@108 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Added cleanup stuff for rumblers, it doesn't fix the code, but is niceendolf2005-07-1611-42/+85
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@106 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Couple if inux rumbler differences, including including the added fileendolf2005-07-162-9/+45
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@105 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Linux rumbler supportendolf2005-07-0312-10/+188
| | | | | | | | | 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
* Changed the binary library nameendolf2005-06-192-5/+5
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@103 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Updated the name of the linux native libraryendolf2005-06-194-6/+7
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@102 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Extra debug infoendolf2005-06-191-1/+1
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@101 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* If the default plugin is not in the classpath, an exception gets thrown.endolf2005-06-161-6/+6
| | | | | | | This should only happen if it's also not in the plugins directory. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@100 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Oppsendolf2005-06-161-1/+1
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@99 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Added the simple_dist task and subtasks to build the singleendolf2005-06-161-0/+69
| | | | | | | | | 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. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@98 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Unless otherwise specified (using the property), the plugin loader willendolf2005-06-151-5/+24
| | | | | | | | | 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. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@97 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* The changes of Axis.Identifier to Component.Identifier was obviously not ↵endolf2005-06-151-9/+9
| | | | | | checked under windows. My fault. Fixed (I hope) git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@96 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Guess who found the device that pops the buffer size?, was getting an array ↵endolf2005-06-151-1/+1
| | | | | | out of bounds. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@95 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* For some reason, my ubunto boxes with jdk 1.5.0_02 all seem to haveendolf2005-06-141-1/+1
| | | | | | | | | | | 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) git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@94 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Issue number: Implemented OSXJoystick functionalitycjcdoomed2005-05-201-10/+207
| | | | | | | Submitted by: Chris Cooper [email protected] git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@93 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Will try to open the device for read/write first, if that fails, trysendolf2005-05-081-6/+14
| | | | | | | | read only and displays a message about not being enabled for force feedback git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@92 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Issue: OS X Nightly build not compilingcjcdoomed2005-05-062-10/+10
| | | | | | | | | Obtained from: Submitted by: Chris Cooper Reviewed by: git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@91 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Handle missing absolute axis ID'sendolf2005-05-051-1/+7
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@90 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Regenerated from 2.6.10 headersendolf2005-05-041-3/+99
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@89 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Event devices now opened read onlyendolf2005-05-041-4/+5
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@88 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Updated EventDevice.cpp to handle EV_SYN properlyjeffpk2005-05-011-0/+3
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@87 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Updated linux plugin to build under Linux 2.6.5-7.151jeffpk2005-04-282-9/+9
| | | | | | | Note, these are hacky fixes that may break it under earlier versions of Linux. Sorry. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@86 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Changes for Axis.Identifier changes. This includes renaming Axis to ↵endolf2004-08-2930-1347/+1295
| | | | | | Component, and creating the Identifier objects for Key Axis and Button. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@85 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Initial checkinendolf2004-08-296-0/+735
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@84 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Updates so that for now keyboards are just created as normal devices, this ↵endolf2004-07-072-16/+130
| | | | | | 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) git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@83 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* If a joystick hat isn't configured properly, or if it's digital, then the ↵endolf2004-07-071-18/+22
| | | | | | axis data is not -32676, 0 or 32767 it is -1, 0 or 1. Updated the hat object to reflect this. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@82 e343933a-64c8-49c5-92b1-88f2ce3e89e8