Hi,
I am doing OffScreenRendering and display the pixel buffer using QT framework.
Whenever i typed in browser window, Keyevents are delivered from QT.
I have a Test App for sending the events to CEF. My TestApp file uses SendKeyEvent() API to send the events to CEF.
Alpha-numeric keys are working fine with the above procedure. But Navigational keys (Backspace,tab, Left,Right,etc..) are not working.
I am setting the keyevents as below,
void window::keyReleaseEvent(QKeyEvent event){
CefKeyEvent key_event;
key_event.character=0;
key_event.unmodified_character = 0;
key_event.native_key_code = evt->key();
key_event.modifiers = 0;
key_event.type = KEYEVENT_KEYUP;
Browser->SendKeyEvent(key_event);
}
Is there any specific settings required for handling the above keys. Please help me how to make it work..