Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (578)
games submitted by our members
Games in WIP (499)
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: How do I get the maximum axis values? on: 2009-09-09 18:11:42
The SpaceNavigator driver seems to output values between -4096 and 4096 (although values above about +/-3300 are hard to get) on both the open source Linux drivers and the official drivers on Windows, so it looks like this driver, at least, does not normalize the values.  Is there any OS interface to get the maximum values?  If not, then I guess there's not much that can be done, and it's arguably a bug in the 3Dconnexion drivers.
2  Java Game APIs & Engines / JInput / How do I get the maximum axis values? on: 2009-09-02 23:07:37
I am trying to implement SpaceNavigator support using JInput on Linux (RHEL 5.3 x86_64) and the open source spacenav drivers.  I can detect the device properly and read the values via Component.getPollData().  However, I cannot seem to find any way of reading what the minimum and maximum values are.  It is unclear to me where the official API docs are, but I am using the http://www.newdawnsoftware.com/resources/jinput/apidocs/ referenced in endolf's "Getting Started with JInput" topic (post #1).  This post suggests that axes can be normalized, but I see no way to check for this (or, even better, turn it on) in the above-mentioned docs, nor is there any min/max query function.

Are there more recent docs that I should be using?  If not, how do I enable normalization, or at least determine the min/max?  (Obviously I can find out empirically, but 3Dconnexion makes multiple devices and there is no guarantee that the min/max are the same for all the devices)

Thanks,
Geoff
3  Java Game APIs & Engines / JInput / Compiling JInput for Linux on: 2009-06-13 00:03:59
I need to use JInput on a RHEL 5.2 64-bit system.  I tried the pre-built binaries, but they are build for glibc 2.7 and RHEL 5.2 only has 2.5.  So I thought I'd try compiling it myself, but I can't find any access to the source.  There doesn't seem to be anonymous CVS access, there is no source tarball anywhere that I can find on google.  The best I could figure out was to use the web CVS interface and download each file manually (which obviously I'm not excited about).  So where can I go to get the source?
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.

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

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

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

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

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

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

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

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

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

CJLetsGame (198 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

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
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!