Hi Mahdi,
On 6/6/22 18:12, Mahdi Tayarani wrote:
We have an input processing system which requires us to directly send input update information to the Wine Server. The existing helper methods don't provide what we need.
Can you please elaborate why it will be a tough sell? The change provides no sort of functional or behavioural change. It's just making the cast that was already implicitly happening, explicit.
I think the "tough sell" is because Wine doesn't expect wineserver requests to be made from non-Wine code, and doesn't provide any guarantee about the protocol compatibility across versions.
Though if you're well aware of this I guess it's up to you if you do it nonetheless, and the change can make sense indeed, as you say, it's just making a cast explicit.
Then I'm interested to know more about the specific needs you have on input processing, if you can share more detail about it. Like what isn't currently possible to do with __wine_send_input, what you would need, etc.
All wine input goes through it, and I'm investigating possible better ways to handle non-joystick devices through the HID stack as well, which may involve changes in that area.
Cheers,