Skip to content

customizable hotkeys in Lua - #2450

Open
connormclaud wants to merge 5 commits into
ValveSoftware:masterfrom
connormclaud:vitali/custom-hotkeys
Open

connormclaud wants to merge 5 commits into
ValveSoftware:masterfrom
connormclaud:vitali/custom-hotkeys

Conversation

@connormclaud

@connormclaud connormclaud commented Sep 30, 2026 •

Copy link
Copy Markdown

This PR introduces customizable hotkeys configured via Lua scripts (scripts/00-gamescope/input/hotkeys.lua and user configs in ~/.config/gamescope/scripts/), replacing the hardcoded backend-specific shortcuts.

This is a reiteration on top of #1705.

Resolves #457, resolves #38, resolves #2012.

Features

• Lua & C++ Callbacks: Supports arbitrary Lua functions and in-process C++ callbacks.
• Clean Unbinding: Assigning a hotkey to nil in user scripts unbinds it (resolving #2012).
• Upstream feature parity: Defaults preserve all existing shortcuts (Super+F, Super+G, Super+S, Super+N, Super+B, Super+U, Super+Y, Super+I, Super+O).

@connormclaud connormclaud changed the title vitali/custom hotkeys customizable hotkeys in Lua Sep 30, 2026
@connormclaud
connormclaud marked this pull request as ready for review September 30, 2026 20:55
@connormclaud connormclaud mentioned this pull request Oct 2, 2026
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.

[ENHANCEMENT] Allow to disable keybinds [Feature Request] Customizeable keybinds Allow shortcuts to be configurable

2 participants