Igalia / wolvic

A fast and secure browser for standalone virtual-reality and augmented-reality headsets.
https://wolvic.org
Mozilla Public License 2.0
813 stars 105 forks source link

[PICO] Screenshot button doesn't dismiss the keyboard #1250

Closed felipeerias closed 9 months ago

felipeerias commented 9 months ago

The keyboard should not get dismissed when the user takes a screenshot on PICO, so we need to detect the KEYCODE_CAMERA key event.

Additionally, the keyboard needs to be dismissed with dismiss() so that it is not left in an inconsistent state.