Clean up comments

pull/4/head
rdagger 5 years ago
parent 71b160f4fe
commit 767e9a93d4

@ -3,6 +3,7 @@
class TouchKeyboard(object): class TouchKeyboard(object):
"""Touchscreen keyboard for ILI9341.""" """Touchscreen keyboard for ILI9341."""
YELLOW = const(65504) YELLOW = const(65504)
GREEN = const(2016) GREEN = const(2016)
@ -96,13 +97,13 @@ class TouchKeyboard(object):
self.kb_screen ^= 1 # Toggle caps self.kb_screen ^= 1 # Toggle caps
self.load_keyboard() self.load_keyboard()
elif key == '\f': elif key == '\f':
self.kb_screen = 3 # Extended symbols self.kb_screen = 3 # Symbols Set 2
self.load_keyboard() self.load_keyboard()
elif key == '\v': elif key == '\v':
self.kb_screen = 2 # Numbers & symbols self.kb_screen = 2 # Symbols Set 1
self.load_keyboard() self.load_keyboard()
elif key == '\a': elif key == '\a':
self.kb_screen = 0 # Leters self.kb_screen = 0 # Letters
self.load_keyboard() self.load_keyboard()
elif key == '\n': elif key == '\n':
self.kb_screen = 2 # Numbers & symbols self.kb_screen = 2 # Numbers & symbols

Loading…
Cancel
Save