Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (512)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / JInput / Re: JINPUT Release Information on: 2006-05-27 21:20:23
Hi,

I was wondering if this is the 'combined' file on the 'Documents & Files' page?  Is this JInput 2? 

Has the Mac OSX plugin been updated? I would be willing to do it, but wouldn't mind some instructions Smiley

Thanks
2  Java Game APIs & Engines / JInput / Re: Debug Mode in OSX? on: 2006-05-27 21:07:51
There have been previous discussions of this issue (see previous posts).  I am currently not aware if there will be a resultion for this issue.  Hopefully a future release of JInput will control the debug behavior with a runtime parameter.
3  Java Game APIs & Engines / JInput / Re: Wierd Button Poll on: 2006-02-14 04:48:09
Yet another update.

I got two new controllers from the store and now both have the same issue as described before.  I don't know if its coincidence, but the button that starts out as pressed is one that I check for in the early in the game.  But I just poll the buttons and store them in an array, nothing too wierd.

If I uncover anything else, I'll let people know.
4  Java Game APIs & Engines / JInput / Mac OSX: turn debug off? on: 2006-02-02 05:01:41
Hi,

I apologize for being a pain, but the debug output on the OSX Jinput is killing me.  I know its partly my Ide (Jbuilder), but there are so  many polling messages that it causes JBuilder to lock up on me while it does some buffer footwork.

I looked through the forums and probably missed it, but if anyone has information on what to modify and recompile, I would give it a try and share it.  I had read that it wasn't the java code of JInput doing the output, but the system specific code, and that is where I am weakest. 

When I looked through the downloads section, I didn't see OSX source.  Of couse I am confuzzled and probably looking like an ass.  Any help is greatly appreciatted and thanks to Endolf and everyone for the work on this project.
5  Java Game APIs & Engines / JInput / Re: Wierd Button Poll on: 2006-02-02 04:52:51
Heres a followup for anyone whos interested ...

If you have windows xp, you can download a program to recalibrate your logitech device. A simple search on the logictech support site using "gamepad calibration" will bring it up.

If you have Mac OSX or Linux, you can return the device to the store or call a long distance number to return the device and get a replacement.  Personally, I was disappointed that logictech wouldn't provide a toll-free number for its support.

If anyone has any gamepad preferences or suggestions, I would like to know, as I don't want to spend more time developing with Logitech products if they are gonna crap out.

Thanks.
6  Java Game APIs & Engines / JInput / Re: Wierd Button Poll on: 2006-01-23 04:31:45
Yeah, there is a freebie game that I tested it with and its having issues now (I originally tested the controllers in there and they worked fine).  In fact, I am developing a game that has upto 3 controllers, so I have a spare that I haven't used, and its fine, so I can always bring the other two back to the store.

I looked around logitech website and this seems to be a known issue, but I couldn' t find a solution for Macs, so hopefully I hear back from them ...

If anyone has any other info, thanks in advance.
7  Java Game APIs & Engines / JInput / Wierd Button Poll on: 2006-01-21 06:11:37
Hi,

I got a wierd error that I am banging my head against the wall and wondering if anyone has any ideas/suggestions.

Setup:  I am using Mac OsX.  I am using Logitech game pads. 
Issue:  Whenever I poll my gamepads, they say that button 8 is being pressed even on the very first iteration of the program (and trust me, i ain't pressing the buttons).  As soon as I do press a button or use the game pad, everything functions normally.  Even if I restart the program, the 8 button works fine (doesn't start off returning 1.0). 

However, if I unplug the controller and then plug it in again the same thing happens.  I am pretty sure that this did not occur originally, which makes me suspect some firmware on the controller got messed, but I was wondering if there is anything I can call in JInput to clear this, or any other ideas?

Thanks in advance.

8  Java Game APIs & Engines / JInput / Re: JInput intro on: 2005-12-31 21:36:32
Well, if you ever think of getting something cheap, you might consider the mac mini (used or new, new its only $500 and I am sure you have nothing better to spend $500 on Smiley ).  Basically the mini is just the cpu.  No mouse, no keyboard, no monitor. 

Ok, you may label me a dumbass now.  I was just looking at the downloads and i didn't notice that one was August 2003 and the other Jun 2005.  I just noticed the months before.  Grrrr.

Anyway, the latest download for MacOSX, works pretty good for me on OSX 10.3, java 1.4.2, and using logitech hardware.

I only have two issues (which are posted elsewhere):
1)  The order of the two controllers is not always consistant.
2)  There is a lot of debug, which if I pipe to /dev/null I hope I don't have to worry about.  I am concerned that all those io calls will slow down my app when its executing. 

I would be will to take a stab at either of these two issues, just not sure where to start.
9  Java Game APIs & Engines / JInput / Re: JInput intro on: 2005-12-31 06:05:30
Thanks, I will try out the latest for MacOSX.  I don't want to make a firm commitment, because I would feel bad if I promised something I couldn't deliver, but I would love to see MacOSX dev go forward (a previous post made it sound like the current version of JInput only supports mice and keyboards for OSX), including a debug on/off switch or even a seperate download.
10  Java Game APIs & Engines / JInput / Re: Multiple Gamepads on: 2005-12-31 06:00:09
I am using Mac OSX. Anyother info that would be usefull?
11  Java Game APIs & Engines / JInput / Multiple Gamepads on: 2005-12-28 06:08:55
Hi,

I am trying to use two gamepads with JInput (basically player 1 and player 2).  I have both pads hooked upto a Belkin USB hub.  Everything seems to work, but the gamepads switch order every so often (never when I am running the program).  One gamepad will be player 1 on one app start, and then it will be player 2 on another start.

I tried looking at the Controller.getPortNumber, but its always 0.  Is there any otherway to consistantly identify one controller as player 1?  I checked the controller variables at runtime and ipQueue and ipDevice always seem to be different.

Thanks for any info.
12  Java Game APIs & Engines / JInput / Re: JInput intro on: 2005-12-28 05:57:36
Is there an issue with the Forum?  Everytime I try to visit these links I get a message that the Forum is down for maintenance.  I've been trying for days ...

Basically I would like to know what the most current version of JInput is.  I am confuzzled by https://jinput.dev.java.net/.  It shows that the core of JInput is a jar called controller.  Shouldn't there me a JInput.jar?

Thanks
13  Java Game APIs & Engines / JInput / Re: osx -- joystick support? on: 2005-12-27 06:39:52
I am using (going by  jinput Version.version ) 1.0.0-b.01.  I am using the files:
jinput.jar
libjinput.jnilib
these were from: http://www.newdawnsoftware.com/resources/jinput/jinput_osx_2005-06-27.tgz

Most things work for me, but I was wondering if these are the most uptodate MacOSX files?
When I looked at the Files section of the JInput site, there seemed to be controller.jar and and a jinput.zip file under MacOSX, but the note says that only the keyboard is working?

When I do use JInput, I see alot of output, which I worry is slowing down my program.  Can this output be controlled by a -D flag?

Here is a sample of the Debug Output, is this coming from the JInput jar?
Quote
Found device type [IOHIDKeyboardDevice]
Successfully opened device
InputQueue created 387f70 with depth 256
Adding controller elements
ElementCookie - 0x1 (1)
element Type - 0x201 (513)
usage - 0x6 (6)
usage page- 0x1 (1)
ElementCookie - 0x2 (2)
element Type - 0x2 (2)
usage - 0xe0 (224)
usage page- 0x7 (7)
Registered pollElement: 2



ElementCookie - 0x3 (3)
element Type - 0x2 (2)
usage - 0xe1 (225)
usage page- 0x7 (7)
Registered pollElement: 3

So far I have been pretty happy with JInput, I've gotten a couple logictech controllers hooked and have been having a blast.  Of couse, its wierd because the controllers say the controlpads are normalized, but they return values of 1,128,255 (left, neutral, right).  Am I misunderstanding the Javadocs for isNormalized?

Thanks.

Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

Longarmx (49 views)
2014-10-17 03:59:02

Norakomi (39 views)
2014-10-16 15:22:06

Norakomi (31 views)
2014-10-16 15:20:20

lcass (35 views)
2014-10-15 16:18:58

TehJavaDev (65 views)
2014-10-14 00:39:48

TehJavaDev (65 views)
2014-10-14 00:35:47

TehJavaDev (55 views)
2014-10-14 00:32:37

BurntPizza (72 views)
2014-10-11 23:24:42

BurntPizza (43 views)
2014-10-11 23:10:45

BurntPizza (84 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!