![]() |
WSCLib SDK 1.0.0
GPU-accelerated video output framework for Windows
|
Enumerations | |
| enum | WSCWMouseButton { WSCW_MOUSE_LEFT = 0 , WSCW_MOUSE_MIDDLE = 1 , WSCW_MOUSE_RIGHT = 2 } |
| Mouse button identifiers. More... | |
Functions | |
| WSCWResult | WSCW_SendMouseMove (int browserId, int x, int y) |
| Send a mouse move event. | |
| WSCWResult | WSCW_SendMouseDown (int browserId, WSCWMouseButton button, int x, int y) |
| Send a mouse button down event. | |
| WSCWResult | WSCW_SendMouseUp (int browserId, WSCWMouseButton button, int x, int y) |
| Send a mouse button up event. | |
| WSCWResult | WSCW_SendMouseWheel (int browserId, int x, int y, int deltaX, int deltaY) |
| Send a mouse scroll event. | |
| WSCWResult | WSCW_SendKeyEvent (int browserId, int keyCode, int isKeyUp, int modifiers) |
| Send a key event. | |
| WSCWResult | WSCW_SendChar (int browserId, int character) |
| Send a character input event (for text input). | |
| enum WSCWMouseButton |
| WSCWResult WSCW_SendMouseMove | ( | int | browserId, |
| int | x, | ||
| int | y ) |
Send a mouse move event.
| browserId | Browser ID. |
| x | X coordinate in pixels. |
| y | Y coordinate in pixels. |
| WSCWResult WSCW_SendMouseDown | ( | int | browserId, |
| WSCWMouseButton | button, | ||
| int | x, | ||
| int | y ) |
Send a mouse button down event.
| browserId | Browser ID. |
| button | Mouse button. |
| x | X coordinate. |
| y | Y coordinate. |
| WSCWResult WSCW_SendMouseUp | ( | int | browserId, |
| WSCWMouseButton | button, | ||
| int | x, | ||
| int | y ) |
Send a mouse button up event.
| browserId | Browser ID. |
| button | Mouse button. |
| x | X coordinate. |
| y | Y coordinate. |
| WSCWResult WSCW_SendMouseWheel | ( | int | browserId, |
| int | x, | ||
| int | y, | ||
| int | deltaX, | ||
| int | deltaY ) |
Send a mouse scroll event.
| browserId | Browser ID. |
| x | X coordinate. |
| y | Y coordinate. |
| deltaX | Horizontal scroll delta. |
| deltaY | Vertical scroll delta. |
| WSCWResult WSCW_SendKeyEvent | ( | int | browserId, |
| int | keyCode, | ||
| int | isKeyUp, | ||
| int | modifiers ) |
Send a key event.
| browserId | Browser ID. |
| keyCode | Windows virtual key code (VK_*). |
| isKeyUp | 0 = key down, 1 = key up. |
| modifiers | Modifier flags: 1 = Shift, 2 = Ctrl, 4 = Alt. |
| WSCWResult WSCW_SendChar | ( | int | browserId, |
| int | character ) |
Send a character input event (for text input).
| browserId | Browser ID. |
| character | UTF-16 character code. |