Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (576)
Games in Android Showcase (154)
games submitted by our members
Games in WIP (626)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  trouble recognizing joystick  (Read 1330 times)
0 Members and 1 Guest are viewing this topic.
Offline KenSchweller

Junior Newbie

« Posted 2007-07-25 19:37:22 »

I am very impressed with the jinput initiative and would like to use it for joystick control in games I have been developing for bonobos at the Great Ape Trust in Des Moines.  When I run the following 'helloworld' code on Win32  I see only 'keyboard' and 'mouse'  listed as controllers even though I have verified using dxdiag that direct x sees my joystick.   Any advice on how to help jinput see the attached joystick? 

public class ViewControllers
   public static void main(String[] args)
          Controller [] controllers = ControllerEnvironment.getDefaultEnvironment().getControllers();
          for(Controller c : controllers)
                System.out.println("controller: " +  c.getName());
Offline endolf

JGO Coder

Medals: 7
Exp: 15 years

Current project release date: sometime in 3003

« Reply #1 - Posted 2007-07-26 10:53:26 »


Sounds like a duplicate of this thread.


Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

ClaasJG (37 views)
2015-04-30 20:33:25

Riven (23 views)
2015-04-30 13:25:12

ClaasJG (42 views)
2015-04-27 13:36:51

BurntPizza (49 views)
2015-04-23 03:42:11

theagentd (51 views)
2015-04-22 16:23:07

Riven (61 views)
2015-04-16 10:48:47

Duke0200 (74 views)
2015-04-16 01:59:01

Fairy Tailz (56 views)
2015-04-14 20:13:12

Riven (61 views)
2015-04-12 21:36:37

bus hotdog (85 views)
2015-04-10 02:39:32
How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

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