xpadneo icon indicating copy to clipboard operation
xpadneo copied to clipboard

Disable profile switching to allow key combos

Open alkazar opened this issue 2 years ago • 0 comments

Version of xpadneo

0.9.5

Controller Model

  • [x] Xbox One S controller
  • [ ] Xbox Elite 2 controller
  • [x] Xbox Series X|S controller
  • [ ] Other:

Connection mode

  • [x] Bluetooth connection
  • [ ] USB cable (not yet supported)
  • [ ] Xbox Dongle connection (not yet supported)

Describe your feature request

  • [ ] I'd like to see support for a specific model
  • [ ] I'd like to see support for a specific hardware feature
  • [x] I'd like to see support for a specific software feature

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when ...

Due to emulated profile switching on Xbox One S and Xbox Series controllers, applications such as Steam cannot detect key combos.

For example, Xbox button + A brings up the Quick access menu, Xbox button + X brings up the on screen keyboard in Steam's Gamepad UI. This functionality does not work with xpadneo because of the profile switching functionality which appears to completely swallow the events when I tested with evtest. These key combos do work with the kernel's xpad driver.

Describe the solution you'd like A clear and concise description of what you want to happen.

Since the profile switching feature is unfinished and non-functional, I propose that it be disabled by default and perhaps enabled with a configuration option.

In the xpadneo code, the section starting on line 922 of hid-xpadneo/src/hid-xpadneo.c seems to be related. I suspect disabling that section of code would enable key combos. There does not appear to be an existing configuration option to turn this feature off.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

None

Additional context Add any other context or screenshots about the feature request here.

None

alkazar avatar Apr 23 '23 17:04 alkazar