Changeset 47571 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Aug 7, 2013 9:49:33 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 87771
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmifs.h
r47301 r47571 328 328 uint32_t fButtons)); 329 329 /** 330 * Puts a multi-touch pointer event. 331 * 332 * This is called by the source of mouse events. The event will be passed up 333 * until the topmost driver, which then calls the registered event handler. 334 * 335 * @returns VBox status code. Return VERR_TRY_AGAIN if you cannot process the 330 * Puts a multi-touch event. 331 * 332 * @returns VBox status code. Return VERR_TRY_AGAIN if you cannot process the 336 333 * event now and want it to be repeated at a later point. 337 334 * 338 335 * @param pInterface Pointer to this interface structure. 339 * @param x The X value, in the range 0 to 0xffff. 340 * @param y The Y value, in the range 0 to 0xffff. 341 * @param cContact The number of the touch contact. 342 * @param fContact Whether the touch is currently in contact. 343 */ 344 DECLR3CALLBACKMEMBER(int, pfnPutEventMT,(PPDMIMOUSEPORT pInterface, 345 uint32_t x, uint32_t y, 346 uint32_t cContact, uint32_t fContact)); 336 * @param cContacts How many touch contacts in this event. 337 * @param pau64Contacts Pointer to array of packed contact information. 338 * Each 64bit element contains: 339 * Bits 0..15: X coordinate in pixels (signed). 340 * Bits 16..31: Y coordinate in pixels (signed). 341 * Bits 32..39: contact identifier. 342 * Bit 40: "in contact" flag, which indicates that 343 * there is a contact with the touch surface. 344 * Bit 41: "in range" flag, the contact is close enough 345 * to the touch surface. 346 * All other bits are reserved for future use and must be set to 0. 347 * @param u32ScanTime Timestamp of this event in milliseconds. Only relative 348 * time between event is important. 349 */ 350 DECLR3CALLBACKMEMBER(int, pfnPutEventMultiTouch,(PPDMIMOUSEPORT pInterface, 351 uint8_t cContacts, 352 const uint64_t *pau64Contacts, 353 uint32_t u32ScanTime)); 347 354 } PDMIMOUSEPORT; 348 355 /** PDMIMOUSEPORT interface ID. */ 349 #define PDMIMOUSEPORT_IID " 7abcf389-3f7c-4a62-8d19-65102da58ef3"356 #define PDMIMOUSEPORT_IID "359364f0-9fa3-4490-a6b4-7ed771901c93" 350 357 351 358 /** Mouse button defines for PDMIMOUSEPORT::pfnPutEvent.
Note:
See TracChangeset
for help on using the changeset viewer.