Author Topic: Game Port commands for linux c++  (Read 651 times)

Fish

  • Hydlaa Citizen
  • *
  • Posts: 200
    • View Profile
Game Port commands for linux c++
« 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.  
Doing things just for the halibut.

lynx_lupo

  • Veteran
  • *
  • Posts: 1431
  • Sorbus aria!
    • View Profile
    • Linux pri nas
(No subject)
« Reply #1 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.
"Amor sceleratus habendi"- Ovid
"First they ignore you, then they laugh at you, then they fight you, then you eat them." -Godzilla