{{+bindTo:partials.standard_nacl_api}}
uint32_t | modifier |
PP_InputEvent_MouseButton | button |
float | x |
float | y |
int32_t | click_count |
The PP_InputEvent_Mouse
struct represents all mouse events except mouse wheel events.
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.
int32_t PP_InputEvent_Mouse::click_count |
uint32_t PP_InputEvent_Mouse::modifier |
This value is a bit field combination of the PP_InputEvent_Modifier
flags.
float PP_InputEvent_Mouse::x |
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.
float PP_InputEvent_Mouse::y |
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.