Skip to content

Commit

Permalink
Made touch colors pure (removed artifacts left from non-RTOS version)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rybec committed Jun 2, 2021
1 parent f3cc9be commit 8271d1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rot_trinkey_touch.py
Expand Up @@ -54,15 +54,15 @@ def touch_handler(self):
if touch == BOTH and touched != BOTH:
touched = BOTH
self.send(pyRTOS.Message(COLOR_DATA, "touch",
"renderer", (0b001, 0b111, 0b000)))
"renderer", (0b000, 0b111, 0b000)))
elif touch == PAD and touched != PAD:
touched = PAD
self.send(pyRTOS.Message(COLOR_DATA, "touch",
"renderer", (0b111, 0b000, 0b001)))
"renderer", (0b111, 0b000, 0b000)))
elif touch == ROTA and touched != ROTA:
touched = ROTA
self.send(pyRTOS.Message(COLOR_DATA, "touch",
"renderer", (0b000, 0b001, 0b111)))
"renderer", (0b000, 0b000, 0b111)))
elif touch == NONE and touched != NONE:
touched = NONE
self.send(pyRTOS.Message(COLOR_RESUME, "touch", "renderer"))
Expand Down

0 comments on commit 8271d1a

Please sign in to comment.