Reply To: Hide mouse while running SARndbox?

Home Forums AR Sandbox Forum Hide mouse while running SARndbox? Reply To: Hide mouse while running SARndbox?

#100779
Oliver Kreylos
Keymaster

The more elegant approach is to place a file defining an invisible cursor into Vrui’s share/Textures directory (which already contains Cursor.Xcur), and create a patch configuration file as above with the following contents:

section Vrui
  section Desktop
    glyphCursorFileName <Vrui texture dir>/EmptyCursor.Xcur
    glyphCursorNominalSize 8
    
    section MouseAdapter
      fakeMouseCursor true
    endsection
  endsection
endsection

where <Vrui texture dir> needs to be replaced with the full path to the directory where EmptyCursor.Xcur was placed.

Comments are closed.