title: Kivy: Hide mouse cursor on desktop
body: <p>I have a fullscreen app and I'm trying to hide the mouse cursor. The setup is <strong>Kivy 1.9.0</strong> on <strong>Python 3.4.1</strong> for <strong>Windows</strong>, using the prepared packages.</p>
  
  <p>I have tried the following approaches, with no success:</p>
  
  <p>1- Using <a href="http://kivy.org/docs/api-kivy.config.html" rel="nofollow noreferrer">Config</a> object:</p>
  
  <pre><code>from kivy.config import Config
  Config.set("graphics", "show_cursor", 0)
  </code></pre>
  
  <p>2- Editing .kivy\config.ini:</p>
  
  <pre><code>[graphics]
  .
  .
  .
  show_cursor = 0
  </code></pre>
  
  <p>3- Using pygame:</p>
  
  <pre><code>import pygame
  pygame.init()
  pygame.mouse.set_visible(False)
  </code></pre>
  
  <p>4- Moving the mouse off-screen:</p>
  
  <pre><code>def move_mouse_away(etype, motionevent):
    # this one doesn't get called at all
    Window.mouse_pos = [1400, 1000]
  
  Window.bind(on_motion=move_mouse_away)
  </code></pre>
  
  <p>5- Using <a href="https://stackoverflow.com/questions/22726503/moving-a-image-with-mouse-cursor-in-kivy">Clock</a> for a similar effect:</p>
  
  <pre><code>Clock.schedule_interval(self._reset_mouse, 0.05)
  
  def _reset_mouse(self, time):
    Window.mouse_pos = [1400, 1400]
  </code></pre>
  
  <p>I'm a little out of ideas now.</p>