Reviewed on: 2021-05-07
input_pipeline is a library for creating an input pipeline. For more information, see Input client library.
To add input to your build, append --with //src/ui/lib/input_pipeline to the fx set invocation.
input_pipeline can be used by depending on the //src/ui/lib/input_pipeline GN target.
input_pipeline is not available in the SDK.
Unit tests for input_pipeline are available in the input_pipeline_lib_tests package.
$ fx test input_pipeline_tests
The main implementation is linked in src/lib.rs.
Change the keymap using the following commands. Only two keymaps are supported at the moment. This will change.
fx ffx session keyboard --keymap FR_AZERTY fx ffx session keyboard --keymap US_QWERTY