Documentation
¶
Overview ¶
Package keys implements the `glutter-gen keys` subcommand, which generates the key tables (XKB keycode to Flutter key ids).
Flutter: no counterpart.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run executes `glutter-gen keys [-reference dir] [-out file] [-services-out file]` with the arguments that follow the subcommand name. It reads Flutter's key data (physical_key_data.g.json, logical_key_data.g.json, layout_goals.json and synonyms.json under dev/tools/gen_keycodes/data of the Flutter checkout in the reference directory) and writes the Go tables of the platform layer to the output file, and the key constants of package services to the services file. An empty file name skips that file; the services file is written by default only when the platform file is.
Flutter: dev/tools/gen_keycodes
Types ¶
This section is empty.