Skip to content

🎮 Cross-platform Go library to read input from an Xbox 360 controller (or another compatible gamepad).

License

Notifications You must be signed in to change notification settings

orsinium-labs/gamepad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gamepad

Cross-platform Go library to read input from an Xbox 360 controller (or another compatible gamepad).

Installation

go get github.com/orsinium-labs/gamepad

Usage

gamepad, err := gamepad.NewGamepad(0)
// ...
state, err := gamepad.State()
fmt.Println(state.A())

About

🎮 Cross-platform Go library to read input from an Xbox 360 controller (or another compatible gamepad).

Topics

Resources

License

Stars

Watchers

Forks

Languages