dualshock

package
v0.0.0-...-683b059 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package dualshock contains the functions that are shared between al dualshock controllers.

Index

Constants

View Source
const Uniq = "01:23:45:67:89:AB"

Uniq is a hardcoded uniq field for gamepads

Variables

This section is empty.

Functions

func HandleGetReport

func HandleGetReport(ctx context.Context, processRNum func(uhid.RNumType) ([]byte, error), d *uhid.Device, buf []byte) error

HandleGetReport handles a get report request by the kernel using the byte array returned by the processRNum function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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