assist

package
v0.0.0-...-669b999 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Keyboard Event
	KEYEVENTF_SCANCODE = 0x0008
	KEYEVENTF_KEYDOWN  = 0x0
	KEYEVENTF_KEYUP    = 0x0002
)

Variables

This section is empty.

Functions

func GetCurrentAsyncKeyState

func GetCurrentAsyncKeyState() []int

Types

type Assist

type Assist struct {
	Keybinds    Keybinds
	Delays      Delays
	RecoilSense RecoilSense
}

func NewAssist

func NewAssist(keyBinds Keybinds, delays Delays, recoilSense RecoilSense) *Assist

func (*Assist) Start

func (a *Assist) Start()

type Delays

type Delays struct {
	Standard       time.Duration
	AutoPingDelay  time.Duration
	RapidFireDelay time.Duration
}

type Keybinds

type Keybinds struct {
	ADS               int
	Ping              uint16
	RecoilToggle      int
	RecoilSenseToggle int
	RapidFireToggle   int
}

type RecoilSense

type RecoilSense struct {
	Low  time.Duration
	High time.Duration
}

Jump to

Keyboard shortcuts

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