1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Markus Koschany <apo@debian.org>
Date: Mon, 8 Jul 2013 19:35:43 +0200
Subject: disable mouse cursor visibility
---
lib/main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/main.py b/lib/main.py
index 6976b0f..c925a0d 100644
--- a/lib/main.py
+++ b/lib/main.py
@@ -78,7 +78,7 @@ class Game(engine.Game):
pygame.display.set_caption(TITLE)
self.timer = timer.Timer(FPS)
#self.timer = timer.Speedometer()
-
+ pygame.mouse.set_visible(False)
pygame.joystick.init()
joy_count = pygame.joystick.get_count()
for joynum in range(joy_count):
|