示例#1
0
 def on_start(self):
     # bind to the keyboard to listen to
     # specific key codes
     from utils.keyboard import hook_keyboard
     hook_keyboard()
     # let's load our first screen
     load_screen('StartupScreen')
示例#2
0
 def on_start(self):
     # bind to the keyboard to listen to
     # specific key codes
     from utils.keyboard import hook_keyboard
     hook_keyboard()
     # let's load our first screen
     load_screen('StartupScreen')