Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputChange ¶
type InputChange struct { Change string `json:"change"` Input IpcInputDevice `json:"input"` }
type IpcClient ¶
type IpcClient struct {
// contains filtered or unexported fields
}
func NewIpcClient ¶
func (*IpcClient) Recv ¶
func (s *IpcClient) Recv() (messageType IpcMsgType, out interface{}, err error)
func (*IpcClient) Send ¶
func (s *IpcClient) Send(t IpcMsgType, data interface{}) error
type IpcCmdResult ¶
type IpcCmdResult []IpcResult
type IpcContainer ¶
type IpcHeader ¶
type IpcHeader struct { Magic [6]byte Len uint32 Typ IpcMsgType }
type IpcInputDevice ¶
type IpcMsgType ¶
type IpcMsgType uint32
const ( IpcMsgTypeCommand IpcMsgType = 0 IpcMsgTypeSubscribe IpcMsgType = 2 IpcMsgTypeGetInputs IpcMsgType = 100 IpcEventTypeInput IpcMsgType = 0x15 IpcEventTypeWindow IpcMsgType = 0x3 IpcMsgTypeInvalid IpcMsgType = 0x7fffffff )
type WindowChange ¶
type WindowChange struct { Change string `json:"change"` Container IpcContainer `json:"container"` }
Click to show internal directories.
Click to hide internal directories.