popover: Install emoji layout

In order to do that, an additional piece of state (layout switcher) was exposed to the event handlers, a separation between squeekboard-only and system layouts was introduced, along with a Translation structure to prevent mixing up strings.
This commit is contained in:
Dorota Czaplejewicz
2019-12-08 14:32:31 +00:00
parent a799178b6a
commit bafd1e6eb3
11 changed files with 234 additions and 46 deletions

15
data/keyboards/emoji.yaml Normal file
View File

@ -0,0 +1,15 @@
---
outlines:
default: { width: 37.46341, height: 52 }
altline: { width: 48.39024, height: 52 }
views:
base:
- "☺"
- "☹"
- preferences
buttons:
preferences:
action: "show_prefs"
outline: "altline"
icon: "keyboard-mode-symbolic"