Commit 81a74953 authored by simon's avatar simon
Browse files

comment

parent 73042592
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ func (d HID) HatExists(hat uint8) (ok bool) {
	return
}

// Hat current position. (coords slice needs to be long enough to hold all axis.)
// Hat latest position. (coords slice needs to be long enough to hold all axis.)
func (d HID) ReadHatPosition(hat uint8, coords []float32) {
	for _, h := range d.HatAxes {
		if h.number == hat {