From 8690808a29b2cd9d967685ec2d72407c74096ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20M=C3=BCller?= Date: Mon, 18 Nov 2019 21:30:42 +0100 Subject: [PATCH] layouts: Correct xkb symbols usage --- data/keyboards/jp+kana.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/data/keyboards/jp+kana.yaml b/data/keyboards/jp+kana.yaml index f3e3469d..b606d6d0 100644 --- a/data/keyboards/jp+kana.yaml +++ b/data/keyboards/jp+kana.yaml @@ -1,7 +1,7 @@ # Japanese Kana layout by Mark Müller -# Version 2019101900 +# Version 2019111800 --- -bounds: { x: 0, y: 1, width: 360, height: 210 } +bounds: { x: 0, y: 1, width: 360, height: 208 } outlines: default: @@ -199,25 +199,29 @@ views: - "\\ ´ ` · ¶" buttons: - # following 4 buttons are keysyms from libxkbcommon + # following 4 buttons use the corresponding xkb name as keysym BackSpace: outline: "wide" icon: "edit-clear-symbolic" + keysym: "BackSpace" Return: outline: "wide" icon: "key-enter" + keysym: "Return" Left: outline: "wide" label: "←" + keysym: "Left" Right: outline: "wide" label: "→" + keysym: "Right" # special button "preferences" is handled in the code preferences: action: "show_prefs" outline: "special" icon: "keyboard-mode-symbolic" - # space button (unicode) + # space button with unicode keysym for ideographic space space: outline: "default-wide" label: "␣"