Show Posts
|
|
Pages: [1]
|
|
1
|
Java Game APIs & Engines / JInput / Re: JINPUT Release Information
|
on: 2006-05-27 23: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  Thanks
|
|
|
|
|
2
|
Java Game APIs & Engines / JInput / Re: Debug Mode in OSX?
|
on: 2006-05-27 23: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 05: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 06: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 05: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 05: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 07: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 22: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  ). 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 07: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.
|
|
|
|
|
11
|
Java Game APIs & Engines / JInput / Multiple Gamepads
|
on: 2005-12-28 07: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 06: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 07: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.tgzMost 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? 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.
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|