Skip to content

Fix: Volume buttons not working in games#15397

Open
soaresden wants to merge 1 commit intobatocera-linux:masterfrom
soaresden:volumekeys-everywhere
Open

Fix: Volume buttons not working in games#15397
soaresden wants to merge 1 commit intobatocera-linux:masterfrom
soaresden:volumekeys-everywhere

Conversation

@soaresden
Copy link

Problem:
Volume buttons (VOL+/VOL-) only work in EmulationStation menu, not during gameplay.

Root cause:

  • hotkeygen handles volume but only in ES context
  • Volume events not propagated to running emulators

Solution:

  • Move volume handling from hotkeygen to triggerhappy
  • triggerhappy runs globally, works everywhere (ES + in-game)

Tested on: Retroid Pocket 5

Changes:

  • Removed volume* keys from hotkeygen/common_context.conf
  • Added KEY_VOLUMEUP/DOWN to triggerhappy/multimedia_keys.conf

**Problem:**
Volume buttons (VOL+/VOL-) only work in EmulationStation menu, not during gameplay.

**Root cause:**
- hotkeygen handles volume but only in ES context
- Volume events not propagated to running emulators

**Solution:**
- Move volume handling from hotkeygen to triggerhappy
- triggerhappy runs globally, works everywhere (ES + in-game)

**Tested on:** Retroid Pocket 5

**Changes:**
- Removed volume* keys from hotkeygen/common_context.conf
- Added KEY_VOLUMEUP/DOWN to triggerhappy/multimedia_keys.conf
@dmanlfc
Copy link
Collaborator

dmanlfc commented Feb 13, 2026

makes sense @nadenislamarre

@lbrpdx
Copy link
Contributor

lbrpdx commented Feb 13, 2026

No common_context applies to emulators too.
Just tried with a few emulators and the volume buttons work on a SteamDeck and an Ayn Thor.
@soaresden what emulator have you tested with that issue? Might be a hotkeygen problem.

@soaresden
Copy link
Author

No common_context applies to emulators too. Just tried with a few emulators and the volume buttons work on a SteamDeck and an Ayn Thor. @soaresden what emulator have you tested with that issue? Might be a hotkeygen problem.

Every emulators, from libretro to azahar going to new TR1X.
I didn't made a backup so I can't tell the original configuration, but still I need that fix :)

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

Successfully merging this pull request may close these issues.

3 participants