Changeset 26624 in vbox for trunk/include/VBox
- Timestamp:
- Feb 18, 2010 10:35:24 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57827
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmifs.h
r26573 r26624 304 304 */ 305 305 DECLR3CALLBACKMEMBER(int, pfnPutEvent,(PPDMIMOUSEPORT pInterface, int32_t i32DeltaX, int32_t i32DeltaY, int32_t i32DeltaZ, int32_t i32DeltaW, uint32_t fButtonStates)); 306 /** 307 * Puts an absolute mouse event. 308 * This is called by the source of mouse events. The event will be passed up until the 309 * topmost driver, which then calls the registered event handler. 310 * 311 * @returns VBox status code. 312 * @param pInterface Pointer to this interface structure. 313 * @param i32cX The X value, in the range 0 to 0xffff. 314 * @param i32cY The Y value, in the range 0 to 0xffff. 315 * @thread The emulation thread. 316 */ 317 DECLR3CALLBACKMEMBER(int, pfnPutEventAbs,(PPDMIMOUSEPORT pInterface, int32_t i32cX, int32_t i32cY)); 306 318 } PDMIMOUSEPORT; 307 319 … … 316 328 317 329 330 /** Pointer to a mouse connector interface. */ 331 typedef struct PDMIMOUSECONNECTOR *PPDMIMOUSECONNECTOR; 318 332 /** 319 333 * Mouse connector interface (up). 320 334 * Pair with PDMIMOUSEPORT. 321 335 */ 322 typedef PDMIDUMMY PDMIMOUSECONNECTOR; 323 /** Pointer to a mouse connector interface. */ 324 typedef PDMIMOUSECONNECTOR *PPDMIMOUSECONNECTOR; 336 typedef struct PDMIMOUSECONNECTOR 337 { 338 /** 339 * Notifies the the downstream driver when the guest switches the device into or out of absolute mode. 340 * 341 * @param pInterface Pointer to the this interface. 342 * @param fAbs Whether absolute mode is currently enabled 343 */ 344 DECLR3CALLBACKMEMBER(void, pfnAbsModeChange,(PPDMIMOUSECONNECTOR pInterface, bool fAbs)); 345 346 } PDMIMOUSECONNECTOR; 347 325 348 /** PDMIMOUSECONNECTOR interface ID. */ 326 349 #define PDMIMOUSECONNECTOR_IID "847f965f-0eb8-4363-88ac-b0ee58a05bde"
Note:
See TracChangeset
for help on using the changeset viewer.