KeyMapper icon indicating copy to clipboard operation
KeyMapper copied to clipboard

App disables Direct Input

Open RonOren opened this issue 1 year ago • 5 comments

Developer TODO

  • [ ] create new branch. put issue number at start of name if not a very quick fix.
  • [ ] write tests. put issue number in comment
  • [ ] update documentation
  • [ ] merge and delete branch (don't squash because want commit history to see why I made changes)

Accessibility disables Direct Input on OnePlus 12 As it sounds, When Accessibility is turned on Xbox controller connected to OnePlus Device via USB OTA cable doesn't work. When accessibility is disabled everything works as intended. Tested on multiples apps, all behave the same.

To Reproduce Steps to reproduce the behavior:

  1. Use OnePlus 12 Phone
  2. Enable Accessibility
  3. Connect Xbox Controller
  4. Open any kind of game with controller support

Device Info:

  • Device: OnePlus 12
  • Android version: 14

RonOren avatar Jun 08 '24 18:06 RonOren

Can you try other apps that use an accessibility service, like Button Mapper?

sds100 avatar Jun 12 '24 11:06 sds100

Can you try other apps that use an accessibility service, like Button Mapper?

I have, I get the same issue.

RonOren avatar Jun 15 '24 09:06 RonOren

Can you find any accessibility service that doesnt have the issue? What about Talkback or Switch Access? Otherwise it sounds like some bug or unintended behavior with the Direct Input feature that I probably can't fix.

sds100 avatar Aug 11 '24 02:08 sds100

Can you find any accessibility service that doesnt have the issue? What about Talkback or Switch Access? Otherwise it sounds like some bug or unintended behavior with the Direct Input feature that I probably can't fix.

Other accessibility services work just fine. The only other service which gives me the same result is "Button Mapper" by flar2.

RonOren avatar Aug 17 '24 08:08 RonOren

One thing that is important to note, All the buttons work and are recognised when using Gamepad Tester

There are only 2 thing which doesn't work: analog triggers and sticks. (BTW, the stick click button does work)

The moment I disable the accessibility all analog inputs work.

RonOren avatar Aug 17 '24 08:08 RonOren