Back to my previous problem
PressOnce and ReleaseOnce denote events (they happen once), while Hold is a real-time state (a state you can query).
Maybe the functions thor::eventAction() and thor::realtimeAction() are interesting for you.
maybe u are interrested in how i solved my problem. If not sry for this post.
it was much easier than i thought to handle the "realtime actions".
After some debugging i found this line in sfml:
return (GetAsyncKeyState(vkey) & 0x8000) != 0;
i always thought i need a window handle for key events ....
Solution:
i have to send only the "GainedFocus" event to activate realtime actions and "LostFocus" to deactivate realtime actions ....
no manual sending of events (because it works without setting a window handle)!