8 #ifndef PPAPI_C_PPB_INPUT_EVENT_H_
9 #define PPAPI_C_PPB_INPUT_EVENT_H_
21 #define PPB_INPUT_EVENT_INTERFACE_1_0 "PPB_InputEvent;1.0"
22 #define PPB_INPUT_EVENT_INTERFACE PPB_INPUT_EVENT_INTERFACE_1_0
24 #define PPB_MOUSE_INPUT_EVENT_INTERFACE_1_0 "PPB_MouseInputEvent;1.0"
25 #define PPB_MOUSE_INPUT_EVENT_INTERFACE_1_1 "PPB_MouseInputEvent;1.1"
26 #define PPB_MOUSE_INPUT_EVENT_INTERFACE PPB_MOUSE_INPUT_EVENT_INTERFACE_1_1
28 #define PPB_WHEEL_INPUT_EVENT_INTERFACE_1_0 "PPB_WheelInputEvent;1.0"
29 #define PPB_WHEEL_INPUT_EVENT_INTERFACE PPB_WHEEL_INPUT_EVENT_INTERFACE_1_0
31 #define PPB_KEYBOARD_INPUT_EVENT_INTERFACE_1_0 "PPB_KeyboardInputEvent;1.0"
32 #define PPB_KEYBOARD_INPUT_EVENT_INTERFACE_1_2 "PPB_KeyboardInputEvent;1.2"
33 #define PPB_KEYBOARD_INPUT_EVENT_INTERFACE \
34 PPB_KEYBOARD_INPUT_EVENT_INTERFACE_1_2
36 #define PPB_TOUCH_INPUT_EVENT_INTERFACE_1_0 "PPB_TouchInputEvent;1.0"
37 #define PPB_TOUCH_INPUT_EVENT_INTERFACE PPB_TOUCH_INPUT_EVENT_INTERFACE_1_0
39 #define PPB_IME_INPUT_EVENT_INTERFACE_1_0 "PPB_IMEInputEvent;1.0"
40 #define PPB_IME_INPUT_EVENT_INTERFACE PPB_IME_INPUT_EVENT_INTERFACE_1_0
56 PP_INPUTEVENT_TYPE_UNDEFINED = -1,
202 PP_INPUTEVENT_MODIFIER_SHIFTKEY = 1 << 0,
203 PP_INPUTEVENT_MODIFIER_CONTROLKEY = 1 << 1,
204 PP_INPUTEVENT_MODIFIER_ALTKEY = 1 << 2,
205 PP_INPUTEVENT_MODIFIER_METAKEY = 1 << 3,
206 PP_INPUTEVENT_MODIFIER_ISKEYPAD = 1 << 4,
207 PP_INPUTEVENT_MODIFIER_ISAUTOREPEAT = 1 << 5,
208 PP_INPUTEVENT_MODIFIER_LEFTBUTTONDOWN = 1 << 6,
209 PP_INPUTEVENT_MODIFIER_MIDDLEBUTTONDOWN = 1 << 7,
210 PP_INPUTEVENT_MODIFIER_RIGHTBUTTONDOWN = 1 << 8,
211 PP_INPUTEVENT_MODIFIER_CAPSLOCKKEY = 1 << 9,
212 PP_INPUTEVENT_MODIFIER_NUMLOCKKEY = 1 << 10,
213 PP_INPUTEVENT_MODIFIER_ISLEFT = 1 << 11,
214 PP_INPUTEVENT_MODIFIER_ISRIGHT = 1 << 12,
215 PP_INPUTEVENT_MODIFIER_ISPEN = 1 << 13,
216 PP_INPUTEVENT_MODIFIER_ISERASER = 1 << 14
226 PP_INPUTEVENT_MOUSEBUTTON_NONE = -1,
227 PP_INPUTEVENT_MOUSEBUTTON_LEFT = 0,
228 PP_INPUTEVENT_MOUSEBUTTON_MIDDLE = 1,
229 PP_INPUTEVENT_MOUSEBUTTON_RIGHT = 2
393 uint32_t event_classes);
510 const struct PP_Point* mouse_position,
512 const struct PP_Point* mouse_movement);
571 const struct PP_Point* mouse_position,
572 int32_t click_count);
729 struct PP_Var character_text,
781 struct PP_Var character_text);
958 uint32_t segment_number,
959 const uint32_t segment_offsets[],
960 int32_t target_segment,
961 uint32_t selection_start,
962 uint32_t selection_end);
Definition: ppb_input_event.h:87
Definition: ppb_input_event.h:107
Definition: ppb_input_event.h:156
Definition: ppb_input_event.h:174
Definition: ppb_input_event.h:62
Definition: ppb_input_event.h:274
Definition: ppb_input_event.h:293
Definition: pp_point.h:46
Definition: ppb_input_event.h:168
Definition: ppb_input_event.h:808
Definition: ppb_input_event.h:162
Definition: ppb_input_event.h:186
Definition: ppb_input_event.h:180
int32_t PP_Resource
Definition: pp_resource.h:40
Definition: ppb_input_event.h:75
double PP_TimeTicks
Definition: pp_time.h:42
Definition: ppb_input_event.h:93
Definition: pp_point.h:28
PP_InputEvent_Class
Definition: ppb_input_event.h:233
PP_TouchListType
Definition: ppb_input_event.h:794
Definition: ppb_input_event.h:113
Definition: ppb_input_event.h:144
Definition: ppb_input_event.h:150
PP_InputEvent_MouseButton
Definition: ppb_input_event.h:225
int32_t PP_Instance
Definition: pp_instance.h:34
Definition: ppb_input_event.h:99
Definition: ppb_input_event.h:121
Definition: ppb_input_event.h:68
Definition: ppb_input_event.h:803
PP_Bool
Definition: pp_bool.h:30
Definition: ppb_input_event.h:243
PP_InputEvent_Modifier
Definition: ppb_input_event.h:201
PP_InputEvent_Type
Definition: ppb_input_event.h:55
Definition: ppb_input_event.h:255
Definition: ppb_input_event.h:287
Definition: ppb_input_event.h:81
Definition: pp_touch_point.h:30
Definition: ppb_input_event.h:192
Definition: ppb_input_event.h:798