I’ve been migrating to the DeviceSourceManager for my project, so far mouse, keyboard, and game pad work as expected. However when i attempt to use it for touch I end up completely stumped lol
Can anyone guide me through touch inputs with the DSM, such as swipes, position, etc - or has this not been implemented yet? currentState & previousState almost look like tap positions but I’m unaware what I’m actually looking at as always, thanks for any help provided. I love y’all
For anyone wondering at the moment, my goal is to move a camera with touch inputs - I could default to the old ways but I’d rather have everything working on the same system
@PolygonalSun was working on a more seamless integration of the DeviceSourceManager into some of our built in functionality like our camera controllers, how is that coming along? It seems that we’re still missing mouse/touch pointer diffs in addition to the raw positions, unless I’m missing something…
We also have some documentation of the general usage of the DeviceSourceManager here:
Thank you, I should be able to adapt this to suit my needs. I really like the idea behind the device source manager, I do hope it extends into other parts of babylon in the future. I’d found the docs on dsm, but wasn’t sure how to use the actual input, especially when it came to touch. thank you for your assistance. I love this community. <3