[WIP] ButtonSwap3DS - Remap buttons on your 3DS

Discussion in '3DS - Homebrew Development and Emulators' started by mcaboosec, Feb 13, 2017.

  1. MyLegGuy

    MyLegGuy Moron

    Member
    531
    326
    Nov 26, 2014
    United States
    Has anybody made code that swaps the circle pad and dpad yet?
    If so, please add the code here. I'd like to add it to my own build.
     
  2. MadMageKefka

    MadMageKefka GBAtemp Advanced Maniac

    Member
    1,502
    1,316
    Apr 28, 2016
    United States
    World of ruin
    MyLegGuy likes this.
  3. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    7,302
    4,736
    Jan 17, 2013
    Mexico
    Has anyone made a code that swaps the four face buttons (A,B,X,Y) to the C-Stick nub for N3DS?
    I want to use this for Metroid Prime Hunters.
     
  4. Damon_girl

    Damon_girl GBAtemp Advanced Fan

    Member
    919
    198
    Oct 27, 2015
    United States
    Has anybody made a code that swaps the Y button with A? Want it for Samus Returns. I don't like hitting Y to shoot.
     
  5. BossRoss93

    BossRoss93 GBAtemp Regular

    Member
    129
    23
    Jan 26, 2012
    United States
    Wait the latest version now has C-nub compatibility? I didn't notice that on the front post.
     
  6. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    7,302
    4,736
    Jan 17, 2013
    Mexico
    Oh i'm not sure if it does, I'm just asking.
    I haven't been following this closely to know.
     
  7. BossRoss93

    BossRoss93 GBAtemp Regular

    Member
    129
    23
    Jan 26, 2012
    United States
    Sorry I didn't see this earlier. Glad you got it working
     
  8. danger229

    danger229 Advanced Member

    Newcomer
    52
    29
    Mar 1, 2017
    United States
    As of right now, the CStick, ZL, and ZR buttons are not suppored

    Attached is a build that swaps A and Y, Let me know if something goes wrong.
     

    Attached Files:

    Damon_girl likes this.
  9. Damon_girl

    Damon_girl GBAtemp Advanced Fan

    Member
    919
    198
    Oct 27, 2015
    United States
    Awesome, thanks!
     
  10. Termer

    Termer Offensive Memelord Programmer

    Member
    193
    91
    Apr 26, 2017
    United States
    Kekistan
    Thanks! This looks awesome. My n3DSXL's R button doesn't work, so this will allow me to use it again! I used to use InputRedirection to use it, but that kinda kills portability.
     
  11. Hyaritsu

    Hyaritsu Member

    Newcomer
    12
    0
    Dec 12, 2012
    United States
    Any chance for control stick to dpad/dpad to control stick with a combo to nullify it for temp? Would be useful for Metroid: Samus Returns.
     
  12. BL4Z3D247

    BL4Z3D247 GBAtemp Stoner

    Member
    1,678
    412
    Oct 22, 2008
    United States
    I'm so high, I don't even know!
    MadMageKefka likes this.
  13. Hyaritsu

    Hyaritsu Member

    Newcomer
    12
    0
    Dec 12, 2012
    United States
    I use that one but you have abilities mapped to the dpad and the cstick doesn't seem to want to activate them
     
  14. danger229

    danger229 Advanced Member

    Newcomer
    52
    29
    Mar 1, 2017
    United States
    You mean something where pressing the dpad does nothing but if you press a button, like Dpad Left = None, L+Dpad Left = Dpad Left?
    if so i can build something for you but i would have to manually do it since my program does not have enough slots to do i all in one go.
     
  15. Hyaritsu

    Hyaritsu Member

    Newcomer
    12
    0
    Dec 12, 2012
    United States
    Yeah basically something like that.
     
  16. danger229

    danger229 Advanced Member

    Newcomer
    52
    29
    Mar 1, 2017
    United States
    try this, first time dealing with stuff that is binding an input to nothing as well as dealing with more than 6 rebinds, i should probably make my program support more than 6, UI will suffer, but who likes a good looking UI, i sure as hell don't. If there's a problem let me know or msg me on discord
     

    Attached Files:

    BL4Z3D247 likes this.
  17. danger229

    danger229 Advanced Member

    Newcomer
    52
    29
    Mar 1, 2017
    United States
    Just as an update, as of right now I am able to make rebinds that rebind buttons to the Circle Pad (referred to as CPad) but as of this moment i am not able to make it go the other way around. ButtonSwap3dsMaker will be getting an update in maybe a few days that includes this and an increase to the limit of rebinds that can be done at one time.

    EDIT: If anyone can figure out a way to make CPad press buttons let me know, it could be something that needs edited in the source code, unfortunately i dont know assembly or C/C++ so i cant really see if its something that can be coded in the injected.s or main.c files
     
    Last edited by danger229, Sep 15, 2017
    BORTZ likes this.
  18. panoschuvardas

    panoschuvardas Advanced Member

    Newcomer
    91
    10
    Sep 22, 2015
    Greece
    Hey man I love the patch you made for me! Turns out tho it doesnt work with vc games.
    So i guess sorry for bothering you :D
     
  19. Feffe

    Feffe Advanced Member

    Newcomer
    78
    31
    Oct 12, 2008
    Italy
    @danger229 can you do
    Circle pad to dpad
    +
    Dpad to circle pad
    +
    L+circle pad = L+circle pad
    ?

    Basically I want to move Samus with the dpad, using the stick to select the abilities. But I want to aim (and ingame you have to keep L pressed to aim) with the control stick. Is it possible?

    Thanks :)
     
  20. danger229

    danger229 Advanced Member

    Newcomer
    52
    29
    Mar 1, 2017
    United States
    i think you mean L+Dpad = L+CPad, i can see about doing such a thing when i get my program to do CPad stuff correctly, as of right now i cant get the CPad to be bound to other things
     
    Feffe likes this.