Documentation
¶
Index ¶
- func NewDevice() api.IDevice
- type DesktopDeviceImpl
- func (desktopDevice DesktopDeviceImpl) GetJoystickAxis(axis int) int16
- func (desktopDevice DesktopDeviceImpl) GetWindowPosAndSize() (int32, int32, int32, int32)
- func (desktopDevice DesktopDeviceImpl) GetWindowState() uint32
- func (desktopDevice DesktopDeviceImpl) ProcessKeyActions()
- func (desktopDevice DesktopDeviceImpl) Stop()
- type HandheldDeviceImpl
- func (handhelpDevice HandheldDeviceImpl) GetJoystickAxis(axis int) int16
- func (handhelpDevice HandheldDeviceImpl) GetWindowPosAndSize() (int32, int32, int32, int32)
- func (handhelpDevice HandheldDeviceImpl) GetWindowState() uint32
- func (handhelpDevice HandheldDeviceImpl) ProcessKeyActions()
- func (handhelpDevice HandheldDeviceImpl) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DesktopDeviceImpl ¶
type DesktopDeviceImpl struct { }
func NewDesktopDevice ¶
func NewDesktopDevice() DesktopDeviceImpl
func (DesktopDeviceImpl) GetJoystickAxis ¶
func (desktopDevice DesktopDeviceImpl) GetJoystickAxis(axis int) int16
func (DesktopDeviceImpl) GetWindowPosAndSize ¶
func (desktopDevice DesktopDeviceImpl) GetWindowPosAndSize() (int32, int32, int32, int32)
func (DesktopDeviceImpl) GetWindowState ¶
func (desktopDevice DesktopDeviceImpl) GetWindowState() uint32
func (DesktopDeviceImpl) ProcessKeyActions ¶
func (desktopDevice DesktopDeviceImpl) ProcessKeyActions()
func (DesktopDeviceImpl) Stop ¶
func (desktopDevice DesktopDeviceImpl) Stop()
type HandheldDeviceImpl ¶
type HandheldDeviceImpl struct {
// contains filtered or unexported fields
}
func NewHandheldDevice ¶
func NewHandheldDevice() HandheldDeviceImpl
func (HandheldDeviceImpl) GetJoystickAxis ¶
func (handhelpDevice HandheldDeviceImpl) GetJoystickAxis(axis int) int16
func (HandheldDeviceImpl) GetWindowPosAndSize ¶
func (handhelpDevice HandheldDeviceImpl) GetWindowPosAndSize() (int32, int32, int32, int32)
func (HandheldDeviceImpl) GetWindowState ¶
func (handhelpDevice HandheldDeviceImpl) GetWindowState() uint32
func (HandheldDeviceImpl) ProcessKeyActions ¶
func (handhelpDevice HandheldDeviceImpl) ProcessKeyActions()
func (HandheldDeviceImpl) Stop ¶
func (handhelpDevice HandheldDeviceImpl) Stop()
Click to show internal directories.
Click to hide internal directories.