Xb2XInput icon indicating copy to clipboard operation
Xb2XInput copied to clipboard

not really an issue, more a question

Open medievil1 opened this issue 4 years ago • 4 comments

does this support the analog face buttons the OG xbox has? many og xbox games used the analog face buttons and with xemu and cxbxr improving.. this is the ideal solution for controller support/

medievil1 avatar Sep 15 '21 00:09 medievil1

Sadly not, xinput doesn't have any support for analog buttons, so there's no way to translate it over :/ It can actually read the analog value, but doesn't copy it over or anything.

Maybe DirectInput controllers could work with analog buttons, haven't looked into that, but don't really think ViGEmBus can work with them at all :(

emoose avatar Sep 15 '21 06:09 emoose

Do we have any chances for DirectInput mode for Xb2XInput in the future? It would let to enable analog buttons on PC.

Currently we do not have proper driver which can be used for OG Xbox emulators (emulating analog buttons). Mayflash's is an mistake, which allows only 2 pressure sensitive buttons in one config (usually disabling analog triggers). XBCD apart of unsigned driver is giving 3 axis for 8 buttons, so even if we will assign two buttons to them (for normal and negative axis), two of buttons will stay digital. Such DirectInput driver can be used even for PS2 and PS3 emulators, where these pressure-sensitive face buttons are already supported. I saw that people are asking if it is possible to use Xbox OG controller with Playstation emulators. As long, as we do not have such driver, it is not possible.

Sadly, this unique feature (pressure sensitive buttons) can be forgotten if we will not receive any driver which will help to prevent it. I saw that reWASD software added pressure-sensitive support for Dualshock 3 where we can remap buttons and activate different actions depends on how hard we are pressing buttons. It would be nice to have such support for Xbox device too.

eVenent avatar Dec 27 '21 14:12 eVenent

analog buttons are possible, using libusb it was recently added as standard on cxbxr... plug the og xbox controller in via usb and it will read it all analog buttons intact

medievil1 avatar Dec 27 '21 20:12 medievil1

Great to know! At least one emulator supports OG controller properly. Now we need someone to create DirectInput driver based on this solution and controller will have perfect support on PC. We will be able to spread pressure sensitive support to PS2 and PS3 emulators too.

eVenent avatar Dec 28 '21 07:12 eVenent