gamepad

package
v0.0.0-...-a509d8f Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GamepadEnabled = new(devices.DeviceEnabled).Enable()

Functions

func HandleGamepad

func HandleGamepad(gamepadChannel *webrtc.DataChannel)

Types

type GamepadAPIXState

type GamepadAPIXState struct {
	Axes    [4]float64
	Buttons [16]gamepadButton
	// ID        string
	Index int
}

Struct for GamepadAPI for XINPUT gamepads

Jump to

Keyboard shortcuts

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