Pepper_56_C_interfaces
Pepper_56_C_interfaces
Main Page
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
pp_input_event.h
Go to the documentation of this file.
1
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2
* Use of this source code is governed by a BSD-style license that can be
3
* found in the LICENSE file.
4
*/
5
6
/* From pp_input_event.idl modified Wed Nov 8 11:16:43 2017. */
7
8
#ifndef PPAPI_C_PP_INPUT_EVENT_H_
9
#define PPAPI_C_PP_INPUT_EVENT_H_
10
11
#include "
ppapi/c/pp_bool.h
"
12
#include "
ppapi/c/pp_macros.h
"
13
#include "
ppapi/c/pp_stdint.h
"
14
#include "
ppapi/c/ppb_input_event.h
"
15
43
struct
PP_InputEvent_Key
{
45
uint32_t
modifier
;
50
uint32_t
key_code
;
51
};
52
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(
PP_InputEvent_Key
, 8);
53
75
struct
PP_InputEvent_Character
{
77
uint32_t
modifier
;
84
int8_t
text
[5];
85
};
86
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(
PP_InputEvent_Character
, 12);
87
92
struct
PP_InputEvent_Mouse
{
97
uint32_t
modifier
;
103
PP_InputEvent_MouseButton
button
;
113
float
x
;
123
float
y
;
124
int32_t click_count;
125
};
126
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(
PP_InputEvent_Mouse
, 20);
127
132
struct
PP_InputEvent_Wheel
{
137
uint32_t
modifier
;
158
float
delta_x
;
178
float
delta_y
;
197
float
wheel_ticks_x
;
199
float
wheel_ticks_y
;
205
PP_Bool
scroll_by_page
;
206
};
207
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(
PP_InputEvent_Wheel
, 24);
212
#endif
/* PPAPI_C_PP_INPUT_EVENT_H_ */
213
PP_InputEvent_Mouse::modifier
uint32_t modifier
Definition:
pp_input_event.h:97
pp_macros.h
PP_InputEvent_Character::modifier
uint32_t modifier
Definition:
pp_input_event.h:77
PP_InputEvent_Mouse::y
float y
Definition:
pp_input_event.h:123
pp_bool.h
PP_InputEvent_Wheel::scroll_by_page
PP_Bool scroll_by_page
Definition:
pp_input_event.h:205
PP_InputEvent_Wheel::wheel_ticks_y
float wheel_ticks_y
Definition:
pp_input_event.h:199
PP_InputEvent_Key::key_code
uint32_t key_code
Definition:
pp_input_event.h:50
PP_InputEvent_Wheel
Definition:
pp_input_event.h:132
PP_InputEvent_Wheel::delta_y
float delta_y
Definition:
pp_input_event.h:178
PP_InputEvent_Wheel::modifier
uint32_t modifier
Definition:
pp_input_event.h:137
PP_InputEvent_Character
Definition:
pp_input_event.h:75
PP_InputEvent_Wheel::wheel_ticks_x
float wheel_ticks_x
Definition:
pp_input_event.h:197
PP_InputEvent_Mouse::x
float x
Definition:
pp_input_event.h:113
PP_InputEvent_Mouse
Definition:
pp_input_event.h:92
PP_InputEvent_Mouse::button
PP_InputEvent_MouseButton button
Definition:
pp_input_event.h:103
PP_InputEvent_Character::text
int8_t text[5]
Definition:
pp_input_event.h:84
pp_stdint.h
PP_InputEvent_MouseButton
PP_InputEvent_MouseButton
Definition:
ppb_input_event.h:225
PP_InputEvent_Key::modifier
uint32_t modifier
Definition:
pp_input_event.h:45
PP_Bool
PP_Bool
Definition:
pp_bool.h:30
PP_InputEvent_Key
Definition:
pp_input_event.h:43
PP_InputEvent_Wheel::delta_x
float delta_x
Definition:
pp_input_event.h:158
ppb_input_event.h
ppapi
c
pp_input_event.h
Generated by
1.8.6