Endolf
252ca8876f
Use javac with the -h arg instead of javah that's now deprecated.
2018-05-09 20:16:04 +01:00
Endolf
2b7d10e435
Add profiles for OS builds
2018-05-09 18:56:25 +01:00
Endolf
289a6db298
First commit for windows
2018-05-09 18:55:55 +01:00
Endolf
4517180482
Linux native jar file building.
2018-05-02 11:54:06 +01:00
Endolf
b2fd759065
Linux building under maven
2018-04-30 21:31:56 +01:00
Razielwar
e7ed731ceb
manage button 32
...
manage button 32 (identifier 31) and remove discrepancy between windows identifier and jinput identifier (+1 from identifier 21)
2016-10-16 22:11:37 +02:00
Jerry James
bbf4c985f0
Remove references to nonexistent EVIOCGUSAGE
2016-05-19 11:37:39 -06:00
Endolf
3c24e13a83
More ignores
2014-07-14 13:36:25 +01:00
Endolf
335552cf71
Make jutils usable from snapshot jars.
2014-07-14 13:35:42 +01:00
Endolf
2837517753
Git ignores
2014-07-14 13:31:09 +01:00
endolf
a5c79be8d0
Fix return code for unknown controller buttons on linux controllers. Patch supplied by tctimmeh on JGO.
...
http://www.java-gaming.org/topics/updating-linux-stick-button-mappings/28838/view.html
2013-03-09 12:30:57 +00:00
endolf
29d8717a75
Add new buttons for linux and the missing start button. Patch supplied by tctimmeh on JGO.
...
http://www.java-gaming.org/topics/updating-linux-stick-button-mappings/28838/view.html
2013-03-09 12:27:43 +00:00
endolf
229d2c9dda
Another update for newer kernels
2013-02-25 19:10:27 +00:00
endolf
9452bb5f80
Updated for version 3 kernels
2013-02-25 19:02:49 +00:00
endolf
73fe22bc94
Make sure the files are returned in alpha order, so the order is consitent between runs.
2011-02-20 14:11:41 +00:00
endolf
0ad4010e80
Directx SDK has changed the location of the x86 libs.
...
Clean out the exp and libs that are created during a build when clean target is run.
2010-03-20 10:51:45 +00:00
endolf
530a7eaf94
Fix incorrect log method call
2009-10-31 11:13:06 +00:00
endolf
967fde8a93
Use java logging instead of system out in core and plugins.
2009-10-31 11:06:12 +00:00
endolf
d4a1fd4ae6
Apply patch from bjunglas for issue 42 to allow 3D Connexions space navigator to be detected on osx
2009-07-15 16:19:15 +00:00
endolf
bfce766c46
Make the plugins use the right dll name (oops)
2009-04-01 16:47:21 +00:00
endolf
2644b47f44
Only build wintab stuff on windows 32 bit, which is the only environment wintab supports.
2009-03-31 21:29:28 +00:00
endolf
d60c807a24
The environment under windows decides if it's a 64 bit build or not. On 64 bit windows assume a 64 bit one.
2009-03-31 20:16:53 +00:00
endolf
c95cf4bddd
Check the arch type before loading the native library
2009-03-28 16:36:03 +00:00
endolf
b789b8cd52
Check the arch type before loading the .so
2009-03-28 16:25:28 +00:00
endolf
571769019e
Check the arch type before loading the .so
2009-03-28 16:22:05 +00:00
endolf
c5ff2100e2
Build for all 3 architectures
2009-03-26 12:36:38 +00:00
endolf
2ed5250bf4
All environment paths passed in.
2009-03-18 01:23:13 +00:00
endolf
3694ba5514
Rather than crashing, just disable the plugin if we an't load the dll
2007-09-23 02:09:55 +00:00
endolf
0015c724b3
Rather than crashing, just disable the plugin if we an't load the dll
2007-09-23 02:01:26 +00:00
endolf
69a2984615
Rather than crashing, just disable the plugin if we an't load the dll
2007-09-22 19:35:06 +00:00
endolf
13e1269023
Fix a potential Array index out of bounds exception.
2007-08-12 22:38:49 +00:00
endolf
a2f62499b9
Make joysticks fire events
2007-08-12 22:10:37 +00:00
endolf
c6a4aeaf1e
Complete - task 36: Linux plugin not reporting normalised values
...
https://jinput.dev.java.net/issues/show_bug.cgi?id=36
2007-08-12 21:59:25 +00:00
endolf
ea90a2d3b4
Make the joystick plugin on linux respect POV Hats
2007-08-12 20:09:14 +00:00
endolf
ae8b23e4ba
Remove stray debug
2007-08-12 16:02:23 +00:00
endolf
8699a0c8b1
Issue number: 35
...
Read the axis and button maps from the joystick nodes.
2007-08-12 15:47:51 +00:00
endolf
940c48b558
Bit of a tidy up
2007-08-02 20:30:42 +00:00
endolf
aa96d5c1be
Tidy up
2007-08-02 20:13:51 +00:00
endolf
0018c62842
Created a plugin that combines the multiple keyboard/mouse support of the raw plugin, with the game controller support of direct input.
2007-08-02 20:10:35 +00:00
endolf
92c7186445
Revert last change, might be a rumbling only device, or a device with only subdevices.
2007-06-28 20:41:47 +00:00
endolf
db12311aa5
Don't create devices that are of an unknown type, with no components
2007-06-28 20:38:53 +00:00
endolf
fd2a1b073d
Make the API docs and the code match for the Mouse.get<button> methods. Add the methods that we actually wanted to be there.
2007-06-28 20:37:24 +00:00
endolf
10214031df
Raw input has mouse buttons 4 and 5 as button 3 and 4 not side and extra.
2007-06-20 21:04:46 +00:00
endolf
083eee58ee
Implement the isSupported method and make plugins work again. There was an issue where accessing the static methods in DefaultControllerEnvironment and ControllerEnvironment would cause ploblems when the plugins were loaded using the PluginLoader class loader.
2007-06-10 15:03:27 +00:00
elias
7716494aee
Linux: Added more paths to the jni header search path
2007-04-19 11:40:03 +00:00
elias
d71de8a642
Mac OS X: Don't fail the entire device enumeration when one device fails to open
2007-02-25 20:40:02 +00:00
elias
7bf9a5d428
Linux: Bounds check fixes (again)
2006-12-26 09:18:46 +00:00
elias
02196352eb
Linux ~: More bounds checks
2006-12-25 09:31:34 +00:00
elias
9d211951c1
Linux: Fix an IndexOutOfBoundsException for unknown controller types
2006-12-23 07:51:58 +00:00
elias
43b4dab801
Mac OS X: Added support for mouse scroll wheel
2006-11-12 18:36:17 +00:00
endolf
f107ea2558
Make the default state connected to the cursor
2006-10-31 20:46:46 +00:00
endolf
e2d5fc8e24
Updates to build system for wintab plugin
2006-10-29 17:47:35 +00:00
endolf
1ef6081c1f
First commit of the wintab plugin
2006-10-29 15:57:42 +00:00
elias
f201cc526b
Linux: Changed uname -i to uname -m to improve 64 bit detection in build scripts
2006-09-08 10:06:51 +00:00
elias
9cc64dd560
DirectInput: Only choose DIDF_RELAXIS id the device has at least one axis, and all axes are relative
2006-08-23 08:04:50 +00:00
elias
b251b846f2
DirectInput: Don't fail entire enumeration because of one device failure
2006-08-23 07:53:04 +00:00
elias
e48f275cfc
DirectInput: Fix an issue with mice devices and DIDF_ABSAXIS axis mode. Now DIDF_RELAXIS is chosen if all device axes are relative.
2006-08-22 21:20:35 +00:00
elias
924d55e7d3
DirectInput: Use Controller.Type.UNKNOWN for the catch-all device type
2006-08-22 09:22:51 +00:00
elias
b1892fe307
Linux: Ignore rumblers when device is read only
2006-08-11 08:44:12 +00:00
elias
3d2ce651e8
DirectInput: Ignore unmapped components
2006-08-10 08:05:14 +00:00
elias
027fa2a7a0
Check for NULL malloc result
2006-08-09 08:38:58 +00:00
elias
c31a7d8818
Windows: More MinGW compile fixes
2006-07-20 10:45:00 +00:00
elias
13a7aaef3c
Windows: Fix more mingw compile warnings
2006-07-17 11:32:38 +00:00
elias
0a481c9adb
Windows: More mingw fixes
2006-07-17 11:29:02 +00:00
elias
0fb2152bde
Windows: MinGW path fixes
2006-07-15 23:09:40 +00:00
elias
e5b009c563
Windows: Added build.xml.mingw for building with mingw compiler. Doesn't work yet since the RawInput API is not supported through mingw yet.
2006-07-15 22:39:32 +00:00
elias
f0737680fa
Made the core classes and the linux plugin applet compatible. Removed dead code in DefaultControllerEnvironment
2006-07-14 08:31:27 +00:00
elias
c9b1dd2ba1
Windows: Handle polled devices in setDataFormat
2006-07-13 18:37:27 +00:00
elias
c97630f17d
Linux: build fixes for 64 bit
2006-07-11 21:07:38 +00:00
elias
06ecaad638
Changed a System.out.println to use logging
2006-07-11 21:04:54 +00:00
elias
6eb27144d9
Linux: Implemented support for libjinput-linux64.so 64 bit library
2006-07-11 21:02:46 +00:00
elias
8f13bb8862
Windows: Use pre-defined environment variables for the native include and lib paths
2006-07-10 22:20:03 +00:00
elias
e1e1d4f564
Windows Raw Plugin: Make sure DefWindowProc is called to clean up resources. Use MSG.time field instead of GetMessageTime.
2006-07-05 08:51:36 +00:00
elias
4931654f9c
Windows: Fix RawMouse event bug where all mouse clicks would end up being reported on the left (primary) mouse button
2006-07-04 21:25:51 +00:00
elias
4306f119c2
added DefaultControllerEnvironment.loadLibrary convenience method for 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
2006-07-03 11:59:10 +00:00
elias
603d4c6ce6
Added ControllerEventTest for testing event queueing
2006-06-23 10:48:04 +00:00
elias
55335e976d
Windows: Fixed warning about unsafe _vsnprintf
2006-06-22 14:08:08 +00:00
endolf
99e28a3d9d
Add an axis identifier for unknown axis types and get directx to use it
...
if it doesn't recognise an axis on construction.
2006-05-25 12:40:27 +00:00
endolf
1dc8f9ea11
Merge revision 12 of oddlabs svn repo.
...
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
2006-05-14 09:14:52 +00:00
endolf
559c008a02
Make version 2 the main jinput version
2006-04-29 22:29:27 +00:00
endolf
4c91a4eb44
Trying to sort out some of the crashes and failed exits
2006-01-12 22:16:10 +00:00
endolf
552fdad56d
Fixed a sigsegv, once we've found a match for an event device and
...
joystick, don't look at that stick again, especially having nulled the
pointer.
2005-12-04 22:14:35 +00:00
endolf
c47f72208e
First bodge at pursuading windows to use some of the same button ID's as 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.
2005-12-04 16:39:13 +00:00
endolf
fb1b49b5a9
Updated button ID's. Trouble is, windows and linux id the buttons differently.
2005-12-02 22:43:14 +00:00
endolf
819e59f33c
Don't poll if we are shutting down
2005-11-11 20:05:06 +00:00
endolf
db744e1d41
Let me just say ....
...
Ooops
was forgetting to increment a counter
2005-11-11 19:22:55 +00:00
endolf
dc39383a67
Handle cases where there are no event devices, only js ones.
2005-11-07 07:46:34 +00:00
endolf
9a920ade6d
Fixes for js devices that are read only
2005-11-03 22:00:11 +00:00
endolf
f95cb1ce41
3 Changes
...
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
2005-10-30 21:56:14 +00:00
endolf
3b9688b972
Fixed my debug
2005-09-01 20:37:01 +00:00
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
f48ee8f6f4
Start of some work to print more debug if force feedback effect creation fails
2005-08-27 08:22:19 +00:00