Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (711)
Games in Android Showcase (213)
games submitted by our members
Games in WIP (785)
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  
  Troubles with Mouse  (Read 1676 times)
0 Members and 1 Guest are viewing this topic.
Offline Hangout

Senior Newbie

« Posted 2008-05-30 07:23:42 »


I'm new to JInput and I have a problem which I cannot solve. The keyboard works fine but my mouse doesn't. Now for to test my application, I want to rotate my camera with the mouse movement nut when i poll the mouse, I always get 0 back.

What do I have to do, I thought about sticking the hardware mouse cursor to 0,0 but then I need some other cursor. Anyone can help me out what I have to to there?

On the other side, later for the real usage and not the test one. I want to be able to move to cursor inside the application and pick objects.

What would you suggest me?
Offline Hangout

Senior Newbie

« Reply #1 - Posted 2008-05-31 07:35:50 »

Ok, sorry I've found the problem.

Had a second mouse connected to my computer and it was so hidden that i completely forgot it. Now as this second mouse was initialized last it was used for my app. And of course, this mouse never moved so it was always 0,0.
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Riven (19 views)
2017-02-27 17:26:59

numerical (397 views)
2017-02-21 07:32:16

numerical (398 views)
2017-02-21 07:31:46

theagentd (513 views)
2017-02-18 13:42:33

theagentd (509 views)
2017-02-18 13:35:16

h.pernpeintner (1674 views)
2017-01-24 22:39:11

h.pernpeintner (1660 views)
2017-01-24 22:38:32

Galdo (2226 views)
2017-01-12 13:44:09

Archive (2176 views)
2017-01-02 05:31:41

0AndrewShepherd0 (2709 views)
2016-12-16 03:58:39
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21 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!