Commit c8007e7d authored by simon's avatar simon
Browse files

comment

parent a2a49b63
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -132,9 +132,9 @@ func (js State) ButtonExists(button uint8) (ok bool) {
	return
}

func (js State) HatExists(hatAxis uint8) (ok bool) {
func (js State) HatExists(hat uint8) (ok bool) {
	for _, v := range js.hatAxes {
		if v.number == hatAxis {
		if v.number == hat {
			return true
		}
	}