inputfix: cross-platform support (experimental)