diff --git a/data/keyboards/epo.yaml b/data/keyboards/epo.yaml new file mode 100644 index 00000000..ef4705e1 --- /dev/null +++ b/data/keyboards/epo.yaml @@ -0,0 +1,81 @@ +--- +outlines: + 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: 35.33, height: 52 } + +views: + base: + - "q w e r t y u i o p" + - "a s d f g h j k l" + - "Shift_L z x c v b n m BackSpace" + - "show_numbers show_eschars preferences space , . Return" + upper: + - "Q W E R T Y U I O P" + - "A S D F G H J K L" + - "Shift_L Z X C V B N M BackSpace" + - "show_numbers show_eschars preferences space ! ? Return" + numbers: + - "1 2 3 4 5 6 7 8 9 0" + - "@ # $ % & - _ + ( )" + - "show_symbols , \" ' : ; ! ? BackSpace" + - "show_letters preferences space . Return" + symbols: + - "~ ` | · √ π τ ÷ × ¶" + - "© ® £ € ¥ ^ ° * { }" + - "show_numbers_from_symbols \\ / < > = [ ] BackSpace" + - "show_letters preferences space . Return" + eschars: + - "ĉ ĝ ĥ ĵ ŝ ŭ ?" + - "Ĉ Ĝ Ĥ Ĵ Ŝ Ŭ !" + - "show_numbers ' - 🐊 💚 🌐 . BackSpace" + - "show_letters show_eschars preferences space „ “ Return" + +buttons: + Shift_L: + action: + locking: + lock_view: "upper" + unlock_view: "base" + outline: "altline" + icon: "key-shift" + BackSpace: + outline: "altline" + icon: "edit-clear-symbolic" + action: "erase" + preferences: + action: "show_prefs" + outline: "special" + icon: "keyboard-mode-symbolic" + show_numbers: + action: + set_view: "numbers" + outline: "altline" + label: "123" + show_letters: + action: + set_view: "base" + outline: "altline" + label: "abc" + show_symbols: + action: + set_view: "symbols" + outline: "altline" + label: "*/=" + show_eschars: + action: + locking: + lock_view: "eschars" + unlock_view: "base" + outline: "altline" + label: "ŭŜ" + space: + outline: "spaceline" + label: " " + text: " " + Return: + outline: "altline" + icon: "key-enter" + keysym: "Return" diff --git a/src/resources.rs b/src/resources.rs index 76ebf505..993fde9c 100644 --- a/src/resources.rs +++ b/src/resources.rs @@ -26,6 +26,7 @@ const KEYBOARDS: &[(*const str, *const str)] = &[ ("cz+qwerty", include_str!("../data/keyboards/cz+qwerty.yaml")), ("cz+qwerty_wide", include_str!("../data/keyboards/cz+qwerty_wide.yaml")), ("dk", include_str!("../data/keyboards/dk.yaml")), + ("epo", include_str!("../data/keyboards/epo.yaml")), ("es", include_str!("../data/keyboards/es.yaml")), ("fi", include_str!("../data/keyboards/fi.yaml")), ("fr", include_str!("../data/keyboards/fr.yaml")), diff --git a/tests/meson.build b/tests/meson.build index 103c631d..6bc3fb9f 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -55,6 +55,7 @@ foreach layout : [ 'cz+qwerty', 'cz+qwerty_wide', 'de', 'de_wide', 'dk', + 'epo', 'es', 'fi', 'fr', 'fr_wide',