kidacro n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Feb 2004 Posts: 25 Location: Philly
|
Posted: Thu Nov 18, 2004 1:46 pm Post subject: joystick over tcp/udp/lan |
|
|
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. |
|