layouts: Correct xkb symbols usage

This commit is contained in:
Mark Müller
2019-11-18 21:30:42 +01:00
committed by Dorota Czaplejewicz
parent be4ac32477
commit 8690808a29

View File

@ -1,7 +1,7 @@
# Japanese Kana layout by Mark Müller # 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: outlines:
default: default:
@ -199,25 +199,29 @@ views:
- "\\ ´ ` · ¶" - "\\ ´ ` · ¶"
buttons: buttons:
# following 4 buttons are keysyms from libxkbcommon # following 4 buttons use the corresponding xkb name as keysym
BackSpace: BackSpace:
outline: "wide" outline: "wide"
icon: "edit-clear-symbolic" icon: "edit-clear-symbolic"
keysym: "BackSpace"
Return: Return:
outline: "wide" outline: "wide"
icon: "key-enter" icon: "key-enter"
keysym: "Return"
Left: Left:
outline: "wide" outline: "wide"
label: "←" label: "←"
keysym: "Left"
Right: Right:
outline: "wide" outline: "wide"
label: "→" label: "→"
keysym: "Right"
# special button "preferences" is handled in the code # special button "preferences" is handled in the code
preferences: preferences:
action: "show_prefs" action: "show_prefs"
outline: "special" outline: "special"
icon: "keyboard-mode-symbolic" icon: "keyboard-mode-symbolic"
# space button (unicode) # space button with unicode keysym for ideographic space
space: space:
outline: "default-wide" outline: "default-wide"
label: "␣" label: "␣"