To: | NLS Restoration Technical Discussion <nls-technical@chm.cim3.net>, NLS Restoration Technical Discussion <nls-technical@chm.cim3.net> |
---|---|
Cc: | bootstrap-nsf@ws.blueoxen.net |
From: | Philip Gust <gust@NouveauSystems.com> |
Date: | Sat, 11 Feb 2006 07:34:19 -0800 |
Message-id: | <7.0.0.16.2.20060211052943.063316b0@NouveauSystems.com> |
See comments inline. At 12:07 AM 2/11/2006, Jonathan Cheyer wrote: Comments inline. Thanks for taking the time out from packing to do this. > I'm planning on building a Java package to provide keyset input to Definitely. I never invent where I can leverage. Hmm, JVAT, I hadn't heard that term before. Howard Palmer (author of the I didn't know what to call it, so I > I'm assuming that this will entail a certain amount of native code on I've found something called USB Overdrive that claims to be a configurable, shareware MacOS X driver for a variety of USB devices including joysticks. Here's a URL: http://www.versiontracker.com/dyn/moreinfo/macosx/13443&vid=41640. I also found the general Human Interface Device (HID) framework, including an HID Manager for accessing USB devices such as joysticks. Here's a URL: http://developer.apple.com/documentation/DeviceDrivers/Conceptual/IOKitFundamentals/Families_Ref/chapter_11_section_7.html . Applications use something called InputSprocket to interact with the HID Manager. Here's an article written by the lead InputSprocket architect with some code samples: http://www.mactech.com/articles/mactech/Vol.15/15.01/InsideInputSprocket/ . Nouveau Systems is a member of the Apple Developers Network so we can probably get some advice on this. There is also a Java Input API project at java.net that seems to have a framework with an OSX plugin: https://jinput.dev.java.net/. All of these tell me that there probably isn't a regular device similar to the Linux /dev/input/js* that we can use directly. I suspect that Windows does not use device files in a UNIX-like way, so Using Cygwin is a pretty long shot, and has the drawback of requiring Cygwin to be installed (it's pretty big). There are several Java packages out there that claim to support joysticks through JNI interfaces to Windows DLLs. Several of them are multi-platform and include Windows. JInput ( https://jinput.dev.java.net/) and JavaJoystick ( http://sourceforge.net/projects/javajoystick/). Others are are Windows-only (cf http://www.cybergarage.org/vr/device/joystick/java/, http://www.hardcode.de/jxinput/, http://www.bigredswitch.co.uk/toolbox/joystick/). If none of these work out, the JNI code will have to write directly to Microsoft DirectInput. Here's a brief article that shows how to interface a joystick through DirectInput: http://msdn.microsoft.com/coding4fun/gamedevelopment/beginning4/default.aspx . > Whichever way, I plan on doing a decent device-side interface that JInput looks to be the most promising because it has a platform-specific plugin architecture with plugins for Win32i, Linux, and OS X. I'd consider looking at this first to provide native layer abstraction. > I'm eager to get a keyset so that I can get an interface design out > Hopefully, what I produce will also be useful to keyset-enable a Agreed. It would be convenient, however, if the same underlying native libraries could be used for both projects. Jonathan Just one other note. You mentioned that Radio Shack was no longer producing the DB-15 to USB PC Gaming Adapter (26-164). I've found another source. It's slightly more expensive, but we could get enough for all the keysets. Here's the URL: http://www.trianglecables.com/usbtojoydbad.html
Philip Gust Nouveau Systems, Inc. phone: +1 650 961-7992 fax: +1 520 843-7217 mailto: gust@NouveauSystems.com _________________________________________________________________ Message Archives: http://chm.cim3.net/forum/nls-technical/ Shared Files: http://chm.cim3.net/file/work/project/nls-restore/ Community Portal: http://www.computerhistory.org/ To Post: mailto:nls-technical@chm.cim3.net Community Wiki: http://chm.cim3.net/cgi-bin/wiki.pl?NLS_Restoration (01) |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [nls-technical] [bootstrap-nsf] Re: six chord keysets, Jonathan Cheyer |
---|---|
Next by Date: | Re: [nls-technical] chord keyset, Philip Gust |
Previous by Thread: | Re: [nls-technical] [bootstrap-nsf] Re: six chord keysets, Jonathan Cheyer |
Next by Thread: | Re: [nls-technical] [bootstrap-nsf] Re: [bootstrap-nsf] Re: six chord keysets, Jonathan Cheyer |
Indexes: | [Date] [Thread] [Top] [All Lists] |