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

    Dreamcast "Escape" Button

    Scheduled Pinned Locked Moved Help and Support
    dreamcastreicastreicast control
    2 Posts 2 Posters 2.8k 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.
    • C
      Concat
      last edited by Concat

      I have done some custom mapping for Reicast, and all seems to be working well apart from exiting the emulator. Right now I have to use cntrl-c to exit.

      Reading the wiki helped a lot, but I am quite confused by the different formats of the example config files. Under Controls , there is an example config for PS3 controller. https://github.com/retropie/retropie-setup/wiki/Dreamcast

      [PLAYSTATION(R)3 Controller]
      button.0=Btn_Z
      button.1=Btn_C
      button.2=Btn_D
      button.3=Btn_Start
      button.4=DPad_Up
      button.5=DPad_Right
      button.6=DPad_Down
      button.7=DPad_Left
      button.8=Axis_LT
      button.9=Axis_RT
      button.10=DPad2_Left
      button.11=DPad2_Right
      button.12=Btn_Y
      button.13=Btn_B
      button.14=Btn_A
      button.15=Btn_X
      button.16=Quit
      axis.0=Axis_X
      axis.1=Axis_Y
      

      Note in this file it says button.16=Quit

      Further down it has this config file:

      [emulator]
      mapping_name = Xbox Gamepad (userspace driver)
      btn_escape = 0x13a
      
      [dreamcast]
      btn_a = 0x130h
      btn_b = 0x131h
      btn_c = 
      btn_d = 0x139h
      btn_x = 0x133h
      btn_y = 0x134h
      btn_z = 0x138h
      btn_start = 0x13Bh
      axis_x = 0x00
      axis_y = 0x01
      axis_trigger_left = 0x0a
      axis_trigger_right = 0x09
      
      [compat]
      axis_dpad1_x = 0x10
      axis_dpad1_y = 0x11
      

      Here is has btn_escape = 0x13a instead of Quit, and the ordering is flipped. That is, mapped button = controller input vs controller input = mapped button. Perhaps the ordering doesn't matter... but what is Quit vs btn_escape?

      B 1 Reply Last reply Reply Quote 0
      • B
        backstander @Concat
        last edited by

        @Concat
        The 2nd one is closer to the correct format but not sure about the button mapping.

        Just run evtest to get the correct mapping.

        This thread might be helpful:
        https://retropie.org.uk/forum/topic/5006/reicast-stuck-on-time-date

        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.