aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/linux/src
Commit message (Collapse)AuthorAgeFilesLines
* Make version 2 the main jinput versionendolf2006-04-2944-3951/+3097
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@139 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
* 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
* 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-3011-486/+98
| | | | | | | | | | | | | | 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
* Added cleanup stuff for rumblers, it doesn't fix the code, but is niceendolf2005-07-1610-40/+83
| | | | 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-0311-9/+187
| | | | | | | | | 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
* Updated the name of the linux native libraryendolf2005-06-192-3/+3
| | | | 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
* 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
* 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
* 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-296-493/+280
| | | | | | 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
* 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
* Possible fix for sigfault on linux, need to test moreendolf2004-06-214-134/+26
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@80 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Updated the type guess code so that anything that doesn't have a ↵endolf2004-04-211-5/+10
| | | | | | 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. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@78 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Fix for issue 27endolf2004-04-211-52/+15
| | | | | | | Controller types not set up in linux git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@77 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* fixes for issues 25 and 26endolf2004-04-216-24/+32
| | | | | | | | | 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 git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@76 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Added the logger macros so I don't have to keep manually adding theendolf2003-10-295-17/+72
| | | | | | | | | | | statements back in every time something breaks Fixed a crash under linux if when it was thinking there was at least one more joystick that it really had, funnily enough when it tried to get data from this joystick, it all went bang. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@56 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Fix and updated error messages for issue 20endolf2003-10-045-8/+30
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@53 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* I had done the mouse axis as normalised to match the windowsendolf2003-10-031-3/+3
| | | | | | | | version, as I am about to commit changes to fix that version, I have sitch over the workings of this one too git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@51 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Changed controller.jar to jinput.jar as perendolf2003-08-051-1/+1
| | | | | | | http://www.JavaGaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jinput;action=display;num=1059866464 git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@28 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Changed os name on createNativeDefinitons.java as it wasendolf2003-07-311-1/+1
| | | | | | | incorrectly capitalised git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@27 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Initial commit of linux pluginendolf2003-07-311-0/+51
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@26 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Initial commit of Linux pluginendolf2003-07-3123-0/+4649
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@23 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* no messageendolf2003-07-311-3/+3
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@22 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* no messageendolf2003-07-311-0/+55
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@21 e343933a-64c8-49c5-92b1-88f2ce3e89e8