[PR #582] [CLOSED] CommonHostInterface: Support parsing multiple mappings per binding entry #45

Closed
opened 2026-01-29 19:06:10 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/stenzek/duckstation/pull/582
Author: @ggrtk
Created: 6/30/2020
Status: Closed

Base: masterHead: analog-controller


📝 Commits (2)

  • f8923b6 SDLControllerInterface: Prefer cbutton.which for button events
  • 3198c8f CommonHostInterface: Support parsing multiple mappings per binding entry

📊 Changes

3 files changed (+60 additions, -25 deletions)

View changed files

📝 src/frontend-common/common_host_interface.cpp (+50 -24)
📝 src/frontend-common/common_host_interface.h (+9 -0)
📝 src/frontend-common/sdl_controller_interface.cpp (+1 -1)

📄 Description

Adds support for multiple mappings per emulated controller axis/button. Format is comma-separated, e.g. ButtonUp = Keyboard/W,Controller0/Button11.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/stenzek/duckstation/pull/582 **Author:** [@ggrtk](https://github.com/ggrtk) **Created:** 6/30/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `analog-controller` --- ### 📝 Commits (2) - [`f8923b6`](https://github.com/stenzek/duckstation/commit/f8923b61e2e67f7554d71d7fe4f693726aa16532) SDLControllerInterface: Prefer cbutton.which for button events - [`3198c8f`](https://github.com/stenzek/duckstation/commit/3198c8f3f7cb56a87d606c80580df27e6abc6da8) CommonHostInterface: Support parsing multiple mappings per binding entry ### 📊 Changes **3 files changed** (+60 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `src/frontend-common/common_host_interface.cpp` (+50 -24) 📝 `src/frontend-common/common_host_interface.h` (+9 -0) 📝 `src/frontend-common/sdl_controller_interface.cpp` (+1 -1) </details> ### 📄 Description Adds support for multiple mappings per emulated controller axis/button. Format is comma-separated, e.g. `ButtonUp = Keyboard/W,Controller0/Button11`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 19:06:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/duckstation#45