We keep on working on the Smoke improvements and extensions.
This time we're trying to implement an InputSystem capable of reading Windows Messages, and especially WM_TOUCH messages.
The original code of the Smoke contains PeekMessage calls implemented twice: inside Framework's PlatformManager and SystemGraphicsOgre.
How do we implement that inside InputSystem?
We have tried calling PeekMessage, but the WM_TOUCH events do not appear there. They also don't appear in PlatformManager. They arrive at SystemGraphics.
Mouse and keyboard related messages also arrive at SystemGraphics, but they can be successfully translated using TranslateMessage calls. Though touch related messages fail to get translated successfuly, since they contain pointers to arrays of structures, and those arrays are altered while the message is translated from SystemGraphics.
How do you guys think it's best to handle WM_TOUCH messages for SystemInput?
Has anyone implemented some multi-touch SystemInput for Smoke?
Has anyone implemented some cross-platform SystemInput for Smoke?