A breakpoint of the event just before sending using:
- Code: Select all
Browser.GetBrowser().GetHost().SendKeyEvent(ev)
would be:
- Code: Select all
FocusOnEditableField = false
IsSystemKey = false
Modifiers = ShiftDown
NativeKeyCode = 0
Type = Char
WindowsKeyCode = 53 // '%'
But it will still send 5 despite Shift being down (UK keyboard layout).
If I send a lowercase letter, it will have no modifiers, and the correct key code, but will send an uppercase letter.
Anyone have any ideas on this? It's not making much sense at all really.