Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug?/feature request?] Remap gamepad guide button #245

Open
uejji opened this issue Dec 20, 2024 · 0 comments
Open

[bug?/feature request?] Remap gamepad guide button #245

uejji opened this issue Dec 20, 2024 · 0 comments

Comments

@uejji
Copy link
Contributor

uejji commented Dec 20, 2024

The Home button that is labeled "..." and is present on both Flip KB and Flip DS emits Guide from the device's built-in Xbox 360 controller. See image at the bottom of this post to see the button clearly identified.

Output from evtest of Microsoft X-Box 360 pad:

Event: time 1734670596.808366, type 1 (EV_KEY), code 316 (BTN_MODE), value 1
Event: time 1734670596.808366, -------------- SYN_REPORT ------------
Event: time 1734670596.928392, type 1 (EV_KEY), code 316 (BTN_MODE), value 0
Event: time 1734670596.928392, -------------- SYN_REPORT ------------

Because the Aya button is also emitting Guide through InputPlumber, I would like to change the behavior of this button if possible. It would be possible to change the behavior of the Aya button instead, but because IP has the Aya button emit Guide on every other device with this button, it seems logical to stick with the current behavior and instead change the behavior of the "..." button.

If I insert the following into the capability map (using Keyboard just as a test)

  - name: Home
    source_events:
      - gamepad:
        button: Guide
    target_event:
      gamepad:
        button: Keyboard

what happens is that the behavior of the "..." button remains unchanged. However, The Aya button now emits Guide+West and the "=" button emits Guide+West+South. It seems what is happening is that InputPlumber is intercepting and modifying the emitted Guides into Keyboard calls (Guide -> Guide+West) while ignoring the inputted Guide call from the controller. Ideally this behavior should be reversed if possible.

61P8zmotT8L

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant