x-backend #2

Merged
sashakoshka merged 34 commits from x-backend into main 2022-11-14 21:40:25 -07:00
Showing only changes of commit d9c9895e82 - Show all commits

View File

@ -43,7 +43,7 @@ func (backend *Backend) handleButtonPress (
) {
buttonEvent := *event.ButtonPressEvent
backend.channel <- stone.EventPress {
Button: stone.Button(buttonEvent.Detail),
Button: stone.Button(buttonEvent.Detail + 127),
}
}
@ -53,7 +53,7 @@ func (backend *Backend) handleButtonRelease (
) {
buttonEvent := *event.ButtonReleaseEvent
backend.channel <- stone.EventRelease {
Button: stone.Button(buttonEvent.Detail),
Button: stone.Button(buttonEvent.Detail + 127),
}
}