From 09c78da7a709075c1785275054503be44271c599 Mon Sep 17 00:00:00 2001 From: Arnaud Ferraris Date: Tue, 21 Apr 2020 19:22:16 +0200 Subject: [PATCH] keyboards: fr: fix keyboard layout A number of keys would not give the expected result, due to the lack of a `text` of `action` property. Additionally, the layout wouldn't load because of an old file format (it seems `bounds` are not supported anymore). This patch makes sure this layout can be loaded and used by squeekboard v0.1.9. --- data/keyboards/fr.yaml | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/data/keyboards/fr.yaml b/data/keyboards/fr.yaml index 01984981..10d7489e 100644 --- a/data/keyboards/fr.yaml +++ b/data/keyboards/fr.yaml @@ -1,19 +1,10 @@ --- -bounds: { x: 0, y: 1, width: 360, height: 210 } - outlines: - default: - bounds: { x: 0, y: 0, width: 35.33, height: 52 } - altline: - bounds: { x: 0, y: 0, width: 52.67, height: 52 } - wide: - bounds: { x: 0, y: 0, width: 62, height: 52 } - spaceline: - bounds: { x: 0, y: 0, width: 99.67, height: 52 } - special: - bounds: { x: 0, y: 0, width: 44, height: 52 } - - + default: { width: 35.33, height: 52 } + altline: { width: 52.67, height: 52 } + wide: { width: 62, height: 52 } + spaceline: { width: 99.67, height: 52 } + special: { width: 44, height: 52 } views: base: @@ -53,6 +44,7 @@ buttons: BackSpace: outline: "altline" icon: "edit-clear-symbolic" + action: "erase" preferences: action: "show_prefs" outline: "default" @@ -79,17 +71,17 @@ buttons: unlock_view: "base" outline: "altline" label: "âÂ" - period: outline: "default" - label: "." + text: "." space: outline: "spaceline" - label: " " + text: " " Return: outline: "altline" icon: "key-enter" + keysym: "Return" colon: - label: ":" + text: ":" "\"": - keysym: "quotedbl" \ No newline at end of file + keysym: "quotedbl"