ClassicGMR Posted July 19, 2012 Posted July 19, 2012 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 = 1B = 2X = 3Y = 4L = 5R = 6BACK = 7START = 8LEFT STICK = 9RIGHT STICK = 10Setup Wizard sees:A = 0B = 1X = 2Y = 3L = 4R = 5BACK = 6START = 7LEFT STICK = 8RIGHT STICK = 9I haven't tested this on Windows 7 yet but I will in a few minutes.EDIT: Windows 7 x64 does the exact same thing. Quote
Tempest Posted July 19, 2012 Posted July 19, 2012 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. Quote
AlphaUMi Posted July 19, 2012 Posted July 19, 2012 @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? Quote
Tom Speirs Posted July 19, 2012 Posted July 19, 2012 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? 1 Quote
AlphaUMi Posted July 19, 2012 Posted July 19, 2012 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! Quote
Bigby Posted July 19, 2012 Posted July 19, 2012 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. Quote
ClassicGMR Posted July 19, 2012 Author Posted July 19, 2012 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.