I just came across your project searching for a way to get LoL to accept application modified Keyboard entries. It seems somewhere in the last months LoL introduced security to inhibit common approaches (Keybd, Postmessage).
Now it seems LoL only accepts DirectInput (scan codes).
Browsing your code I came across 2 questions
- LoL doesnt like uninterrupted Input Stream ( at least for Keyboard input), shouldnt the dispatcher send single input items followed by a short sleep ?
- you add scancodes with the KeyboardFlag.Unicode instead of the KeyboardFlag.ScanCode, is this correct ?
Of course I might miss something, beautiful programming anyway.
Greetings from Munich