ga

package
v0.0.0-...-0c155d2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const OS = runtime.GOOS

Variables

View Source
var (
	EMPTY              int
	KEY_A              int
	KEY_B              int
	KEY_C              int
	KEY_D              int
	KEY_E              int
	KEY_F              int
	KEY_G              int
	KEY_H              int
	KEY_I              int
	KEY_J              int
	KEY_K              int
	KEY_L              int
	KEY_M              int
	KEY_N              int
	KEY_O              int
	KEY_P              int
	KEY_Q              int
	KEY_R              int
	KEY_S              int
	KEY_T              int
	KEY_U              int
	KEY_V              int
	KEY_W              int
	KEY_X              int
	KEY_Y              int
	KEY_Z              int
	KEY_0              int
	KEY_1              int
	KEY_2              int
	KEY_3              int
	KEY_4              int
	KEY_5              int
	KEY_6              int
	KEY_7              int
	KEY_8              int
	KEY_9              int
	KEY_F1             int
	KEY_F2             int
	KEY_F3             int
	KEY_F4             int
	KEY_F5             int
	KEY_F6             int
	KEY_F7             int
	KEY_F8             int
	KEY_F9             int
	KEY_F10            int
	KEY_F11            int
	KEY_F12            int
	KEY_TAB            int
	KEY_ENTER          int
	KEY_SHIFT          int
	KEY_CONTROL        int
	KEY_LEFT_CONTROL   int
	KEY_RIGHT_CONTROL  int
	KEY_ALT            int
	KEY_SPACE          int
	KEY_ESC            int
	KEY_BACKSPACE      int
	KEY_INSERT         int
	KEY_DELETE         int
	KEY_HOME           int
	KEY_END            int
	KEY_PAGEUP         int
	KEY_PAGEDOWN       int
	KEY_LEFT           int
	KEY_UP             int
	KEY_RIGHT          int
	KEY_DOWN           int
	KEY_CAPSLOCK       int
	KEY_NUMLOCK        int
	KEY_SCROLLLOCK     int
	KEY_LEFT_WIN       int
	KEY_RIGHT_WIN      int
	KEY_APPS           int
	KEY_PAUSE          int
	MOUSE_LEFT_BUTTON  int
	MOUSE_RIGHT_BUTTON int
)

Functions

This section is empty.

Types

type AppPackage

type AppPackage struct{}
var App AppPackage

func (AppPackage) Close

func (AppPackage) Close()

type CmdPackage

type CmdPackage struct{}
var Cmd CmdPackage

func (CmdPackage) Clear

func (CmdPackage) Clear()

func (CmdPackage) Command

func (CmdPackage) Command(command ...string)

type CompPackage

type CompPackage struct{}
var Comp CompPackage

func (CompPackage) GetDevice

func (CompPackage) GetDevice() string

func (CompPackage) GetKeyboard

func (CompPackage) GetKeyboard() []int

func (CompPackage) GetKeyboardKeyState

func (CompPackage) GetKeyboardKeyState(key int) uint16

func (CompPackage) GetOS

func (CompPackage) GetOS() string

func (CompPackage) GetOSType

func (CompPackage) GetOSType() string

type InputPackage

type InputPackage struct{}
var Input InputPackage

func (InputPackage) GetKeycode

func (InputPackage) GetKeycode() int

func (InputPackage) IsAnyJustPressed

func (InputPackage) IsAnyJustPressed() bool

func (InputPackage) IsAnyJustReleased

func (InputPackage) IsAnyJustReleased() bool

func (InputPackage) IsKeyJustPressed

func (InputPackage) IsKeyJustPressed(keycode int) bool

func (InputPackage) IsKeyJustReleased

func (InputPackage) IsKeyJustReleased(keycode int) bool

func (InputPackage) IsKeyPressed

func (InputPackage) IsKeyPressed(keycode int) bool

func (InputPackage) IsKeyReleased

func (InputPackage) IsKeyReleased(keycode int) bool

type UserPackage

type UserPackage struct {
	DLL     interface{}
	Handle  interface{}
	HomeDir string
	Name    string
	OS      interface{}
}
var User UserPackage

Jump to

Keyboard shortcuts

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