Skip to content

poisnoir/xbox-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xbox Controller

Spine node that captures xbox controller. The node is writen for linux

Spine

Publisher

  • Data:
type XboxController struct {
	// Face Buttons
	A, B, X, Y bool

	// Bumpers
	LB, RB bool

	LT, RT int32

	// Joysticks
	LeftStick  Joystick
	RightStick Joystick

	// Thumbstick Clicks
	LSB, RSB bool

	// D-Pad
	Up, Down, Left, Right bool

	// Menu Buttons
	Back, Start, Guide bool
}

type Joystick struct {
	X int32 // Left is negative, Right is positive
	Y int32 // Up is negative, Down is positive
}

Dependencies

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages