Skip to content

Input cycling and overlay system

This PR has two things

Input Cycling:

  • You can setup hotkeys to cycle inputs for players 1-8
  • image
  • Useful for when you want need to switch between devices quickly.

Overlays:

  • When making input cycling, I wanted some visual feedback.
  • But toasts don't render on top of games.
  • I used SkiaSharp to render overlays onto the render pipeline.
  • image
  • For example this appears when you load a game and when you cycle through inputs.
  • Duration can be configured from UI settings.
  • image

Issues (Tested on MacOS and Bazzite)

  • It causes some games to lag while the overlay is present (which is a short duration) I think it is because of the transperancy but I haven't tested with opaque background yet
Edited by SomeoneIsWorking

Merge request reports

Loading