Two or more gamepads

Need help? Ask here and someone will help
partyzone
Posts: 16
Joined: Mon Aug 10, 2020 1:06 pm

Two or more gamepads

Post by partyzone »

Hello everyone. I build GIMX adapter use - Arduino Leonardo and USB>TTL, load firmware and connect to my PS3. Gamepad works fine, but when i connect SECOND or more gamepad - GIMX send to PS3 only first controll, others cant see. But in config i can setup all buttons on all gamepads. How send to ps3 two or more gamepads?
Image
Image
Image
Image
User avatar
LoneWolf81
Posts: 235
Joined: Sat Jun 15, 2019 11:49 am
Location: South Africa

Re: Two or more gamepads

Post by LoneWolf81 »

Hi

Please add your log file.

Also if I understand correctly you want to be able to play with someone using the same computer, keep in mind that you need a DIY adapter for each player. You will also then instead of running the GUI use the command line for example

Code: Select all

gimx -c config.xml -p COMX -p COMY
Where you substitute X and Y to the COM port numbers for the adapters.
Please Remember to Post your Log file in the support section , that way its easier and faster to start identifying the issue thus helping you to sort it out so you can enjoy GIMX :D .
partyzone
Posts: 16
Joined: Mon Aug 10, 2020 1:06 pm

Re: Two or more gamepads

Post by partyzone »

LoneWolf81 wrote: Mon Aug 10, 2020 2:29 pm Hi

Please add your log file.

Also if I understand correctly you want to be able to play with someone using the same computer, keep in mind that you need a DIY adapter for each player. You will also then instead of running the GUI use the command line for example

Code: Select all

gimx -c config.xml -p COMX -p COMY
Where you substitute X and Y to the COM port numbers for the adapters.
I dont create log file, sorry. But i understand, if I want use second gamepad - i must connect to PS3 SECOND GIMX adapter???
And then, if i WANT play with 8 gamepads - i must connect 8 USB to PC and 8 USB to ps3? But ps3 have only two USB ports, i can use HUB then or it have another way?
Second question - i push START button, can control PS3, but if i plug out my gamepad, after PLUG in - control dosnt work. I Must CLOSE terminal and press START again. Possible enable hot plug in settings, like recconnect without restart GIMX?
User avatar
LoneWolf81
Posts: 235
Joined: Sat Jun 15, 2019 11:49 am
Location: South Africa

Re: Two or more gamepads

Post by LoneWolf81 »

If you plug out the game pad emulation will stop there is no way around this.

Yes you will need a usb hub and a configuration file set up for the amount of controllers you want to use maximum is 7

What game are you trying to set it up for?
Please Remember to Post your Log file in the support section , that way its easier and faster to start identifying the issue thus helping you to sort it out so you can enjoy GIMX :D .
partyzone
Posts: 16
Joined: Mon Aug 10, 2020 1:06 pm

Re: Two or more gamepads

Post by partyzone »

LoneWolf81 wrote: Tue Aug 11, 2020 4:38 am If you plug out the game pad emulation will stop there is no way around this.
And cant make some batch file for restart or else?
Yes you will need a usb hub and a configuration file set up for the amount of controllers you want to use.
Understand, use 8 usb hub then.
What game are you trying to set it up for?
Castle Crushers for example.
User avatar
LoneWolf81
Posts: 235
Joined: Sat Jun 15, 2019 11:49 am
Location: South Africa

Re: Two or more gamepads

Post by LoneWolf81 »

No it will have to be restarted, for what reason are you unplugging the gamepad ?

The maximum is 7
Please Remember to Post your Log file in the support section , that way its easier and faster to start identifying the issue thus helping you to sort it out so you can enjoy GIMX :D .
partyzone
Posts: 16
Joined: Mon Aug 10, 2020 1:06 pm

Re: Two or more gamepads

Post by partyzone »

LoneWolf81 wrote: Thu Aug 13, 2020 4:29 am No it will have to be restarted, for what reason are you unplugging the gamepad ?

The maximum is 7
I hosting some games by Parsec (Gamimg Cloud) in Arcade mode. Guy enter to room and connect with virtual gamepad. After hour he leave and disconnect, then connect other guy, but i must then restart GIMX, because it lost gamepad. Its mean, i must controll everytime this process?

I order Arduino Leonardo more 3 pcs and usb ttl too. And usb hub too.
partyzone
Posts: 16
Joined: Mon Aug 10, 2020 1:06 pm

Re: Two or more gamepads

Post by partyzone »

I am back. Today i got more three GIMX adapters. Connect to pc and flash firmware by PS3. Connect to console and start three times GIMX on different ports. I config 1 gamepad on Xinput 0, gamepad#2 on Xinput 2 &etc... But, after normally connected First pad, I start GIMX launcher second window and PS3 droped all gamepads, even first. How need setup second and else gamepads in config, if i have 4 GIMX adapters and 4 XINPUT gamepads??? Here logs from second gamepad.

Code: Select all

global option -l with value `log.txt'
global option -c with value `Pars1-2pl.xml'
controller #1: option -p with value `COM13'
now reading arguments for controller #2
grab flag is unset
status flag is set
subpos flag is set
force_updates flag is set
window_events flag is set
GIMX 8.0 x86_64
Windows 10 (or later) x64
Kernel version: 10.0 (18363)
GIMX adapter detected, controller type is: Sixaxis.
Firmware version: 8.0
Reset sent to the GIMX adapter.
Current baudrate: 500000 bps.
Trying baudrate: 2000000 bps.
Using baudrate: 2000000 bps.
no pass-through device is needed
using default refresh period: 10.00ms
mouse 0 has name 'Window Events' and virtual id 0
keyboard 0 has name 'Window Events' and virtual id 0
joystick 0 has name 'XInput Controller' and virtual id 0
joystick 1 has name 'XInput Controller' and virtual id 1
Dump of C:\Users\Serka\AppData\Roaming/gimx/config/Pars1-2pl.xml:
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <controller id="2" dpi="0" type="Sixaxis">
    <configuration id="1">
      <trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
      <mouse_options_list/>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_3" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="button" id="11"/>
        </button>
        <button id="abs_axis_5" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="button" id="12"/>
        </button>
        <button id="abs_axis_9" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="button" id="0"/>
        </button>
        <button id="abs_axis_8" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_7" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_1" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="button" id="6"/>
        </button>
        <button id="abs_axis_0" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="button" id="4"/>
        </button>
        <button id="abs_axis_12" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="button" id="9"/>
        </button>
        <button id="abs_axis_11" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="button" id="10"/>
        </button>
        <button id="abs_axis_15" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="button" id="7"/>
        </button>
        <button id="abs_axis_16" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="button" id="8"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_1" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="axis" id="1" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_0" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="axis" id="0" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_3" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="axis" id="3" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_2" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="axis" id="2" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_13" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="axis" id="4" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_14" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="axis" id="5" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
  </controller>
  <controller id="3" dpi="0" type="Sixaxis">
    <configuration id="1">
      <trigger type="joystick" id="1" name="XInput Controller" button_id="0" switch_back="no" delay="0"/>
      <mouse_options_list/>
      <intensity_list/>
      <button_map/>
      <axis_map>
        <axis id="rel_axis_1" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="axis" id="1" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_0" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="axis" id="0" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_3" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="axis" id="3" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_2" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="axis" id="2" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_13" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="axis" id="4" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_14" label="">
          <device type="joystick" id="1" name="XInput Controller"/>
          <event type="axis" id="5" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
  </controller>
</root>
rounding timer period 10000us to 9918us
src/windows/gprio.c:376 unsetprocessaffinities: SetProcessAffinityMask failed with error: Отказано в доступе.


Warning: 1266874730.158915 unhandled packet (type=0x31)
Warning: 1266874730.158986 unhandled packet (type=0x00)
Warning: 1266874730.158995 unhandled packet (type=0x00)
Warning: 1266874730.159005 unhandled packet (type=0xff)
Warning: 1266874730.159012 unhandled packet (type=0x00)
Warning: 1266874730.160642 unhandled packet (type=0x00)
Warning: 1266874730.160664 unhandled packet (type=0x00)
Warning: 1266874730.160671 unhandled packet (type=0x00)
Warning: 1266874730.160678 unhandled packet (type=0x00)
Warning: 1266874730.160684 unhandled packet (type=0x00)
Warning: 1266874730.160690 unhandled packet (type=0x00)
Warning: 1266874730.160696 unhandled packet (type=0x00)
Warning: 1266874730.160702 unhandled packet (type=0x00)
Warning: 1266874730.160709 unhandled packet (type=0x00)
Warning: 1266874730.160716 unhandled packet (type=0x00)
Exiting
User avatar
LoneWolf81
Posts: 235
Joined: Sat Jun 15, 2019 11:49 am
Location: South Africa

Re: Two or more gamepads

Post by LoneWolf81 »

The additional controllers are setup in your config as shown here https://gimx.fr/wiki/index.php?title=Gi ... ontrollers

You only need to start one instance specifying the config file and then the different ports but this has to be from a COMMAND LINE as I showed in a previous reply.
Please Remember to Post your Log file in the support section , that way its easier and faster to start identifying the issue thus helping you to sort it out so you can enjoy GIMX :D .
partyzone
Posts: 16
Joined: Mon Aug 10, 2020 1:06 pm

Re: Two or more gamepads

Post by partyzone »

LoneWolf81 wrote: Wed Sep 09, 2020 6:25 am The additional controllers are setup in your config as shown here https://gimx.fr/wiki/index.php?title=Gi ... ontrollers
Yes, i got it and setup correctly.
You only need to start one instance specifying the config file and then the different ports but this has to be from a COMMAND LINE as I showed in a previous reply.
Then i start batch file, all works good. First player can control the system, BUT when second player press something - all controllers reset and second player got first player control. After first player press something - again drop and he got control. What happ??? Why two gamepads can control only one character and why system drop other control and allow only one gamepad? What i need to do? I want use four gamepads.
Post Reply