mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 01:53:57 +08:00
ui: add missing keyboard function
This commit is contained in:
@@ -241,6 +241,10 @@ class Keyboard(Widget):
|
||||
if not self._caps_lock and self._layout_name == "uppercase":
|
||||
self._layout_name = "lowercase"
|
||||
|
||||
def reset(self):
|
||||
self._render_return_status = -1
|
||||
self.clear()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
gui_app.init_window("Keyboard")
|
||||
|
||||
Reference in New Issue
Block a user