VirtualBox

Changeset 47208 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Jul 17, 2013 11:01:51 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87321
Message:

Devices/Input: more multi-touch plumbing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r47175 r47208  
    1426014260  <interface
    1426114261    name="IMouse" extends="$unknown"
    14262     uuid="05044a52-7811-4f00-ae3a-0ab7ff707b10"
     14262    uuid="436a3712-d818-4bb1-84f2-8da4d1a29e0a"
    1426314263    wsmap="managed"
    1426414264    >
     
    1429914299    <attribute name="multiTouchSupported" type="boolean" readonly="yes">
    1430014300      <desc>
    14301         Whether the guest OS supports multi-touch event reporting.
     14301        Whether the guest OS has enabled the multi-touch reporting device.
    1430214302        <note>
    1430314303          You can use the <link to="IMouseCapabilityChangedEvent"/>
     
    1443414434          A value of @c 1 means the corresponding button is pressed.
    1443514435          otherwise it is released.
     14436        </desc>
     14437      </param>
     14438    </method>
     14439
     14440    <method name="putMouseEventMultiTouch">
     14441      <desc>
     14442        Sends a multi-touch pointer event.  The coordinates are expressed in
     14443        pixels and start from <tt>[1,1]</tt> which corresponds to the top left
     14444        corner of the virtual display.
     14445
     14446        <result name="E_ACCESSDENIED">
     14447          Console not powered up.
     14448        </result>
     14449        <result name="VBOX_E_IPRT_ERROR">
     14450          Could not send mouse event to virtual mouse.
     14451        </result>
     14452
     14453        <note>
     14454          The guest may not understand or may choose to ignore this event.
     14455        </note>
     14456
     14457        <see><link to="#multiTouchSupported"/></see>
     14458      </desc>
     14459
     14460      <param name="x" type="long" dir="in">
     14461        <desc>
     14462          X coordinate of the touch in pixels, starting from @c 1.
     14463        </desc>
     14464      </param>
     14465      <param name="y" type="long" dir="in">
     14466        <desc>
     14467          Y coordinate of the touch in pixels, starting from @c 1.
     14468        </desc>
     14469      </param>
     14470      <param name="contactID" type="long" dir="in">
     14471        <desc>
     14472          Identifier for the touch number.  When a touch starts (i.e. a finger
     14473          first touches the device) it is given a currently unused identifier,
     14474          but if the touch moves without interruption (i.e. the finger is
     14475          touching the device the whole time) the identifier will be the same
     14476          for all following events.
     14477        </desc>
     14478      </param>
     14479      <param name="inContact" type="boolean" dir="in">
     14480        <desc>
     14481          Whether the touch is continuing.  If this is true, expect more events
     14482          with the same @a contactID, and this will usually be false when the
     14483          last event is received before the contact is stopped (i.e. the finger
     14484          is removed from the device).
    1443614485        </desc>
    1443714486      </param>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette