Documentation
¶
Overview ¶
Package main provides a code generator for Wayland virtual input protocol bindings.
This tool parses Wayland protocol XML files and generates Go bindings for them. It supports generating bindings for both virtual pointer and virtual keyboard protocols.
Usage:
go run tools/generate.go -protocol=virtual_pointer -xml=path/to/protocol.xml -output=path/to/output.go go run tools/generate.go -protocol=virtual_keyboard -xml=path/to/protocol.xml -output=path/to/output.go
The generator creates Go interfaces and implementation stubs based on the protocol specification, making it easier to maintain consistency between the protocol and the Go bindings.
Click to show internal directories.
Click to hide internal directories.