aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Linux: Bounds check fixes (again)elias2006-12-261-3/+0
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@176 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Linux ~: More bounds checkselias2006-12-251-2/+12
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@175 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Linux: Fix an IndexOutOfBoundsException for unknown controller typeselias2006-12-231-1/+3
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@174 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Mac OS X: Added support for mouse scroll wheelelias2006-11-121-1/+1
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@173 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Issue number: 33endolf2006-11-081-11/+11
| | | | | | | | | Obtained from: vacaro Submitted by: vacaro Reviewed by: endolf git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@172 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Make the default state connected to the cursorendolf2006-10-311-2/+9
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@171 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* jnlp files for webstartendolf2006-10-292-0/+68
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@170 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Updates for webstart scriptsendolf2006-10-292-1/+41
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@169 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Updates to build system for wintab pluginendolf2006-10-292-2/+33
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@168 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* First commit of the wintab pluginendolf2006-10-2911-0/+875
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@167 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Linux: Changed uname -i to uname -m to improve 64 bit detection in build scriptselias2006-09-081-1/+1
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@166 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* DirectInput: Only choose DIDF_RELAXIS id the device has at least one axis, ↵elias2006-08-231-4/+8
| | | | | | and all axes are relative git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@165 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* DirectInput: Don't fail entire enumeration because of one device failureelias2006-08-231-1/+6
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@164 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* DirectInput: Fix an issue with mice devices and DIDF_ABSAXIS axis mode. Now ↵elias2006-08-222-3/+29
| | | | | | DIDF_RELAXIS is chosen if all device axes are relative. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@163 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* DirectInput: Use Controller.Type.UNKNOWN for the catch-all device typeelias2006-08-221-2/+4
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@162 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Linux: Ignore rumblers when device is read onlyelias2006-08-111-3/+7
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@161 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* DirectInput: Ignore unmapped componentselias2006-08-101-1/+3
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@160 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Check for NULL malloc resultelias2006-08-091-0/+2
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@159 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Windows: More MinGW compile fixeselias2006-07-201-1/+5
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@158 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Windows: Fix more mingw compile warningselias2006-07-172-33/+1
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@157 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Windows: More mingw fixeselias2006-07-172-6/+5
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@156 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Windows: MinGW path fixeselias2006-07-151-4/+4
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@155 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Windows: Added build.xml.mingw for building with mingw compiler. Doesn't ↵elias2006-07-154-2/+87
| | | | | | work yet since the RawInput API is not supported through mingw yet. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@154 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Made the core classes and the linux plugin applet compatible. Removed dead ↵elias2006-07-142-112/+50
| | | | | | code in DefaultControllerEnvironment git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@153 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Windows: Handle polled devices in setDataFormatelias2006-07-131-1/+2
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@152 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Linux: build fixes for 64 bitelias2006-07-111-1/+3
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@151 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Changed a System.out.println to use loggingelias2006-07-111-1/+1
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@150 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Linux: Implemented support for libjinput-linux64.so 64 bit libraryelias2006-07-112-8/+25
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@149 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Windows: Use pre-defined environment variables for the native include and ↵elias2006-07-101-10/+5
| | | | | | lib paths git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@148 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Windows Raw Plugin: Make sure DefWindowProc is called to clean up resources. ↵elias2006-07-051-18/+21
| | | | | | Use MSG.time field instead of GetMessageTime. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@147 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Windows: Fix RawMouse event bug where all mouse clicks would end up being ↵elias2006-07-041-4/+4
| | | | | | reported on the left (primary) mouse button git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@146 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* added DefaultControllerEnvironment.loadLibrary convenience method for ↵elias2006-07-035-36/+25
| | | | | | plugins. It will also respect the new net.java.games.input.librarypath property for locating natives (useful for applets). Removed the mac os x jinput-osx-legacy library loading, as it is not necessary anymore with the combined 10.3/10.4 library git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@145 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Added seal to security sensitive jarselias2006-07-031-0/+12
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@144 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Added ControllerEventTest for testing event queueingelias2006-06-234-245/+546
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@143 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Windows: Fixed warning about unsafe _vsnprintfelias2006-06-221-1/+1
| | | | git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@142 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Add an axis identifier for unknown axis types and get directx to use itendolf2006-05-252-1/+6
| | | | | | | if it doesn't recognise an axis on construction. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@141 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Merge revision 12 of oddlabs svn repo.endolf2006-05-143-20/+26
| | | | | | | | | Mac OS X: build.xml fix Windows: Fixed crash when Raw plugin fails to load Mac OS X: Tweak native libraries so only one library, libjinput-osx.jnilib contains both gcc 3 ppc code and gcc 4 i386 code. That way, we'll cover all releases and architectures with one native library instead of two git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@140 e343933a-64c8-49c5-92b1-88f2ce3e89e8
* Make version 2 the main jinput versionendolf2006-04-29149-10814/+13232
| | | | 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
* 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