Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
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 / JInput and RailDriver device on: 2010-01-10 23:48:14
I'm trying to use JInput to access a "RailDriver", which is a USB-connected model of a diesel locomotive control stand.

Using the most recent JInput version I can find (jinput_dist_20090401), I get different results on different platforms.  On Windows, the device is seen, but only 31 of it's 50+ buttons are seen, and even those seem to not work right.

On MacOS X, the device isn't seen (other devices are, though, so that basic JInput function is working)

MacOS X System Profiler sees the device, says it has Product ID: 0x00d2  Vendor ID: 0x05f3
HID Explorer also sees it:
  Consumer Usage 0x01 (0xc, 0x1)
  #{V:1523, P:210, U:12:1}#  {V:1523, P:210, U:9:1} through {V:1523, P:210, U:9:56}, {V:1523, P:210, U:65280:1}8 times
  #{V:1523, P:210, U:9:2}# {V:1523, P:210, U:65280:2} 9 times

There seem to be several things going on:  On Windows, it seems to be hitting a limit of 31, and also perhaps not seeing everything that's present.

On MacOS X, it seems to not see the controller at all.

Any thoughts on how to debug this further?

Bob
2  Java Game APIs & Engines / JInput / How to contribute update? MacOS build on Leopard, more usages, Windows bug fix. on: 2008-04-01 15:53:37
I've made some modifications to the code & build files at the HEAD of CVS, and would like to know how to contribute them back.

The modifications are:

1) Update the MacOS X build.xml file to work on Leopard (MacOS X 10.5)

2) Fix miss-labeling of high-number buttons on Windows, e.g. Button 25 is labelled 24.

3) Add buttons to 99.

4) Add support for devices with "Consumer" and "Vendor" pages (MacOS X only so far, but will add to Linux and Windows shortly)

Is there some procedure for submitting patches?



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.

Pippogeek (35 views)
2014-09-24 16:13:29

Pippogeek (28 views)
2014-09-24 16:12:22

Pippogeek (17 views)
2014-09-24 16:12:06

Grunnt (40 views)
2014-09-23 14:38:19

radar3301 (23 views)
2014-09-21 23:33:17

BurntPizza (58 views)
2014-09-21 02:42:18

BurntPizza (29 views)
2014-09-21 01:30:30

moogie (34 views)
2014-09-21 00:26:15

UprightPath (47 views)
2014-09-20 20:14:06

BurntPizza (51 views)
2014-09-19 03:14:18
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!