Laurent, for example WM_HOTKEY. I can register hotkey with 'BOOL WINAPI RegisterHotKey', but can't get event. Or file drops (as was requested in
http://en.sfml-dev.org/forums/index.php?topic=19096.0).
Yes, realization of functionality like that is kinda difficult. But what about to make just OS-specific event data and OS-specific event?
For example: there's a 'processEvent' function in window implementation.
switch (message)
{
....
case WM_CLOSE:
{
Event event;
event.type = Event::Closed;
pushEvent(event);
break;
}
.....
default:
{
Event event;
event.type = Event::OSSpecific;
event.data.message = message;
event.data.wParam = wParam;
event.data.lParam = lParam;
pushEvent(event);
break;
}
Of course with X11, Android etc. there will be another data structures, that can be ruled by #ifdef's.