Data Fields

uint32_t modifier
PP_InputEvent_MouseButton button
float x
float y
int32_t click_count

Detailed Description

The PP_InputEvent_Mouse struct represents all mouse events except mouse wheel events.


Field Documentation

This value represents the button that changed for mouse down or up events.

This value will be PP_EVENT_MOUSEBUTTON_NONE for mouse move, enter, and leave events.

This value is a bit field combination of the PP_InputEvent_Modifier flags.

This values represents the x coordinate of the mouse when the event occurred.

In most, but not all, cases these coordinates will just be integers. For example, the plugin element might be arbitrarily scaled or transformed in the DOM, and translating a mouse event into the coordinate space of the plugin will give non-integer values.

This values represents the y coordinate of the mouse when the event occurred.

In most, but not all, cases these coordinates will just be integers. For example, the plugin element might be arbitrarily scaled or transformed in the DOM, and translating a mouse event into the coordinate space of the plugin will give non-integer values.


The documentation for this struct was generated from the following file:
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.