Author |
Message |
jolson
|
Posted: Sat Mar 25, 2006 12:52 am |
|
Joined: Sat Mar 04, 2006 9:52 am
Posts: 4
|
I have a usb Logitec gamepad that works with snes9x and would like to use it for the other game emulators in mythGame. One option I found was to use qjoypad which will map the gamepad inputs as keystrokes which would work for all of the emulators, as well as Mythfrontend. I downloaded the source but was not able to get it to install correctly. I got the following error when I ran "./configure":
"g++ -c -pipe -Wall -W -O2 -DDEVDIR='"/dev/input"' -DICON24='"/usr/local/share/pixmaps/qjoypad/icon24.png"' -DICON64='"/usr/local/share/pixmaps/qjoypad/icon64.png"' -DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. -I. -Itrayicon -I/include -o axis.o axis.cpp
In file included from axis.h:8,
from axis.cpp:1:
component.h:6:25: qstringlist.h: No such file or directory
component.h:7:25: qtextstream.h: No such file or directory
component.h:8:21: qregexp.h: No such file or directory
component.h:11:21: qobject.h: No such file or directory
In file included from axis.h:8,
from axis.cpp:1:
component.h:19: error: parse error before `{' token
component.h:22: error: `QTextStream' was not declared in this scope
component.h:22: error: parse error before `)' token
In file included from axis.h:8,
from axis.cpp:1:"
... it continues like this.
I am fairly new to linux so there is probably something obvious but I could not find anything by searching. Thanks for the help.
Jared
Current system:
KnoppMyth R4V5
AMD 1700+
Kworld TV Tuner
|
|
Top |
|
 |
cesman
|
Posted: Sat Mar 25, 2006 1:02 am |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
I'm guessing you need to
Code: export QTDIR=/usr/lib/qt3 Before compiling... Why not just download the deb from the site?
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
jolson
|
Posted: Sat Mar 25, 2006 9:34 am |
|
Joined: Sat Mar 04, 2006 9:52 am
Posts: 4
|
Thanks Cesman,
I was able to install from the Debian binary. Now I get an error when trying to run qjoypad.
"qjoypad: relocation error: qjoypad: undefined symbol: _ZN7QWidget7RepaintEb"
... but I'll check the documentation for that.
|
|
Top |
|
 |
jolson
|
Posted: Sun Mar 26, 2006 6:00 pm |
|
Joined: Sat Mar 04, 2006 9:52 am
Posts: 4
|
In case anyone is interested, I was able to get Qjoypad working by setting the following options for qjoypad:
"qjoypad --notray --device /dev/"
I put this in my ~home/mythtv/.fvwm/.fvwm2rc just before starting Myth. I think this file is equivilant to ~home/mythtv/.fluxbox/apps for newer versions of Knoppmyth. Anyhow, now I can control Mythfrontend, all of the game emulators and the PC games with a USB gamepad. It is a lot simpler than building an IR receiver and setting up LIRC. Thanks again for the help Cesman.
Jared
|
|
Top |
|
 |
mattshaw
|
Posted: Fri Mar 31, 2006 8:28 pm |
|
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
|
Hi jolson
Exactly which model Logitech USB gamepad do you have ????
I just want to confirm before I might proceed, been after an entry about using mine to control myth for ages.......
Regards
Matt Shaw
matt@shagshaw.com
|
|
Top |
|
 |
jolson
|
Posted: Mon Apr 03, 2006 6:09 am |
|
Joined: Sat Mar 04, 2006 9:52 am
Posts: 4
|
I have a Logitech Cordless RumblePad 2. It was detected without any problems and has essentially worked right out of the box (except for setting up the additional software). I'm not sure about other Logitech gamepads but I thought that most of them were Linux compatible.
Jared
|
|
Top |
|
 |