RESOLVED FIXED 188093
[WPE] Use WPE key symbols and new API instead of xkbcommon and the key mapper
https://bugs.webkit.org/show_bug.cgi?id=188093
Summary [WPE] Use WPE key symbols and new API instead of xkbcommon and the key mapper
Carlos Garcia Campos
Reported 2018-07-27 01:41:26 PDT
Use the new API.
Attachments
WIP (52.40 KB, patch)
2018-07-27 01:42 PDT, Carlos Garcia Campos
no flags
Patch (57.58 KB, patch)
2018-08-03 01:48 PDT, Carlos Garcia Campos
zan: review+
Carlos Garcia Campos
Comment 1 2018-07-27 01:42:28 PDT
Zan Dobersek
Comment 2 2018-07-27 02:12:50 PDT
Comment on attachment 345908 [details] WIP View in context: https://bugs.webkit.org/attachment.cgi?id=345908&action=review > Tools/WebKitTestRunner/wpe/EventSenderProxyWPE.cpp:306 > + // FIXME: we don't have a way to get hardware key code in WPE. This could be retrieved with a xkb_keymap object? If so, FIXME should note that.
Carlos Garcia Campos
Comment 3 2018-07-27 02:21:26 PDT
(In reply to Zan Dobersek from comment #2) > Comment on attachment 345908 [details] > WIP > > View in context: > https://bugs.webkit.org/attachment.cgi?id=345908&action=review > > > Tools/WebKitTestRunner/wpe/EventSenderProxyWPE.cpp:306 > > + // FIXME: we don't have a way to get hardware key code in WPE. > > This could be retrieved with a xkb_keymap object? If so, FIXME should note > that. I don't know, I'll investigate.
Carlos Garcia Campos
Comment 4 2018-08-01 03:03:22 PDT
(In reply to Carlos Garcia Campos from comment #3) > (In reply to Zan Dobersek from comment #2) > > Comment on attachment 345908 [details] > > WIP > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=345908&action=review > > > > > Tools/WebKitTestRunner/wpe/EventSenderProxyWPE.cpp:306 > > > + // FIXME: we don't have a way to get hardware key code in WPE. > > > > This could be retrieved with a xkb_keymap object? If so, FIXME should note > > that. > > I don't know, I'll investigate. It requires https://github.com/WebPlatformForEmbedded/WPEBackend/pull/24 I'll keep the FIXME anyway, since the patch to use the key mapper will introduce more changes.
Carlos Garcia Campos
Comment 5 2018-08-03 01:48:55 PDT
Zan Dobersek
Comment 6 2018-08-03 02:01:30 PDT
Comment on attachment 346463 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=346463&action=review > Source/WebKit/ChangeLog:9 > + > + Extra white space. > Tools/ChangeLog:9 > + > + Extra white space. > Tools/WebKitTestRunner/wpe/EventSenderProxyWPE.cpp:273 > + // FIXME: we don't have a way to get hardware key code in WPE. Is this now not retrievable from wpe_input_xkb_context_get_entries_for_key_code()? Or am I mixing things up?
Carlos Garcia Campos
Comment 7 2018-08-03 02:04:45 PDT
(In reply to Zan Dobersek from comment #6) > Comment on attachment 346463 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=346463&action=review > > > Source/WebKit/ChangeLog:9 > > + > > + > > Extra white space. > > > Tools/ChangeLog:9 > > + > > + > > Extra white space. > > > Tools/WebKitTestRunner/wpe/EventSenderProxyWPE.cpp:273 > > + // FIXME: we don't have a way to get hardware key code in WPE. > > Is this now not retrievable from > wpe_input_xkb_context_get_entries_for_key_code()? Or am I mixing things up? Yes, this is part of a follow up patch in bug #188216
Carlos Garcia Campos
Comment 8 2018-08-03 02:16:31 PDT
Note You need to log in before you can comment on or make changes to this bug.