libuosl: Add methods to construct single and double click packets