WebPlatformForEmbedded / libwpe

General-purpose library specifically developed for the WPE-flavored port of WebKit.
BSD 2-Clause "Simplified" License
49 stars 36 forks source link

Add keyboard modifiers for CAPS_LOCK and NUM_LOCK #128

Open dpino opened 1 year ago

dpino commented 1 year ago

Several Layout tests require managing the CAPS_LOCK key. For instance:

fast/events/dblclick-event-getModifierState.html
fast/events/special-key-events-in-input-text.html
fast/forms/caps-lock-indicator-width.html

Supporting CAPS_LOCK key (as well as NUM_LOCK) will require changes in Cog, wpebackend-fdo and the WPE part of WebKit.

aperezdc commented 1 year ago

@dpino Do you have the WebKit changes already written? If yes, could you please share a link here to see that and this patch would fit together? Thanks!