Files
spice2x.github.io/src/spice2x/launcher/superexit.h
T
bicarus 82e0c053d0 overlay: create a dedicated thread for polling hotkeys (#864)
## Link to GitHub Issue or related Pull Request, if one exists
n/a

## Description of change
Create a new thread that polls for the following hotkeys:

* super exit (both alt+f4 and bound key)
* coin insert
* screenshot

The goal is to make the capture of these more reliable, because before
this PR it wasn't.

## Testing
2026-08-12 20:04:59 -07:00

7 lines
116 B
C++

#pragma once
namespace superexit {
bool has_focus();
void handle_hotkeys(bool alt_f4, bool mapped_exit);
}