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

Recommended Posts

Posted

This was mentioned in another thread but I'd like to bring it to Tom's attention as a potential bug.

I have a Microsoft XBox 360 controller running on Windows XP SP3. The controller works great in the system. It maps the buttons as 1-10 in the Control Panel.

GameEx reads the controller as 0-9. It is one-off what the system reads. I also have this issue with my Playstation USB adapter. The buttons are mapped in XP fine but GameEx sees them as a value one less than the system.

I have done the custominput.ini manually and through the setup wizard with the same results. Whether I manually set the values to what Windows sees or use the setup wizard it does not fix the issue.

XBOX 360 controller is a Wired USB controller with latest driver from Microsoft.

Control Panel sees:

A = 1

B = 2

X = 3

Y = 4

L = 5

R = 6

BACK = 7

START = 8

LEFT STICK = 9

RIGHT STICK = 10

Setup Wizard sees:

A = 0

B = 1

X = 2

Y = 3

L = 4

R = 5

BACK = 6

START = 7

LEFT STICK = 8

RIGHT STICK = 9

I haven't tested this on Windows 7 yet but I will in a few minutes.

EDIT: Windows 7 x64 does the exact same thing.

Posted

Yup. Its why I use Xpadder instead. ;)

Posted

I had the same problem when I was working on CFG Magician. The problem for me was that it wasn't the same for everybody. I added a key to the ini file that the user could set to 0 or 1 depending on whether or not they need to add 1 to the value or not. Perhaps Headkaze could add this type of thing to the setup wizard.

Posted

@ClassicGMR:

You explained the issue very well. I use a USB joypad (Kraun). I already noticed that GameEx numbers the keys starting from 0, while Windows starts from 1... and a lot of emulators use the GameEx schema. But I hadn't any issue with this so far, though. When I set a key, it works, and it doesn't matter if for Windows is "0" and for GameEx is "1".

But it seems that, in your case, keys are not bound correctly, isn't it?

Posted

Sorry, but I don't see exactly how this is an issue? Its actually windows that adds the one to make things more user friendly. In code buttons start at 0.

What exactly does not work because of this?

  • Like 1
Posted

Sorry, but I don't see exactly how this is an issue? Its actually windows that adds the one to make things more user friendly. In code buttons start at 0.

What exactly does not work because of this?

In fact, as I already stated, for me there is no difference, and buttons are working as expected. I'm waiting too to see if this is only a "mathematical" view or if there is a real issue! :)

Posted

The only issue I have is when I try to map a joystick button for the "Global Exit - Joystick Exit" to exit emulators from within GameEx.

I know I can use the advanced emulator config to add exit to each emulator config (which is probably what I'll do), but if there was an easier fix, then that would be even better.

Posted

Sorry, but I don't see exactly how this is an issue? Its actually windows that adds the one to make things more user friendly. In code buttons start at 0.

What exactly does not work because of this?

The only issue I have is when I try to map a joystick button for the "Global Exit - Joystick Exit" to exit emulators from within GameEx.

Well this is one of the big ones - mapping Global Exit.

This is the first time I've seen the response above so if it is a Windows issue and not the GameEx front end then I'll just work around it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...