- Change text to symbols - Remove unused button-definitions This makes these layout-files easier to understand and edit. Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/629>
		
			
				
	
	
		
			77 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			77 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
---
 | 
						||
outlines:
 | 
						||
    default:   { width: 32,       height: 52 }
 | 
						||
    altline:   { width: 48.39024, height: 52 }
 | 
						||
    wide:      { width: 64,       height: 52 }
 | 
						||
    spaceline: { width: 142,      height: 52 }
 | 
						||
    special:   { width: 44,       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 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 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"
 | 
						||
 | 
						||
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:
 | 
						||
        outline: "wide"
 | 
						||
        action:
 | 
						||
            set_view: "numbers"
 | 
						||
        label: "123"
 | 
						||
    show_numbers_from_symbols:
 | 
						||
        action:
 | 
						||
            set_view: "numbers"
 | 
						||
        outline: altline
 | 
						||
        label: "123"
 | 
						||
    show_letters:
 | 
						||
        outline: "wide"
 | 
						||
        action:
 | 
						||
            set_view: "base"
 | 
						||
        label: "ABC"
 | 
						||
    show_symbols:
 | 
						||
        action:
 | 
						||
            set_view: "symbols"
 | 
						||
        outline: "altline"
 | 
						||
        label: "*/="
 | 
						||
    ".":
 | 
						||
        outline: "special"
 | 
						||
    space:
 | 
						||
        outline: spaceline
 | 
						||
        text: " "
 | 
						||
    Return:
 | 
						||
        outline: "wide"
 | 
						||
        icon: "key-enter"
 | 
						||
        keysym: "Return"
 |