You can write some pseudo-code if it can help.
Its your window code
e.g. if the window is not generated by SFML then the following is needed for input?:
- for the mouseposition the WindowHandle is needed?
- for keyboard, mouse the - windowClass.lpfnWndProc and called
void WindowImplWin32::processEvent(UINT message, WPARAM wParam, LPARAM lParam) is needed?
did i missed something thats needed for keyboard,mouse,joystick input?
Why not make it independent? What i did with picking out all mouse,keyboard functions.
Just my opinion. But i am not really familiar with the window system, so i could really missed something...
But at the moment it seems the mouse,keyboard works with just giving the WindowHandle and set the events in the WndProc.
I said that because everybody seems to ask the same questions to you, and nobody really understands what you want
Yes, i just wanted to leave this thread because i am not able to explain it (bad english), or maybe i should really use OIS. But i like the SFML code so much
And? It's a good thing, DirectInput offers more features than the Win32 API.
I thought DirectInput is deprecated for keyboard and mouse? And additionaly i like it fast and simple
SFML is even less integrated to Ogre
And as long as they work fine together, what's wrong?
I cannot see that is something integrated? OIS is just so much independent that the WindowHandle is enough. I think (but don't know) that the DInput thread is catching the inputs?
What else would you like it to use?
blub, nothing ... but as we can see its possible to separate the window system from the input system.
But its your library and thats just my inexperienced opinion