Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
joystick over tcp/udp/lan
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kidacro
n00b
n00b


Joined: 20 Feb 2004
Posts: 25
Location: Philly

PostPosted: Thu Nov 18, 2004 1:46 pm    Post subject: joystick over tcp/udp/lan Reply with quote

I need to be able to link /dev/js0 on one machine to a physical device /dev/js0 on another machine.

The only solution ive found so far is RJS which doesnt want to compile on either machines and it seems like an abandoned project so it hasnt been updated in a long while that i can tell.

Heres da scenario:
---
box 1 is a p133 with a isa gameport adapter with a gamepad and gravis blackhawk connected to it. that alone works fine and have had no probs so far.

box 2 is a p4 with no gameport slots available and usb joysticks are totally out of the question for this scenario.

i need to use the joysticks from box 1 on box 2 over normal ethernet connections.

since its been done before (rjs) i know its possible but cant seem to find another solution around. any ideas?

Updates:
---
I got RJS to at least run using the precompiled binaries and libcompat but the client refuses to connect to the server. Telneting to the server works but not thru the client proggie. I think this is related to why the REPEATD program wont compile:

Code:

router REPEATD # make
Linux compile ...
make[1]: Entering directory `/store/build/RJS/REPEATD'
g++ -I. -I/usr/include/g++-2 -I. -I../SHMEM_JSTK -I/usr/X11R6/include -I/usr/include -I/usr/include/CC -I  -g -DSHMEM -c repeatd.c++
repeatd.c++: In function `void serverMain(int, char**)':
repeatd.c++:126: error: invalid conversion from `int*' to `socklen_t*'
make[1]: *** [repeatd.o] Error 1
make[1]: Leaving directory `/store/build/RJS/REPEATD'
make: *** [default] Error 2


So anyway... I found another project on sourceforge that uses a kernel module and a client server called net2js: http://sourceforge.net/projects/net2js/

Sadly its not coded to support the 2.6 kernel build system so thats out... but I did post a message to the SF project forum requesting this feature.
_________________
We sit here in awe,
bare to the worlds within us.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum