Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (289)
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 1859 times)
0 Members and 1 Guest are viewing this topic.
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


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

hi

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

Qudus
Offline endolf
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


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

Hi

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.
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_MOUSEDEV_PSAUX_ENABLE=y
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_TSDEV=m
CONFIG_INPUT_TSDEV_SCREEN_X=240
CONFIG_INPUT_TSDEV_SCREEN_Y=320
CONFIG_INPUT_EVDEV=m
CONFIG_INPUT_EVBUG=m


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.

Endolf

Offline Jeff

JGO Coder




Got any cats?


« Reply #2 - Posted 2005-08-17 20: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!

http://wiki.java.net/bin/view/Games/JeffFAQ
Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline endolf
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


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

Hi

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

Endolf

Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #4 - Posted 2005-08-18 12: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
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


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

Hi

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

Endolf

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

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (60 views)
2013-05-17 21:29:12

alaslipknot (69 views)
2013-05-16 21:24:48

gouessej (99 views)
2013-05-16 00:53:38

gouessej (96 views)
2013-05-16 00:17:58

theagentd (107 views)
2013-05-15 15:01:13

theagentd (98 views)
2013-05-15 15:00:54

StreetDoggy (144 views)
2013-05-14 15:56:26

kutucuk (167 views)
2013-05-12 17:10:36

kutucuk (166 views)
2013-05-12 15:36:09

UnluckyDevil (175 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.114 seconds with 21 queries.