input

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VK_F3        = 0x72 // F3 key virtual key code
	VK_F4        = 0x73 // F4 key virtual key code
	VK_NUM_SLASH = 0x6F // Numpad Slash virtual key code

)

Define virtual key codes for the keys you are interested in.

Variables

This section is empty.

Functions

func IsKeyPressed

func IsKeyPressed(vkCode int) bool

IsKeyPressed checks if a key is currently pressed. Returns true if the key is pressed, false otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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