Results 1 to 10 of 10

Thread: I'm having trouble figuring out Joy2Key....

  1. #1
    Join Date
    Jun 2007
    Beans
    15

    I'm having trouble figuring out Joy2Key....

    I went through the readme file and that only confused me more. I want to configure joy2key to work with xmame and I can't even figure out how to run joy2key. I've found a fe wpeople talking about it on google, but they were having specific problems with it....not really problems starting it. Any help would be appreciated. I guess you can tell I'm new to linux.

  2. #2
    Join Date
    Feb 2007
    Location
    In my chair
    Beans
    1,485

    Re: I'm having trouble figuring out Joy2Key....

    Code:
    sudo apt-get install joy2key
    to run it should be
    Code:
    joy2key
    Currently favorite songs:
    Miss Hyde, This Song Is About Monsters, Masagin, I Will Try to Blow it Out, La Resistance
    Visit www.cherrypeel.com for more free indie music =)

  3. #3
    Join Date
    Jun 2007
    Beans
    15

    Re: I'm having trouble figuring out Joy2Key....

    I've already gotten that far, but I don't know what to put after joy2key in the terminal. Just typing that brings up a message that tells me what joy2key is then says "Must specify a target!"

  4. #4
    Join Date
    Feb 2006
    Location
    NJ
    Beans
    149

    Re: I'm having trouble figuring out Joy2Key....

    You aren't alone in confusion. Joy2Key is the most ill-documented piece of software I've come across in years.
    Code:
    cat /usr/share/doc/joy2key/examples/joy2keyrc.sample
    That's my only advice. Don't even bother with the man file or you'll do your own head in.

    I used this once and managed to get it working with some java NES emulator embedded in a webpage, where I had to run joy2key and then click on the open window, then start the emulator.

    You'll want to have at least this much in your ~/.joy2keyrc :
    Code:
    COMMON
    -X
    -dev /dev/input/js0
    -thresh -15715 5684 16383 -13709 15046 -10365 11034 -13375
    Assuming your joystick is /dev/input/js0, and you want this for an X-window based game. If it's fullscreen or console check the examples file. The thresh values are in the form low hi low hi, and you can get your own values by running the program by itself, ie:
    Code:
    joy2key -dev /dev/input/js0 -terminal
    Again...this program is really obnoxious. If you're fed up with it (and I certainly wouldn't blame you if you were) a search in synaptic shows "xjoypad" which seems to do the same thing, but I don't have any experience with it.

    Good luck.

  5. #5
    Join Date
    Jun 2007
    Beans
    15

    Re: I'm having trouble figuring out Joy2Key....

    Thanks for the help! I'll try it and let you know how it goes.

  6. #6
    Join Date
    Dec 2005
    Location
    UK
    Beans
    13
    Distro
    Kubuntu Breezy 5.10

    Re: I'm having trouble figuring out Joy2Key....

    Have you managed to get it working yet? I have it working but struggling with full screen mode.

  7. #7
    Join Date
    Mar 2009
    Beans
    45

    Re: I'm having trouble figuring out Joy2Key....

    I typ[CENTER]e[ed in all the commands but i still can't get the damn thing to open. Does it open like it does in windows or am i missing something?

  8. #8
    Join Date
    Sep 2007
    Location
    Central, IL USA
    Beans
    158
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: I'm having trouble figuring out Joy2Key....

    Has anybody been able to get this program to work with an actual game? I've been able to get my commands from a game pad to emulate keyboard commands but only in specified windows, not in an actual game. Any luck from anybody else?

    ~~archery~~

  9. #9
    Join Date
    Apr 2010
    Beans
    2
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: I'm having trouble figuring out Joy2Key....

    mine has

    joy2key - reads joystick status and dispatches keyboard events
    By Peter Amstutz (tetron@interreality.org)
    This is free software under the GNU General Public License (GPL v2)
    (see COPYING in the joy2key archive)
    You are welcome to use/modify this code, and please e-mail me
    if anything cool comes of it!
    Version: 1.6.3 Binary built on Dec 22 2009 at 13:45:44

    Error opening /dev/input/js0!
    Are you sure you have joystick support in your kernel?

  10. #10
    Join Date
    Sep 2010
    Beans
    4

    Exclamation Re: I'm having trouble figuring out Joy2Key....

    I DO NOT uNDeRStAND...

    I program robots, and this is much harder...

    please somebody help

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •