RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Raphnet NES2USB Struggles

    Scheduled Pinned Locked Moved Help and Support
    raphnetnes2usbby-id
    21 Posts 5 Posters 4.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hansolo77H
      hansolo77
      last edited by

      So as a test, I changed the runcommand.sh script to # comment out the if/then statement and make it only load the jsX device. It now read as:

      function start_joy2key() {
          [[ "$DISABLE_JOYSTICK" -eq 1 ]] && return
          # get the first joystick device (if not already set)
      #    if [[ -c "$__joy2key_dev" ]]; then
      #       JOY2KEY_DEV="$__joy2key_dev"
      #    else
              JOY2KEY_DEV="/dev/input/jsX"
      #    fi
          # if joy2key.py is installed run it with cursor keys for axis, and enter + tab for buttons 0 and 1
          if [[ -f "$ROOTDIR/supplementary/runcommand/joy2key.py" && -n "$JOY2KEY_DEV" ]] && ! pgrep -f joy2key.py >/dev/null; then
      
              # call joy2key.py: arguments are curses capability names or hex values starting with '0x'
              # see: http://pubs.opengroup.org/onlinepubs/7908799/xcurses/terminfo.html
              "$ROOTDIR/supplementary/runcommand/joy2key.py" "$JOY2KEY_DEV" kcub1 kcuf1 kcuu1 kcud1 0x0a 0x09 &
              JOY2KEY_PID=$!
          fi
      }
      

      This test didn't work. I still have the same results of not being able to trigger RunCommand.

      Who's Scruffy Looking?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.