Skip to content
Manatsawin Hanmongkolchai edited this page Feb 11, 2021 · 2 revisions

Game Manager

Platform Feature Linux macOS
Instance change signals

Notify when game window is created/closed

Instance

Platform Feature Linux macOS
alt1_pressed 1
game_activity 2
positionChanged
scalingChanged
focusChanged
set_taskbar_progress
Window capture 3
  • alt1_pressed: Signal fire when alt+1 is pressed in game window
    • Linux: Supported, but the keypress also passes through to the game window
  • game_activity: Signal fire when user press any key or click mouse in game window
    • Linux: Supported, but only for keyboard events
    • ??: I heard that Alt1 does not track keyboard events due to keylogging concerns. As we're open source users could easily validate that we don't log keypresses unless they run mystery meat builds
  • positionChanged: Signal fire when game window is moved or resized
  • scalingChanged: Signal fire when game window DPI is changed
  • focusChanged: Signal fire when game window changes to active or inactive
  • set_taskbar_progress: Set taskbar progression
  • Window capture: The implemented window capture method does capture the game window only. Can capture while window is obscured without image of other windows
    • macOS: Works but also capture window decoration
Clone this wiki locally