and fix some other issues, to make the layouts more consistent. The aspect-ratios of the layouts, should now match the intended aspect-ratios (12:7 and 16:5), with 3 decimal-digits of precision; either exactly, or rounded to be a little more square, so that the entire height of the panel will be used. Adding 0.001 to `width` in the `default`-outlines of the layouts, would make the layouts a little wider than the intended aspect-ratio. Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/691>
		
			
				
	
	
		
			86 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			86 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
# Language: German (Switzerland) (ch+de)
 | 
						||
# Maintained by Patrick Jörg <patrickjoerg@gmx.ch>. No Copyright, enjoy!
 | 
						||
 | 
						||
---
 | 
						||
outlines:
 | 
						||
    default:       { width: 32.415, height: 52 }
 | 
						||
    change-view:   { width: 48.622, height: 52 }
 | 
						||
    change-view-2: { width: 56.726, height: 52 }
 | 
						||
    fill:          { width: 64.83,  height: 52 }
 | 
						||
    placeholder:   { width: 32.415, height: 52 }
 | 
						||
    spaceline:     { width: 89.142, height: 52 }
 | 
						||
    special:       { width: 32.415, height: 52 }
 | 
						||
    special-2:     { width: 48.622, height: 52 }
 | 
						||
    special-3:     { width: 56.726, height: 52 }
 | 
						||
 | 
						||
views:
 | 
						||
    base:
 | 
						||
        - "q w e r t z u i o p ü"
 | 
						||
        - "a s d f g h j k l ö ä"
 | 
						||
        - "show_upper y x c v b n m -- BackSpace"
 | 
						||
        - "show_numbers preferences ? ' space , . Return"
 | 
						||
    upper:
 | 
						||
        - "Q W E R T Z U I O P Ü"
 | 
						||
        - "A S D F G H J K L Ö Ä"
 | 
						||
        - "show_upper Y X C V B N M -- BackSpace"
 | 
						||
        - "show_numbers 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 « » ÷ × “ ” „ -- BackSpace"
 | 
						||
        - "show_letters preferences ! - space , . Return"
 | 
						||
 | 
						||
buttons:
 | 
						||
    show_upper:
 | 
						||
        action:
 | 
						||
            locking:
 | 
						||
                lock_view: "upper"
 | 
						||
                unlock_view: "base"
 | 
						||
        outline: "change-view"
 | 
						||
        icon: "key-shift"
 | 
						||
    BackSpace:
 | 
						||
        outline: "special-2"
 | 
						||
        icon: "edit-clear-symbolic"
 | 
						||
        action: "erase"
 | 
						||
    preferences:
 | 
						||
        action: "show_prefs"
 | 
						||
        outline: "special"
 | 
						||
        icon: "keyboard-mode-symbolic"
 | 
						||
    show_numbers:
 | 
						||
        action:
 | 
						||
            set_view: "numbers"
 | 
						||
        outline: "change-view"
 | 
						||
        label: "123"
 | 
						||
    show_letters:
 | 
						||
        action:
 | 
						||
            set_view: "base"
 | 
						||
        outline: "change-view"
 | 
						||
        label: "ABC"
 | 
						||
    show_symbols:
 | 
						||
        action:
 | 
						||
            set_view: "symbols"
 | 
						||
        outline: "change-view"
 | 
						||
        label: "*/="
 | 
						||
    space:
 | 
						||
        outline: "spaceline"
 | 
						||
        text: " "
 | 
						||
    Return:
 | 
						||
        outline: "special-3"
 | 
						||
        icon: "key-enter"
 | 
						||
        keysym: "Return"
 | 
						||
    --:
 | 
						||
        outline: "placeholder"
 | 
						||
        text: ""
 | 
						||
    5:
 | 
						||
        outline: "fill"
 | 
						||
    =:
 | 
						||
        outline: "fill"
 | 
						||
    "%":
 | 
						||
        outline: "fill"
 | 
						||
    ^:
 | 
						||
        outline: "fill" |