Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord
    1. Home
    2. Recent
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • billbob56789

      Recalbox 9 vibration non stop n64
      GamePad/GPIO/USB encoder • recalbox vibration non stop • • billbob56789

      2
      0
      Votes
      2
      Posts
      446
      Views

      billbob56789

      je viens de reset la config de recalbox, la vibration a disparu.
      Par contre, quand je refais la config de la manette, ça revient.

    • 0zzy

      Arduino Pro Micro ATmega32U4
      GamePad/GPIO/USB encoder • arduino atmega32u4 • • 0zzy

      2
      0
      Votes
      2
      Posts
      551
      Views

      0zzy

      I'm wrong, does not happen quitting game or reloading ES after updating game list for example, but only after the boot process.

      It happend even if i have unplugged the microswitch UP

      // Simple arcade stick example that demonstrates how to read twelve // Arduino Pro Micro digital pins and map them to the // Arduino Joystick library. // // The digital pins 2 - 20 are grounded when they are pressed. // Pin 10, A10, Red = UP // Pin 15, D15, Yellow = RIGHT // Pin 16, D16, Orange = DOWN // Pin 14, D14, Green = LEFT // Pin 9, A9 = Button 1 // Pin 8, A8 = Button 2 // Pin 7, D7 = Button 3 // Pin 3, D3 = Button 4 // Pin 2, D2 = Button 5 // Pin 4, A6 = Button 6 // Pin 20, A2 = Select Button 1 // Pin 19, A1 = Start Button 2 // Pin 5, D5 = Other Button // Pin 6, A7 = Other Button // Pin 18, A0 = Other Button // Pin 21, A3 = Other Button // NOTE: This sketch file is for use with Arduino Pro Micro only. // // Original gamepad example by Matthew Heironimus // 2016-11-24 // Adapted for arcade machine setup by Ben Parmeter // 2019-05-20 //-------------------------------------------------------------------- #include <Joystick.h> Joystick_ Joystick(JOYSTICK_DEFAULT_REPORT_ID,JOYSTICK_TYPE_GAMEPAD, 8, 0, // Button Count, Hat Switch Count true, true, false, // X and Y, but no Z Axis false, false, false, // No Rx, Ry, or Rz false, false, // No rudder or throttle false, false, false); // No accelerator, brake, or steering void setup() { // Initialize Button Pins pinMode(4, INPUT_PULLUP); pinMode(5, INPUT_PULLUP); pinMode(6, INPUT_PULLUP); pinMode(7, INPUT_PULLUP); pinMode(8, INPUT_PULLUP); pinMode(9, INPUT_PULLUP); pinMode(10, INPUT_PULLUP); pinMode(14, INPUT_PULLUP); pinMode(15, INPUT_PULLUP); pinMode(16, INPUT_PULLUP); pinMode(18, INPUT_PULLUP); pinMode(19, INPUT_PULLUP); // Initialize Joystick Library Joystick.begin(); Joystick.setXAxisRange(-1, 1); Joystick.setYAxisRange(-1, 1); } // Last state of the buttons int lastButtonState[12] = {0,0,0,0,0,0,0,0,0,0,0,0}; //int buttonMap[16] = {10,15,16,14,9,8,7,6,5,4,20,19,2,3,18,21}; int buttonMap[12] = {10,15,16,14,9,8,7,6,5,4,18,19}; // ButtonMap = 0, Pin 10 = UP // ButtonMap = 1, Pin 15 = RIGHT // ButtonMap = 2, Pin 16 = DOWN // ButtonMap = 3, Pin 14 = LEFT // ButtonMap = 4, Pin 9 = Button 1 // ButtonMap = 5, Pin 8 = Button 2 // ButtonMap = 6, Pin 7 = Button 3 // ButtonMap = 7, Pin 6 = Button 4 // ButtonMap = 8, Pin 5 = Button 5 // ButtonMap = 9, Pin 4 = Button 6 // ButtonMap = 10, Pin 18 = Select Button 1 // ButtonMap = 11, Pin 19 = Start Button 2 void loop() { // Read pin values for (int index = 0; index < 12; index++) { int currentButtonState = !digitalRead(buttonMap[index]); if (currentButtonState != lastButtonState[index]) { switch (index) { case 0: // UP if (currentButtonState == 1) { Joystick.setYAxis(-1); } else { Joystick.setYAxis(0); } break; case 1: // RIGHT if (currentButtonState == 1) { Joystick.setXAxis(1); } else { Joystick.setXAxis(0); } break; case 2: // DOWN if (currentButtonState == 1) { Joystick.setYAxis(1); } else { Joystick.setYAxis(0); } break; case 3: // LEFT if (currentButtonState == 1) { Joystick.setXAxis(-1); } else { Joystick.setXAxis(0); } break; case 4: // Black Button 1 Joystick.setButton(0, currentButtonState); break; case 5: // Black Button 2 Joystick.setButton(1, currentButtonState); break; case 6: // Black Button 3 Joystick.setButton(2, currentButtonState); break; case 7: // Black Button 4 Joystick.setButton(3, currentButtonState); break; case 8: // Black Button 5 Joystick.setButton(4, currentButtonState); break; case 9: // Black Button 6 Joystick.setButton(5, currentButtonState); break; case 10: // Select Button Joystick.setButton(6, currentButtonState); break; case 11: // Start Button Joystick.setButton(7, currentButtonState); break; } lastButtonState[index] = currentButtonState; } } delay(10); }
    • MichaelKnight

      Problème manettes PSX/PS2 sur GPIO (GAMECON) - entrées de touches aléatoires
      GamePad/GPIO/USB encoder • gamecon • • MichaelKnight

      1
      0
      Votes
      1
      Posts
      322
      Views

      No one has replied

    • Duveral

      GPIO on/off randomly turning on itself
      GamePad/GPIO/USB encoder • gpio onoff randomly turning itself • • Duveral

      1
      0
      Votes
      1
      Posts
      429
      Views

      No one has replied

    • Liverpool-Lad

      Switch Horipad S controller?
      GamePad/GPIO/USB encoder • switch horipad • • Liverpool-Lad

      2
      0
      Votes
      2
      Posts
      465
      Views

      Liverpool-Lad

      Or if anyone can recommend the best overall wired/wireless that would be great. Thanks again.

    • cimbaklm

      PS3 controller paired but don't work in games
      GamePad/GPIO/USB encoder • ps3 paired dont • • cimbaklm

      1
      0
      Votes
      1
      Posts
      432
      Views

      No one has replied

    • Emotes

      Issue with Dragonrise usb controller
      GamePad/GPIO/USB encoder • issue dragonrise usb • • Emotes

      1
      0
      Votes
      1
      Posts
      521
      Views

      No one has replied

    • Zawrot13

      RGB PI to Jamma controller
      GamePad/GPIO/USB encoder • rgb jamma • • Zawrot13

      1
      0
      Votes
      1
      Posts
      391
      Views

      No one has replied

    • siocone

      Pi2Jamma Contoller
      GamePad/GPIO/USB encoder • pi2jamma contoller • • siocone

      2
      0
      Votes
      2
      Posts
      469
      Views

      Zawrot13

      Hi, I have same question. Have anybody already connected and configured joystick and buttons on RGB PI to Jamma? IT give much better response than USB controller. It works well on RGB-PI pie system image so I guess it is only a meter of proper configuration. Is it possible to be supported in version 9 ?

    • bajinaji

      Dual Monster Joystick issue
      GamePad/GPIO/USB encoder • dual monster joystick issue • • bajinaji

      2
      0
      Votes
      2
      Posts
      449
      Views

      poppadum

      @bajinaji Have you tried listing your controllers with
      sdl2-jstest --list? (see wiki page)

      Recalbox for your usb keyboard encoder may also help?

    • Ari_v

      Problème configuration joystick
      GamePad/GPIO/USB encoder • joystick • • Ari_v

      1
      0
      Votes
      1
      Posts
      231
      Views

      No one has replied

    • soandseb

      Joystick game hat psp
      GamePad/GPIO/USB encoder • joystick hat psp • • soandseb

      2
      0
      Votes
      2
      Posts
      447
      Views

      soandseb

      @soandseb
      Bonsoir à tous,
      Matériel: RPi 3B+ sur Game hat Waveshare, recalbox 9
      Je précise ma demande, depuis mon précédent message j'ai formaté et refait l'installation,
      avec la config expliquée sur le wiki Game HAT, tous les bouttons et le joystick fonctionnent correctement mais pas de Hotkey pour pouvoir quitter proprement les jeux alors j'ai reconfiguré les bouttons via le menu mais là c'est le joystick qui ne fonctionne plus sur la PSP notamment, comment peut on mixer les deux pour avoir tous les bouttons qui fonctionnent s'il vous plaît. Si quelqu'un à une idée merci.

    • pronche

      issue with Xin-Mo 18 pin on Recalbox 9.0
      GamePad/GPIO/USB encoder • issue xin-mo pin recalbox 9.0 • • pronche

      3
      0
      Votes
      3
      Posts
      972
      Views

      pronche

      I solved it fully ! 💪
      I have redone the wiring using the attached schema.
      wire xin mo 18 pin.jpg

      After that, in the menu confirmed the mapping for player 1 and player 2.

      I assigned Hot Key for player 1 to L2, and R2 for player 2.

      After that it worked well, except the player 1 and 2 were swapped for an unknown reason, and even in the paf conf menu it changed nothing (a bug?).

      to solve it I modified the recalbox.conf from:

      emulationstation.pad1=03000000c0160000e105000001010000:Xin-Mo Dual Arcade emulationstation.pad0=03000000c0160000e105000001010000:Xin-Mo Dual Arcade

      to:

      emulationstation.pad0=03000000c0160000e105000001010000:Xin-Mo Dual Arcade emulationstation.pad1=03000000c0160000e105000001010000:Xin-Mo Dual Arcade

      that is it. hope it will help others that me.
      @admin, you can mark it as solved.

    • pantoufle

      8bitdo pro 2 wired how to force Android mode?
      GamePad/GPIO/USB encoder • 8bitdo wired pro2 • • pantoufle

      6
      0
      Votes
      6
      Posts
      2209
      Views

      pantoufle

      Hello @Shingohky,
      There is no button to change the mode on the wired version:

      https://www.8bitdo.com/pro2-wired-controller/ https://download.8bitdo.com/Manual/Controller/Pro2-wired/pro2-wired.pdf
    • Jeffeux

      Dreamcast Gamepad and hotkey
      GamePad/GPIO/USB encoder • dreamcast joystick hotkey arcade • • Jeffeux

      1
      1
      Votes
      1
      Posts
      411
      Views

      No one has replied

    • sroach

      Another X-Arcade Tank stick issue
      GamePad/GPIO/USB encoder • another x-arcade tank stick issue • • sroach

      2
      0
      Votes
      2
      Posts
      644
      Views

      sroach

      Can someone confirm that the xarcade2jstick is the driver that handles the X-Arcade tankstick is that correct?

      If I am not able to use/map all my buttons from the tankstick the xarcade2jstick is my issue?

      Since version 9 when I configure a controller not all button register when I am selecting them to map. and it will not seem to map and hold a mapping for the "Hot Button" once I launch Mame. I can't not exit unless I use the KB.

      Thanks for any guidance.

    • zife

      XBOX Series S/X Controller not pairing with Recalbox 7.1
      GamePad/GPIO/USB encoder • 7.1 pairing retrobox series xbox • • zife

      14
      0
      Votes
      14
      Posts
      5760
      Views

      pol9520

      @pol9520 it work on 9.0
      Thanks

    • Lejack

      Dragon rise s'inverse
      GamePad/GPIO/USB encoder • dragon rise sinverse • • Lejack

      9
      0
      Votes
      9
      Posts
      1356
      Views

      flomartin

      @Lejack Heureux d'avoir pu t'aider 🙂

      Et bons jeux 🙂

    • dj0144

      Change EmulationStation gamepad keyboard mapping
      GamePad/GPIO/USB encoder • gamepad keyboard mapping • • dj0144

      3
      0
      Votes
      3
      Posts
      6174
      Views

      dj0144

      To modify the EmulationStation menu mapping, edit the file /recalbox/system/.emulationstation/es_input.cfg. In the 'deviceName="Keyboard"' section, set the 'id' property of each input to the SDL keycode for that keyboard input. To map virtual gamepad button "a" to keyboard key "1", locate the input with 'name="a"' and change the value of 'id' to "49".

      <input name="a" type="key" id="49" value="1" code="168" /> <!-- gamepad a ==> keyboard 1 -->

      [EDIT] In this example, the SDL keycode for keyboard key "1" is 49. SDL keycodes are listed here - https://wiki.libsdl.org/SDL2/SDLKeycodeLookup.

    • blitz_7

      GPIO Controller 2 needs B button pressed in order to work.
      GamePad/GPIO/USB encoder • help me • • blitz_7

      1
      0
      Votes
      1
      Posts
      328
      Views

      No one has replied