From 767e9a93d4b8c5b705ca12d8d8876368d927a7d5 Mon Sep 17 00:00:00 2001 From: rdagger Date: Sat, 18 Apr 2020 15:27:27 -0700 Subject: [PATCH] Clean up comments --- touch_keyboard.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/touch_keyboard.py b/touch_keyboard.py index 0b7334e..9c5c064 100644 --- a/touch_keyboard.py +++ b/touch_keyboard.py @@ -3,6 +3,7 @@ class TouchKeyboard(object): """Touchscreen keyboard for ILI9341.""" + YELLOW = const(65504) GREEN = const(2016) @@ -96,13 +97,13 @@ class TouchKeyboard(object): self.kb_screen ^= 1 # Toggle caps self.load_keyboard() elif key == '\f': - self.kb_screen = 3 # Extended symbols + self.kb_screen = 3 # Symbols Set 2 self.load_keyboard() elif key == '\v': - self.kb_screen = 2 # Numbers & symbols + self.kb_screen = 2 # Symbols Set 1 self.load_keyboard() elif key == '\a': - self.kb_screen = 0 # Leters + self.kb_screen = 0 # Letters self.load_keyboard() elif key == '\n': self.kb_screen = 2 # Numbers & symbols