PlaneShift

Fan Area => The Hydlaa Plaza => Topic started by: Fish on October 22, 2004, 09:54:09 pm

Title: Game Port commands for linux c++
Post by: Fish on October 22, 2004, 09:54:09 pm
I\'m working on a home project where I have to measure the inside and outside temperature with a computer.  I have figured out how to use a thermal resistor from Radio Shack to move the joystick sence input.  There is a catch though.  I don\'t know which library in C++ reads the joystick port in Linux.  If anybody can direct me to which library reads that device this project would be on its way.  It would be even better if there was a scripting language like Python that had a module that would read the joystick port.  But, after a lot of searching I haven\'t found anything.  
Title:
Post by: lynx_lupo on October 23, 2004, 09:14:44 am
Why not try with bash? The device should be in /dev and you could read from it easily, I think.