|
|
@@ -25,6 +25,7 @@ class TouchScreen(pykka.ThreadingActor, core.CoreListener):
|
|
|
self.fullscreen = config['touchscreen']['fullscreen']
|
|
|
os.environ["SDL_FBDEV"] = "/dev/fb1"
|
|
|
os.environ["SDL_MOUSEDEV"] = "/dev/input/touchscreen"
|
|
|
+ os.environ["TSLIB TSDEVICE"] = "/dev/input/eventX"
|
|
|
os.environ["SDL_MOUSEDRV"] = "TSLIB"
|
|
|
pygame.init()
|
|
|
self.cursor = config['touchscreen']['cursor']
|