aboutsummaryrefslogtreecommitdiff
path: root/redbutton.go
diff options
context:
space:
mode:
Diffstat (limited to 'redbutton.go')
-rw-r--r--redbutton.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/redbutton.go b/redbutton.go
index aa26d6e..507e720 100644
--- a/redbutton.go
+++ b/redbutton.go
@@ -25,7 +25,7 @@ const (
func State(dev *hid.Device) (Button, bool) {
buf := make([]byte, 8)
- buf[0] = 0x01 // 0x08 ?
+ buf[0] = 0x01
buf[7] = 0x02
if _, err := dev.Write(buf); err != nil {