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

    PiFBA - Cannot change exit emulator key to button press?

    Scheduled Pinned Locked Moved Help and Support
    1 Posts 1 Posters 1.0k 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.
    • T
      Tiny Sumo
      last edited by

      Hi,

      I've remapped some of the button functions in PiFBA so that player 1 and 2 can enter coins and start a game.... but cannot remap the exit emulator key (currently i press ESCAPE) to a button such as player 1 button # 6

      My current config contents are:

      [Keyboard]

      Get codes from /usr/include/SDL/SDL_keysym.h

      A_1=306
      B_1=32
      X_1=308
      Y_1=304
      L_1=122
      R_1=120
      START_1=276
      SELECT_1=9
      LEFT_1=276
      RIGHT_1=275
      UP_1=273
      DOWN_1=274
      QUIT=27
      #player 2 keyboard controls, disabled by default
      A_2=999
      B_2=999
      X_2=999
      Y_2=999
      L_2=999
      R_2=999
      START_2=275
      SELECT_2=999
      LEFT_2=999
      RIGHT_2=999
      UP_2=999
      DOWN_2=999

      [Joystick]

      Get codes from "jstest /dev/input/js0"

      from package "joystick"

      A_1=0
      B_1=1
      X_1=2
      Y_1=3
      L_1=4
      R_1=6
      START_1=11
      SELECT_1=10
      #Joystick axis
      JA_LR=0
      JA_UD=1
      #player 2 button configuration
      A_2=0
      B_2=1
      X_2=2
      Y_2=3
      L_2=4
      R_2=6
      START_2=11
      SELECT_2=10
      #Joystick axis
      JA_LR_2=0
      JA_UD_2=1

      [Graphics]
      DisplaySmoothStretch=1

      Display Effect: 0 none, 1 scanlines

      DisplayEffect=0
      DisplayBorder=0
      MaintainAspectRatio=1

      [Sound]

      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.