Native Client

PP_InputEvent_Mouse Struct Reference

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


Detailed Description

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

Data Fields List

uint32_t modifier
PP_InputEvent_MouseButton button
float x
float y
int32_t click_count

Data Fields Details

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:

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.