dev

package
v0.0.0-...-f1e30a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDevice

func NewDevice() api.IDevice

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL