uinput
Intercept and write input events to a virtual keyboard device using /dev/uinput. tldr-pages
On Linux
Linux
Simulate merging the device descriptions and print the resulting YAML
uinput -pIdentifyMerge YAML device description(s) to resulting virtual device
sudo uinput -c path/to/device1.yaml path/to/device2.yaml ...IdentifyMerge reference device description from device node(s) to resulting virtual device
sudo uinput -d /dev/input/eventX /dev/input/eventY ...Identify