Fedora Linux Support Community & Resources Center
  #1  
Old 23rd February 2012, 05:29 AM
roberco Offline
Registered User
 
Join Date: Feb 2011
Posts: 21
linuxfirefox
Keyboard to JoyStick Mapping

Hi,

Do you know any software other than Joy2Key that I can use to map the keybboard to a joystick? I downloaded Joy2Key but couldn't compile it. I couldn't find the config file after unpacking the joy2key file.

Thanks in advance,

I'm running Fedora 16x64
Reply With Quote
  #2  
Old 23rd February 2012, 09:01 AM
satanselbow Offline
Registered User
 
Join Date: Apr 2011
Location: Upminster, Essex, UK
Posts: 169
linuxchrome
Wink Re: Keyboard to JoyStick Mapping

There is qjoypad which will also need compiling on fedora

http://qjoypad.sourceforge.net/#download

You will need qt-devel as a dep.

You will need to explicitly state the path to qmake - due to fedora's ming wrapper with:

Code:
./config --qmake4bin=/usr/bin/qmake-qt4
Additionally the makefile may need a tweak with:

Code:
...
LIBS          = $(SUBLIBS)  -L/usr/lib -lXtst -lQtGui -lQtCore -lpthread -lX11
...
due to a XtestSomethingorOther missing/misplaced library

Last edited by satanselbow; 23rd February 2012 at 09:17 AM.
Reply With Quote
  #3  
Old 24th February 2012, 02:58 AM
roberco Offline
Registered User
 
Join Date: Feb 2011
Posts: 21
linuxfirefox
Re: Keyboard to JoyStick Mapping

Quote:
Originally Posted by satanselbow View Post
There is qjoypad which will also need compiling on fedora

http://qjoypad.sourceforge.net/#download

You will need qt-devel as a dep.

You will need to explicitly state the path to qmake - due to fedora's ming wrapper with:

Code:
./config --qmake4bin=/usr/bin/qmake-qt4
Additionally the makefile may need a tweak with:

Code:
...
LIBS          = $(SUBLIBS)  -L/usr/lib -lXtst -lQtGui -lQtCore -lpthread -lX11
...
due to a XtestSomethingorOther missing/misplaced library
I modified the Makefile as you suggested and ran make. But I got the following errors.

g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -DDEVDIR="/dev/input" -DICON24="/usr/local/share/pixmaps/qjoypad/icon24.png" -DICON64="/usr/local/share/pixmaps/qjoypad/icon64.png" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -Itrayicon -I. -o axis.o axis.cpp
In file included from component.h:13:0,
from axis.h:8,
from axis.cpp:1:
event.h:5:34: fatal error: X11/extensions/XTest.h: No such file or directory
compilation terminated.

Last edited by roberco; 24th February 2012 at 03:38 AM.
Reply With Quote
  #4  
Old 24th February 2012, 10:46 AM
satanselbow Offline
Registered User
 
Join Date: Apr 2011
Location: Upminster, Essex, UK
Posts: 169
linuxchrome
Wink Re: Keyboard to JoyStick Mapping

Quote:
Originally Posted by roberco View Post
event.h:5:34: fatal error: X11/extensions/XTest.h: No such file or directory
compilation terminated.
That will be the libSomethingOrOther that's missing

You need the libXtst-devel pkg.

Code:
# yum install libXtst-devel
Then run
Code:
make clean
to tidy up the failed compilation then
Code:
make
to recompile

:EDIT: I'm on x86 so cannot really help further wil x64 specific issues as I don't have an 64 bit install to try them on at the mo

Last edited by satanselbow; 24th February 2012 at 10:49 AM.
Reply With Quote
  #5  
Old 24th February 2012, 09:58 PM
roberco Offline
Registered User
 
Join Date: Feb 2011
Posts: 21
windows_98_nt_2000ie
Re: Keyboard to JoyStick Mapping

Thanks everyone. I got it working now.
Reply With Quote
Reply

Tags
joystick, keyboard, mapping

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
keyboard mapping gfenton Using Fedora 1 5th March 2011 08:53 PM
joystick or mouse or keyboard stuck TISOD Using Fedora 0 23rd October 2010 04:54 PM
Keyboard Mapping mrHappyPants Guides & Solutions (No Questions) 0 24th November 2009 08:12 AM
Keyboard mapping P.o.D Using Fedora 4 4th September 2009 11:13 PM
keyboard joystick crazy 87esir Using Fedora 8 14th July 2007 07:02 PM


Current GMT-time: 03:50 (Thursday, 17-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat