ppy / osu-framework

A game framework written with osu! in mind.
MIT License
1.67k stars 419 forks source link

Update SDL3-CS #6374

Closed hwsmm closed 2 months ago

hwsmm commented 2 months ago

Pulls in https://github.com/ppy/SDL3-CS/pull/129

smoogipoo commented 2 months ago

I don't think we should be emulating mouse like this. We already have a mouse-from-touch emulation at an inputmanager level.

hwsmm commented 2 months ago

I guess we should probably fix OpenTabletDriverHandler first if we want to make separate events for tablets. https://github.com/ppy/osu-framework/blob/21cf5d077f953d6d7db5b05006da4ebf440c1a51/osu.Framework/Input/Handlers/Tablet/OpenTabletDriverHandler.cs#L91-L95

peppy commented 2 months ago

I don't think we should be emulating mouse like this. We already have a mouse-from-touch emulation at an inputmanager level.

Maybe I misunderstood, pen to me implies a pen/tablet flow rather than touch so (while untested) I'd see this as a good direction to see if it usable to us/users.

smoogipoo commented 2 months ago

Maybe more my misunderstanding, but in that case I'm even more concerned this is going to be providing competing inputs with OTD. I guess we'll have to see how it works in practice, though I'd always favour OTD except for edgecases like apple pen (and even then I'd favour OTD if it gains support).