ppb_input_event.h File Reference

Include dependency graph for ppb_input_event.h:

Data Structures

struct  PPB_InputEvent
 The PPB_InputEvent interface contains pointers to several functions related to generic input events on the browser. More...
struct  PPB_MouseInputEvent
 The PPB_MouseInputEvent interface contains pointers to several functions related to mouse input events. More...
struct  PPB_WheelInputEvent
 The PPB_WheelIputEvent interface contains pointers to several functions related to wheel input events. More...
struct  PPB_KeyboardInputEvent
 The PPB_KeyboardInputEvent interface contains pointers to several functions related to keyboard input events. More...
struct  PPB_TouchInputEvent
 The PPB_TouchInputEvent interface contains pointers to several functions related to touch events. More...
struct  PPB_IMEInputEvent

Defines

#define PPB_INPUT_EVENT_INTERFACE   "PPB_InputEvent;1.0"
#define PPB_INPUT_EVENT_INTERFACE   PPB_INPUT_EVENT_INTERFACE
#define PPB_MOUSE_INPUT_EVENT_INTERFACE   "PPB_MouseInputEvent;1.1"
#define PPB_MOUSE_INPUT_EVENT_INTERFACE   PPB_MOUSE_INPUT_EVENT_INTERFACE
#define PPB_WHEEL_INPUT_EVENT_INTERFACE   "PPB_WheelInputEvent;1.0"
#define PPB_WHEEL_INPUT_EVENT_INTERFACE   PPB_WHEEL_INPUT_EVENT_INTERFACE
#define PPB_KEYBOARD_INPUT_EVENT_INTERFACE   "PPB_KeyboardInputEvent;1.2"
#define PPB_KEYBOARD_INPUT_EVENT_INTERFACE   PPB_KEYBOARD_INPUT_EVENT_INTERFACE
#define PPB_TOUCH_INPUT_EVENT_INTERFACE   "PPB_TouchInputEvent;1.0"
#define PPB_TOUCH_INPUT_EVENT_INTERFACE   PPB_TOUCH_INPUT_EVENT_INTERFACE
#define PPB_IME_INPUT_EVENT_INTERFACE   "PPB_IMEInputEvent;1.0"
#define PPB_IME_INPUT_EVENT_INTERFACE   PPB_IME_INPUT_EVENT_INTERFACE

Typedefs

typedef struct PPB_InputEvent PPB_InputEvent
typedef struct
PPB_MouseInputEvent 
PPB_MouseInputEvent
typedef struct
PPB_WheelInputEvent 
PPB_WheelInputEvent
typedef struct
PPB_KeyboardInputEvent 
PPB_KeyboardInputEvent
typedef struct
PPB_TouchInputEvent 
PPB_TouchInputEvent
typedef struct
PPB_IMEInputEvent 
PPB_IMEInputEvent

Enumerations

enum  PP_InputEvent_Type {
  PP_INPUTEVENT_TYPE_UNDEFINED = -1, PP_INPUTEVENT_TYPE_MOUSEDOWN = 0, PP_INPUTEVENT_TYPE_MOUSEUP = 1, PP_INPUTEVENT_TYPE_MOUSEMOVE = 2,
  PP_INPUTEVENT_TYPE_MOUSEENTER = 3, PP_INPUTEVENT_TYPE_MOUSELEAVE = 4, PP_INPUTEVENT_TYPE_WHEEL = 5, PP_INPUTEVENT_TYPE_RAWKEYDOWN = 6,
  PP_INPUTEVENT_TYPE_KEYDOWN = 7, PP_INPUTEVENT_TYPE_KEYUP = 8, PP_INPUTEVENT_TYPE_CHAR = 9, PP_INPUTEVENT_TYPE_CONTEXTMENU = 10,
  PP_INPUTEVENT_TYPE_IME_COMPOSITION_START = 11, PP_INPUTEVENT_TYPE_IME_COMPOSITION_UPDATE = 12, PP_INPUTEVENT_TYPE_IME_COMPOSITION_END = 13, PP_INPUTEVENT_TYPE_IME_TEXT = 14,
  PP_INPUTEVENT_TYPE_TOUCHSTART = 15, PP_INPUTEVENT_TYPE_TOUCHMOVE = 16, PP_INPUTEVENT_TYPE_TOUCHEND = 17, PP_INPUTEVENT_TYPE_TOUCHCANCEL = 18
}
enum  PP_InputEvent_Modifier {
  PP_INPUTEVENT_MODIFIER_SHIFTKEY = 1 << 0, PP_INPUTEVENT_MODIFIER_CONTROLKEY = 1 << 1, PP_INPUTEVENT_MODIFIER_ALTKEY = 1 << 2, PP_INPUTEVENT_MODIFIER_METAKEY = 1 << 3,
  PP_INPUTEVENT_MODIFIER_ISKEYPAD = 1 << 4, PP_INPUTEVENT_MODIFIER_ISAUTOREPEAT = 1 << 5, PP_INPUTEVENT_MODIFIER_LEFTBUTTONDOWN = 1 << 6, PP_INPUTEVENT_MODIFIER_MIDDLEBUTTONDOWN = 1 << 7,
  PP_INPUTEVENT_MODIFIER_RIGHTBUTTONDOWN = 1 << 8, PP_INPUTEVENT_MODIFIER_CAPSLOCKKEY = 1 << 9, PP_INPUTEVENT_MODIFIER_NUMLOCKKEY = 1 << 10, PP_INPUTEVENT_MODIFIER_ISLEFT = 1 << 11,
  PP_INPUTEVENT_MODIFIER_ISRIGHT = 1 << 12, PP_INPUTEVENT_MODIFIER_ISPEN = 1 << 13, PP_INPUTEVENT_MODIFIER_ISERASER = 1 << 14
}
enum  PP_InputEvent_MouseButton { PP_INPUTEVENT_MOUSEBUTTON_NONE = -1, PP_INPUTEVENT_MOUSEBUTTON_LEFT = 0, PP_INPUTEVENT_MOUSEBUTTON_MIDDLE = 1, PP_INPUTEVENT_MOUSEBUTTON_RIGHT = 2 }
enum  PP_InputEvent_Class {
  PP_INPUTEVENT_CLASS_MOUSE = 1 << 0, PP_INPUTEVENT_CLASS_KEYBOARD = 1 << 1, PP_INPUTEVENT_CLASS_WHEEL = 1 << 2, PP_INPUTEVENT_CLASS_TOUCH = 1 << 3,
  PP_INPUTEVENT_CLASS_IME = 1 << 4
}
enum  PP_TouchListType { PP_TOUCHLIST_TYPE_TOUCHES = 0, PP_TOUCHLIST_TYPE_CHANGEDTOUCHES = 1, PP_TOUCHLIST_TYPE_TARGETTOUCHES = 2 }

Variables

 PP_InputEvent_Type
 PP_InputEvent_Modifier
 PP_InputEvent_MouseButton
 PP_InputEvent_Class
 PP_TouchListType

Detailed Description

This file defines the Input Event interfaces.


Define Documentation

#define PPB_IME_INPUT_EVENT_INTERFACE   "PPB_IMEInputEvent;1.0"
#define PPB_INPUT_EVENT_INTERFACE   "PPB_InputEvent;1.0"
#define PPB_KEYBOARD_INPUT_EVENT_INTERFACE   "PPB_KeyboardInputEvent;1.2"
#define PPB_MOUSE_INPUT_EVENT_INTERFACE   "PPB_MouseInputEvent;1.1"
#define PPB_TOUCH_INPUT_EVENT_INTERFACE   "PPB_TouchInputEvent;1.0"
#define PPB_WHEEL_INPUT_EVENT_INTERFACE   "PPB_WheelInputEvent;1.0"