Changeset 26650 in vbox for trunk/include
- Timestamp:
- Feb 19, 2010 1:42:35 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57860
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmifs.h
r26638 r26650 279 279 280 280 281 /** PDMIMOUSEPORT interface ID. */282 #define PDMIMOUSEPORT_IID "f8d45ecc-bd6f-4a8d-b262-b85498e7f143"283 281 /** Pointer to a mouse port interface. */ 284 282 typedef struct PDMIMOUSEPORT *PPDMIMOUSEPORT; … … 291 289 /** 292 290 * Puts a mouse event. 293 * This is called by the source of mouse events. The event will be passed up until the 294 * topmost driver, which then calls the registered event handler. 295 * 296 * @returns VBox status code. 291 * 292 * This is called by the source of mouse events. The event will be passed up 293 * until the topmost driver, which then calls the registered event handler. 294 * 295 * @returns VBox status code. Return VERR_TRY_AGAIN if you cannot process the 296 * event now and want it to be repeated at a later point. 297 * 297 298 * @param pInterface Pointer to this interface structure. 298 * @param i32DeltaX The X delta. 299 * @param i32DeltaY The Y delta. 300 * @param i32DeltaZ The Z delta. 301 * @param i32DeltaW The W (horizontal scroll button) delta. 302 * @param fButtonStates The button states, see the PDMIMOUSEPORT_BUTTON_* \#defines. 303 * @thread The emulation thread. 304 */ 305 DECLR3CALLBACKMEMBER(int, pfnPutEvent,(PPDMIMOUSEPORT pInterface, int32_t i32DeltaX, int32_t i32DeltaY, int32_t i32DeltaZ, int32_t i32DeltaW, uint32_t fButtonStates)); 299 * @param iDeltaX The X delta. 300 * @param iDeltaY The Y delta. 301 * @param iDeltaZ The Z delta. 302 * @param iDeltaW The W (horizontal scroll button) delta. 303 * @param fButtonStates The button states, see the PDMIMOUSEPORT_BUTTON_* \#defines. 304 */ 305 DECLR3CALLBACKMEMBER(int, pfnPutEvent,(PPDMIMOUSEPORT pInterface, int32_t iDeltaX, int32_t iDeltaY, int32_t iDeltaZ, int32_t iDeltaW, uint32_t fButtonStates)); 306 306 /** 307 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. 308 * 309 * This is called by the source of mouse events. The event will be passed up 310 * until the topmost driver, which then calls the registered event handler. 311 * 312 * @returns VBox status code. Return VERR_TRY_AGAIN if you cannot process the 313 * event now and want it to be repeated at a later point. 314 * 312 315 * @param pInterface Pointer to this interface structure. 313 * @param i32cXThe X value, in the range 0 to 0xffff.314 * @param i32cYThe Y value, in the range 0 to 0xffff.315 * @param i 32DeltaZThe Z delta.316 * @param i 32DeltaWThe W (horizontal scroll button) delta.316 * @param uX The X value, in the range 0 to 0xffff. 317 * @param uY The Y value, in the range 0 to 0xffff. 318 * @param iDeltaZ The Z delta. 319 * @param iDeltaW The W (horizontal scroll button) delta. 317 320 * @param fButtonStates The button states, see the PDMIMOUSEPORT_BUTTON_* \#defines. 318 * @thread The emulation thread. 319 */ 320 DECLR3CALLBACKMEMBER(int, pfnPutEventAbs,(PPDMIMOUSEPORT pInterface, uint32_t i32cX, uint32_t i32cY, int32_t i32DeltaZ, int32_t i32DeltaW, uint32_t fButtonStates)); 321 */ 322 DECLR3CALLBACKMEMBER(int, pfnPutEventAbs,(PPDMIMOUSEPORT pInterface, uint32_t uX, uint32_t uY, int32_t iDeltaZ, int32_t iDeltaW, uint32_t fButtonStates)); 321 323 } PDMIMOUSEPORT; 324 /** PDMIMOUSEPORT interface ID. */ 325 #define PDMIMOUSEPORT_IID "442136fe-6f3c-49ec-9964-259b378ffa64" 322 326 323 327 /** Mouse button defines for PDMIMOUSEPORT::pfnPutEvent. … … 340 344 { 341 345 /** 342 * Notifies the the downstream driver when the guest switches the device into or out of absolute mode. 346 * Notifies the the downstream driver when the guest switches the device into or 347 * out of absolute mode. 343 348 * 344 349 * @param pInterface Pointer to the this interface. 345 * @param f Abs Whether absolute mode is currently enabled346 */ 347 DECLR3CALLBACKMEMBER(void, pfnAbsModeChange,(PPDMIMOUSECONNECTOR pInterface, bool f Abs));350 * @param fEnabled Whether absolute mode is currently enabled. 351 */ 352 DECLR3CALLBACKMEMBER(void, pfnAbsModeChange,(PPDMIMOUSECONNECTOR pInterface, bool fEnabled)); 348 353 349 354 } PDMIMOUSECONNECTOR; 350 351 355 /** PDMIMOUSECONNECTOR interface ID. */ 352 #define PDMIMOUSECONNECTOR_IID " 39e48c1c-1514-4ac6-8a9c-88034d36ae98"356 #define PDMIMOUSECONNECTOR_IID "6b7be703-c1de-40a2-a977-0ef68d8760ca" 353 357 354 358 … … 372 376 * @param pInterface Pointer to this interface structure. 373 377 * @param u8KeyCode The keycode to queue. 374 * @thread The emulation thread.375 378 */ 376 379 DECLR3CALLBACKMEMBER(int, pfnPutEvent,(PPDMIKEYBOARDPORT pInterface, uint8_t u8KeyCode));
Note:
See TracChangeset
for help on using the changeset viewer.