File: mouse-capture.dita

package info (click to toggle)
virtualbox 7.1.12-dfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 565,672 kB
  • sloc: ansic: 2,330,854; cpp: 2,193,228; asm: 230,777; python: 223,895; xml: 86,771; sh: 25,541; makefile: 8,158; perl: 5,697; java: 5,337; cs: 4,872; pascal: 1,782; javascript: 1,692; objc: 1,131; lex: 931; php: 906; sed: 899; yacc: 707
file content (47 lines) | stat: -rw-r--r-- 1,856 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic xml:lang="en-us" id="mouse-capture">
  <title>Configuring Automatic Mouse Capturing</title>
  
  <body>
    <p>By default, the mouse is captured if the user clicks on the guest window and the guest expects relative mouse
      coordinates at this time. This happens if the pointing device is configured as PS/2 mouse and the guest has not
      yet started the <ph conkeyref="vbox-conkeyref-phrases/product-name"/> Guest Additions. For instance, the guest is
      booting or the Guest Additions are not installed, or if the pointing device is configured as a USB tablet but the
      guest has no USB driver loaded yet. Once the Guest Additions become active or the USB guest driver is started, the
      mouse capture is automatically released. </p>
    <p>The default behavior is sometimes not appropriate. Therefore it can be configured as follows: </p>
    <pre xml:space="preserve">VBoxManage setextradata <varname>VM-name</varname> GUI/MouseCapturePolicy <varname>mode</varname>
                  </pre>
    <p><varname>mode</varname> is one of the following:
      </p>
    <dl>
      <dlentry>
        <dt>
          <codeph>Default</codeph>
        </dt>
        <dd>
          <p>The default behavior as described above. </p>
        </dd>
      </dlentry>
      <dlentry>
        <dt>
          <codeph>HostComboOnly</codeph>
        </dt>
        <dd>
          <p>The mouse is only captured if the Host Key is toggled. </p>
        </dd>
      </dlentry>
      <dlentry>
        <dt>
          <codeph>Disabled</codeph>
        </dt>
        <dd>
          <p>The mouse is never captured, also not by toggling the Host Key </p>
        </dd>
      </dlentry>
    </dl>
    <p>This is a per-VM setting. </p>
  </body>
  
</topic>