Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (552)
Games in Android Showcase (139)
games submitted by our members
Games in WIP (593)
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  
  JInput needs /dev/input/event* - How do I get them  (Read 2267 times)
0 Members and 1 Guest are viewing this topic.
Offline Marvin Fröhlich

Senior Devvie

May the 4th, be with you...

« Posted 2005-08-17 16:09:48 »


For JInput needs /dev/input/event* device nodes, I need them to use JInput. I'm running Mandriva 2005 LE with standard kernel. In /dev/input/ there are just two files "mice" and "mouse0", if I remember correctly. Maybe I have turned off a responsable daemon. I don't know. Can anybody tell me how to get these f***ing nodes?

Or maybe I don't need them to use JInput; even better.

Please help me

Offline endolf

JGO Coder

Medals: 7
Exp: 15 years

Current project release date: sometime in 3003

« Reply #1 - Posted 2005-08-17 17:39:26 »


Those are the nodes needed to used the devices, It looks to me like your distribution doesn't have the event interface modules built in.

My kernel config has this in it.
# Input device support

# Userland interfaces

Those nodes will also only appear when you have a device plugged in, but with the right modules, even just a mouse/keyboard will count and create /dev/input/event* nodes

Unfortunatly your distribution doesn't seem to have much info online that people who don't have it can get at. You'll have to register your product and ask on there unless you are familiar with kernel building.


Offline Jeff

JGO Coder

Got any cats?

« Reply #2 - Posted 2005-08-17 18:41:53 »

On my platform (SUSE9.3)  I currently get a list of event nodes that dont exist that all seme to be related to rumble code.

However it runs fine and hears my KB and mouse Smiley

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline endolf

JGO Coder

Medals: 7
Exp: 15 years

Current project release date: sometime in 3003

« Reply #3 - Posted 2005-08-17 20:45:52 »


Don't know about suse, but redhat always used to create hundreds of dev nodes for every device under the sun, I think it created something like 5 js nodes even if non were plugged in, gawd knows how many hdd nodes it created Smiley


Offline Marvin Fröhlich

Senior Devvie

May the 4th, be with you...

« Reply #4 - Posted 2005-08-18 10:37:30 »

Ok, got that fixed. I just plugged my mouse to the usb port. Before it it was plugged to the ps2 port. After I did that there were three event nodes and after I changed the rights jinput found my mouse and my keyboard. Why did it find the keyboard after that and not before?

Anyway, the problem is fixed for me.
Offline endolf

JGO Coder

Medals: 7
Exp: 15 years

Current project release date: sometime in 3003

« Reply #5 - Posted 2005-08-18 11:11:18 »


Not sure whats going on there, it still sounds like a kernel config/compile issue. The good news is it's working though Smiley


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


Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Archive (30 views)
2015-01-29 04:26:08

theagentd (26 views)
2015-01-28 15:33:52

GamerIDGoesHere (37 views)
2015-01-27 01:23:23

GamerIDGoesHere (38 views)
2015-01-27 01:22:15

CopyableCougar4 (48 views)
2015-01-27 00:34:41

CopyableCougar4 (31 views)
2015-01-26 04:47:56

Olo (23 views)
2015-01-25 21:26:00

Olo (29 views)
2015-01-25 18:44:22

Robo11 (47 views)
2015-01-25 06:14:26

basil_ (40 views)
2015-01-17 22:29:32
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

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17 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!