Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (576)
games submitted by our members
Games in WIP (497)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Mouse support - OSX  (Read 3485 times)
0 Members and 1 Guest are viewing this topic.
Offline Tomas

Junior Member




Agency9


« Posted 2006-02-15 16:00:19 »

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

CTO Agency9
Offline Jeff

JGO Coder




Got any cats?


« Reply #1 - Posted 2006-02-16 00:23:49 »

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 :/

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline Tomas

Junior Member




Agency9


« Reply #2 - Posted 2006-02-16 08:23:55 »

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

CTO Agency9
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline endolf

JGO Knight


Medals: 7
Projects: 1


Current project release date: sometime in 3003


« Reply #3 - Posted 2006-02-16 17:51:32 »

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

Offline Tomas

Junior Member




Agency9


« Reply #4 - Posted 2006-02-18 10:46:31 »

That would be great, thanks Smiley

CTO Agency9
Offline Tomas

Junior Member




Agency9


« Reply #5 - Posted 2006-02-20 10:06:45 »

Any news on the developing efforts on the OSX plugin ?

// Tomas

CTO Agency9
Offline endolf

JGO Knight


Medals: 7
Projects: 1


Current project release date: sometime in 3003


« Reply #6 - Posted 2006-02-20 14:38:01 »

Hi

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

Endolf

Offline elias

Senior Member





« Reply #7 - Posted 2006-02-20 22:32:51 »

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

Offline Jeff

JGO Coder




Got any cats?


« Reply #8 - Posted 2006-02-20 22:45:17 »

very cool, thnaks for the work, guys!

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline Tomas

Junior Member




Agency9


« Reply #9 - Posted 2006-02-21 08:06:17 »

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).

Cool! Suddenly life became alot funnier Smiley

Quote
There should be some code ready really soon now.
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

 

CTO Agency9
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline prof0aronnax

Senior Newbie





« Reply #10 - Posted 2006-02-28 05:42:45 »

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.

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?
Offline Dustin

Junior Newbie





« Reply #11 - Posted 2006-03-01 23:18:59 »

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.
Offline elias

Senior Member





« Reply #12 - Posted 2006-03-02 15:28:37 »

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

 - elias

Offline Dustin

Junior Newbie





« Reply #13 - Posted 2006-03-02 17:01:50 »

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

Senior Member





« Reply #14 - Posted 2006-03-03 11:02:00 »

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

 - elias

Offline prof0aronnax

Senior Newbie





« Reply #15 - Posted 2006-03-10 07:48:04 »

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.
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 12


Game Engineer


« Reply #16 - Posted 2006-10-28 01:35:50 »

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?

See my work:
OTC Software
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (14 views)
2014-04-15 18:08:23

BurntPizza (12 views)
2014-04-15 03:46:01

UprightPath (25 views)
2014-04-14 17:39:50

UprightPath (11 views)
2014-04-14 17:35:47

Porlus (28 views)
2014-04-14 15:48:38

tom_mai78101 (50 views)
2014-04-10 04:04:31

BurntPizza (109 views)
2014-04-08 23:06:04

tom_mai78101 (209 views)
2014-04-05 13:34:39

trollwarrior1 (177 views)
2014-04-04 12:06:45

CJLetsGame (184 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!