Open mcdurdin opened 3 years ago
Do we need a separate spec for how Developer and Web will handle the LDML spec of additional form-factors by size in mm? From Feb 2022 planning meetings, a possible workaround is having tablet vs phone map to various mm sizes.
Also possibly related to #4861?
Do we need a separate spec for how Developer and Web will handle the LDML spec of additional form-factors by size in mm? From Feb 2022 planning meetings, a possible workaround is having tablet vs phone map to various mm sizes.
I am hoping we can update the touch layout template to support multiple sizes in mm rather than wedging LDML sizes into the limits of phone vs tablet. That will give us an answer for Android device type detection as well (where we are just guessing, heuristically, whether a device is a tablet or a phone).
From A18S8 NA planning meeting, reassigning to @ermshiperete for A18S9
Proposal
This will be a compile-time tool written in Typescript that takes the .kmx-ldml file and uses the DataBlob Library to interrogate the LDML file and generate a corresponding .keyman-touch-layout file.
This will then be used by the existing compiler toolchain to generate:
.KVKL
property for web/touch platforms.This tool should be accessible as a standalone library, wrapped with a command-line tool, so that it can be used for unit testing as well.
We may make this into the same command line tool as for .kvk (#5077), but the libraries should be separate deliverables.
Notes
Related
2858: KMW, Developer: Add support for multi-char
U_xxxx_yyyy
key identifiers5079: KMW, Develoepr: Add support for
hint
property5029: spec: Add support for multitap (and flick!)
5077: spec: LDML to KVKS tool
Keyman Developer: