twblue/src/keyboard_handler/global_handler.py

9 lines
327 B
Python
Raw Normal View History

2019-06-06 11:52:23 -05:00
from __future__ import absolute_import
import platform
if platform.system() == 'Linux':
2019-06-06 11:52:23 -05:00
from .linux import LinuxKeyboardHandler as GlobalKeyboardHandler
else:
from .wx_handler import WXKeyboardHandler as GlobalKeyboardHandler
#elif platform.system() == 'Darwin':
#from osx import OSXKeyboardHandler as GlobalKeyboardHandler