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
endolf
cebedc9479
Added shutdown hooks to stop rumblers before quitting.
2005-08-27 08:21:42 +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
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
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
gregorypierce
ad0fd45046
Changes for the nightly build
2004-02-28 05:45:22 +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
gregorypierce
1376adde46
Updated for proper build settings.
2004-02-28 01:22:41 +00:00
endolf
9258d5763c
Added Z axis support for rumblers
2003-12-02 19:10:06 +00:00
endolf
d7efdf03a0
Updated (added) javadoc
2003-12-02 19:03:37 +00:00
endolf
ec62ee8549
Updated rumblers to be able to get their axis name and axis identifier
2003-12-02 18:55:13 +00:00
endolf
a4176e75f8
Initial rumbler support
2003-12-01 23:42:30 +00:00
endolf
21cb0446d1
Added the logger macros so I don't have to keep manually adding the
...
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.
2003-10-29 22:36:31 +00:00
endolf
a8cbd46c50
Fixes to solve issue 21
2003-10-20 18:41:26 +00:00
endolf
e749b96a4a
Fix and updated error messages for issue 20
2003-10-04 12:48:51 +00:00
endolf
46e48bb00e
Fixes for issue 4 and 5, mouse data under DX is normalised
...
and shouldn't be
Enhancment 19, Windows only supports 4 mouse buttons.
2003-10-03 22:03:25 +00:00
endolf
1b7e1217f7
I had done the mouse axis as normalised to match the windows
...
version, as I am about to commit changes to fix that version, I
have sitch over the workings of this one too
2003-10-03 21:42:48 +00:00
endolf
dadac91706
Added windows 98 to build options as jinput will work with it.
2003-10-03 20:15:06 +00:00
swpalmer
9d6240f1b3
Preliminary Ant build support for OS X
2003-09-04 15:12:02 +00:00
gregorypierce
144c3501e5
Add HID properties and CROSSTABLE entries to move from JInput keys to HID cookies and poll keyboard keys
2003-08-09 18:19:34 +00:00
gregorypierce
09ae0599ef
Change to ignore non HID compliant devices and to correct a bug where usage page passed as element type
2003-08-09 18:18:43 +00:00
gregorypierce
eade1ce044
Couple of bug fixes
2003-08-09 18:17:38 +00:00
gregorypierce
d1e7bf020d
Added information for keyboard return codes. There are many international keys whose mappings are not totally clear.
2003-08-08 07:08:41 +00:00
gregorypierce
aeea752a6f
no message
2003-08-07 21:57:08 +00:00
gregorypierce
c88f6ab0c6
no message
2003-08-07 18:28:18 +00:00
gregorypierce
9aa4e82038
no message
2003-08-06 01:02:58 +00:00
gregorypierce
24d639f5be
Initial release of native library
2003-08-05 18:33:07 +00:00
gregorypierce
c2688c3ae8
no message
2003-08-05 18:32:27 +00:00
gregorypierce
6e8132cedf
Initial update - partial merge with JInput
2003-08-05 18:31:29 +00:00
endolf
6f376aacfe
jinput.jar location got moved back
2003-08-05 18:05:23 +00:00
endolf
80718c255b
jinput.jar got moved from bin to dist
2003-08-05 16:56:43 +00:00
endolf
a35964c6ad
fixed ant clean fails on windows because the linux ant script can't find
...
the classes dir to delete
2003-08-05 08:14:46 +00:00
endolf
ef7559ab41
Changed controller.jar to jinput.jar as per
...
http://www.JavaGaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jinput;action=display;num=1059866464
2003-08-05 08:04:18 +00:00
endolf
edc587f3e9
Changed os name on createNativeDefinitons.java as it was
...
incorrectly capitalised
2003-07-31 20:12:01 +00:00
endolf
fce8c6c7ec
Initial commit of linux plugin
2003-07-31 20:11:03 +00:00
endolf
1b4afd7352
Initial commit of Linux plugin
2003-07-31 19:34:46 +00:00
endolf
c4bc78af27
no message
2003-07-31 18:46:47 +00:00
endolf
bcbbe869a7
no message
2003-07-31 18:36:31 +00:00
endolf
597fd338dd
g++ rather than gcc is needed to build C++ files, and added windows xp to the list of OSs to build the native library on.
2003-07-31 18:31:33 +00:00
gregorypierce
b6a6416f8e
Update to move native pointers to Java code, to retrieve the correct device types from the HID tables, to open/close the device and prepare to poll data from the device data queues
2003-07-29 05:15:11 +00:00
gregorypierce
14e0af5493
no message
2003-07-28 14:46:07 +00:00