futokb/java/assets/layouts/Special/number_shift.yaml
Aleksandras Kostarevas 2e883781d5 Refactor layout definition system
Layouts are now defined in yaml files at latinime/java/assets/layouts. The new system makes simple layouts significantly easier to add.

Many layouts still need to be ported over to the new system and some bugs still remain. The old layout system and XML layouts will need to be removed.
2024-08-24 11:06:54 +03:00

57 lines
1.6 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: Numbers
numberRowMode: AlwaysDisabled
bottomRowWidthMode: Identical
overrideWidths:
FunctionalKey: 0.14
Regular: 0.1
Grow: 0.12
rowHeightMode: FillHeight
attributes:
width: Grow
showPopup: false
moreKeyMode: OnlyExplicit
useKeySpecShortcut: false
style: Normal
shiftable: false
rows:
- letters:
- {type: base, spec: "#", attributes: &side { style: Functional, width: FunctionalKey, labelFlags: {} }}
- "("
- ")"
- "<"
- ">"
- ":"
- ";"
- {type: base, spec: "%", attributes: *side}
splittable: false
- letters:
- {type: base, spec: "=", attributes: *side}
- "×"
- "*"
- "÷"
- "/"
- "-"
- "+"
- {type: base, spec: "^", attributes: *side}
splittable: false
- letters:
- {type: base, spec: "( ) /|!code/key_shift", attributes: *side}
- "$"
- "~"
- "\\"
- "="
- "\u00B0" # Degrees symbol
- "."
- {type: base, spec: "!icon/delete_key|!code/key_delete", attributes: *side}
splittable: false
- bottom:
- {type: base, spec: "!text/keylabel_to_alpha|!code/key_switch_alpha_symbol", attributes: *side}
- {type: base, spec: ",", attributes: &regular { width: Regular, labelFlags: {} }}
- {type: base, spec: "!?#|!code/key_to_number_layout", attributes: *side}
- "$space"
- "$space"
- {type: base, spec: "=", attributes: *side}
- {type: base, spec: ".", attributes: *regular}
- {type: enter, attributes: *side}
attributes: { style: Normal }
splittable: false