-
Notifications
You must be signed in to change notification settings - Fork 0
Description
I ran into a problem trying to make a skia based app where VL.GameControllers requires a stride window to have focus before it will return controller data.
I couldn't find a workaround. I think this is the way it works inside Stride. It only passes the input when a stride window has focus.
I could hack it and output a skia texture to a stride window... but in my case that potentially adds complexity with existing Skia based input collection.
I think an ideal solution wouldn't be inside the current repo... could make an alternate input collection method that uses the same code for mapping to the SDL profiles. But if you did that in this repo all the stride dependencies would remain.
I will look into making a fork of the repo using SFML to collect input if it can provide the same level of info about the controller as stride does. (Which is ironic as SFML and SDL are similar frameworks but for my case I already use SFML for the audio playback... so that's one less dependency for me.)