mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-09 20:12:57 +00:00
Matching, the recorder and labels share one rule (craft-libs#198, track 4): letters by the layout's Latin letter, or by position on layouts that are not Latin; digits as typed, else by position; punctuation as typed, without the Shift the layout needs for it. Layout holds whether the layout is Latin and its characters at punctuation positions, reported by the platform or learned from typing. KeyInput holds what the toolkit reports for one press, so a toolkit that knows the virtual-key code, the macOS command table or the Shift level can pass it on.