Mouse support - OSX

The jinput mouse support under OSX behaves wierd. When polling the system mouse seems to rember the last polls casuing the mouse poll to report movement even though I’m not moving the mouse. When stoping the mouse I often get values in the range [-2.0, 2.0]

Is this a known bug ? Or am I doing something realy weird ?

BTW: The app works fine under Windows and Linux. I’m using the 2005-06-27binaries.

// Tomas

This rings a bell…

AIR HID Manager forces you to buffer mouse input whereas the other two platforms do not.

Again, my memory is that we could find no way to disable this in the OSX plugin :confused:

That basically means that the mouse support in jinput under OSX is worthless. As I can see it there is no way of finding out if the user just moved the mouse a little bit, or if we retrived a cached output.

Is this a OSX issue or a jinput implementation issue, can’t imagine that this can’t be done under OSX ?

Anyone with an acceptable “work around” ?

// Tomas

There is some considerable work going on on the osx plugin atm. I don’t know the specifics, but i’ll try and find out

HTH

Endolf

That would be great, thanks :slight_smile:

Any news on the developing efforts on the OSX plugin ?

// Tomas

Hi

Not yet, i’m waiting to hear back myself.

Endolf

We’re working hard to clean up and fix issues, and we’ve already fixed this particular bug (along with the one that made the OSX plugin spew out tremendous amounts of debug text). There should be some code ready really soon now.

  • elias

very cool, thnaks for the work, guys!

[quote]We’re working hard to clean up and fix issues, and we’ve already fixed this particular bug (along with the one that made the OSX plugin spew out tremendous amounts of debug text).
[/quote]
Cool! Suddenly life became alot funnier :slight_smile:

[quote]There should be some code ready really soon now.
[/quote]
One or two weeks away ? (I have deadline by the end of this week and the only thing that is missing is the OSX mouse support :wink: )

Keep up the good work
// Tomas

[quote]When polling the system mouse seems to rember the last polls casuing the mouse poll to report movement even though I’m not moving the mouse.
[/quote]
I’ve been having this problem, too, on Panther. But not always. Can anyone tell me why the attached class does not suffer from this bug?

Just a quick question. Will the new OS X plug-in, that is being worked on currently, be released as a Universal Bianary that will be compatible with the new Intel based Macs? Since JNI libraries are not compatible with the Intel based macs.

Yes, I’ve made to build system output universal binaries, as well as “legacy” binaries for mac os x 10.3 and earlier.

  • elias

Is there a time line when these bianarys might be available?

Nope. But we’re nearly done, only the DirectInput joystick interface is missing atm.

  • elias

I just want to thank you for putting so much work into this library, Elias. I know we all keep asking, “are we there yet, are we there yet?” We must be driving you nuts.

I assume that even though this fix as promised a long time ago either CVS is out of date or it was never uploaded. I just downloaded JInput yesterday and I am getting the massive debug text issue, although I haven’t tested the mouse issue yet…

Am I downloading from the wrong place, or has this truly not been fixed?