sway/get_inputs.go

7 lines
177 B
Go

package sway
// GetInputs returns all input devices and their properties
func (c *Client) GetInputs() ([]InputDevice, error) {
return sendMessage[[]InputDevice](c, 100, "")
}