Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Button 0 doesn't work in custominput.ini


Recommended Posts

Posted

I'm using a Nyko Airflo Ex (basic USB gamepad without any special drivers) to control GameEx and the games.

I'm having trouble getting button 0 to work in the custominput.ini file. Button 0 should be the first button on the gamepad. However, when I set Select to button 0 in the custominput.ini, none of the buttons on the gamepad perform the select function. If I set Select to button 1, then the second button on the gamepad works correctly as the select button. It's as if button 0 was not correctly mapped to the gamepad. This isn't a huge deal as I can just use other buttons, but it would be nice to be able to use button 0.

The log file also alludes to a possible problem. I chose the option for GameEx to initialize and use the Airflo gamepad in the GameEx config. However, in the log file the following lines show up:

18:26:15.6  1/26/2006:  Initialising DirectInput for Gamepad support
18:26:15.7  1/26/2006:  Looking for Device: AIRFLO
18:26:15.7  1/26/2006:  AIRFLO Not attached. Trying First Device
18:26:15.8  1/26/2006:  Using Device AIRFLO

Perhaps this is part of the problem. The gamepad was attached to the system during the configuration and execution of GameEx. I have not switched USB ports or gamepads.

I also noticed an inconsistency in the joystick config files. In the custominput.ini the button numbering start at zero, whereas in the advanced emulator config the button numbering starts at one (same as the windows control panel). Just something small that could be fixed.

Thanks

Posted
I'm using a Nyko Airflo Ex (basic USB gamepad without any special drivers) to control GameEx and the games.

I'm having trouble getting button 0 to work in the custominput.ini file. Button 0 should be the first button on the gamepad. However, when I set Select to button 0 in the custominput.ini, none of the buttons on the gamepad perform the select function. If I set Select to button 1, then the second button on the gamepad works correctly as the select button. It's as if button 0 was not correctly mapped to the gamepad. This isn't a huge deal as I can just use other buttons, but it would be nice to be able to use button 0.

The log file also alludes to a possible problem. I chose the option for GameEx to initialize and use the Airflo gamepad in the GameEx config. However, in the log file the following lines show up:

18:26:15.6  1/26/2006:  Initialising DirectInput for Gamepad support
18:26:15.7  1/26/2006:  Looking for Device: AIRFLO
18:26:15.7  1/26/2006:  AIRFLO Not attached. Trying First Device
18:26:15.8  1/26/2006:  Using Device AIRFLO

Perhaps this is part of the problem. The gamepad was attached to the system during the configuration and execution of GameEx. I have not switched USB ports or gamepads.

I also noticed an inconsistency in the joystick config files. In the custominput.ini the button numbering start at zero, whereas in the advanced emulator config the button numbering starts at one (same as the windows control panel). Just something small that could be fixed.

Thanks

I am a little puzzled about this, I can't see anything wrong in the code. Maybe you could try swapping you gamepad out to another port. I am aware of the button discrepancy, but I think, although I could be wrong this issue is specific to your system there. Sorry, no other ideas for now.

Posted

I just tried a different port, another Airflo Ex gamepad, and a Saitek Cyborg 3D joystick. All of them have the same problem with button 0 not working. All the buttons seem to work fine in the Windows Game Controller control panel.

The Cyborg 3D joystick shows up in the log correctly atleast.

12:28:15.1  1/28/2006:  Initialising DirectInput for Gamepad support
12:28:15.1  1/28/2006:  Looking for Device: CYBORG 3D USB
12:28:15.2  1/28/2006:  Device Created

Posted

I installed GameEx on another computer and copied the config across. Button 0 still does not work on this computer.

I tried closing as many processes as possible on the computer that is having the problem - didn't help. I also updated to the latest version of DirectX which also didn't make any difference. I'm using .net v1.1 - should I upgrade to v2.0?

I've attached my custominput.ini file.

A recent log and my current config are available here: http://www.gameex.info/forums/index.php?sh...findpost&p=6170

I'm not sure how to troubleshoot this.

custominput.ini.txt

Posted
I installed GameEx on another computer and copied the config across. Button 0 still does not work on this computer.

I tried closing as many processes as possible on the computer that is having the problem - didn't help. I also updated to the latest version of DirectX which also didn't make any difference. I'm using .net v1.1 - should I upgrade to v2.0?

I've attached my custominput.ini file.

A recent log and my current config are available here: http://www.gameex.info/forums/index.php?sh...findpost&p=6170

I'm not sure how to troubleshoot this.

I can see the problem now. It's because youv'e commented out some of the mappings. Probably wernt the greatest idea, but by default GameEx will assign to button 0 if it cant find the setting in the ini.

Posted

I uncommented those lines in the custominput.ini file and it's working great now. Thanks!

Guest
This topic is now closed to further replies.
×
×
  • Create New...