Mir
Typedefs | Enumerations
enums.h File Reference
#include <mir_toolkit/common.h>
Include dependency graph for enums.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef unsigned int MirInputEventModifiers
 
typedef unsigned int MirPointerButtons
 

Enumerations

enum  MirEventType {
  mir_event_type_key , mir_event_type_motion , mir_event_type_window , mir_event_type_resize ,
  mir_event_type_prompt_session_state_change , mir_event_type_orientation , mir_event_type_close_window , mir_event_type_input ,
  mir_event_type_input_configuration , mir_event_type_window_output , mir_event_type_input_device_state , mir_event_type_window_placement
}
 
enum  MirInputEventType {
  mir_input_event_type_key = 0 , mir_input_event_type_touch = 1 , mir_input_event_type_pointer = 2 , mir_input_event_type_keyboard_resync = 3 ,
  mir_input_event_types
}
 
enum  MirInputEventModifier {
  mir_input_event_modifier_none = 1 << 0 , mir_input_event_modifier_alt = 1 << 1 , mir_input_event_modifier_alt_left = 1 << 2 , mir_input_event_modifier_alt_right = 1 << 3 ,
  mir_input_event_modifier_shift = 1 << 4 , mir_input_event_modifier_shift_left = 1 << 5 , mir_input_event_modifier_shift_right = 1 << 6 , mir_input_event_modifier_sym = 1 << 7 ,
  mir_input_event_modifier_function = 1 << 8 , mir_input_event_modifier_ctrl = 1 << 9 , mir_input_event_modifier_ctrl_left = 1 << 10 , mir_input_event_modifier_ctrl_right = 1 << 11 ,
  mir_input_event_modifier_meta = 1 << 12 , mir_input_event_modifier_meta_left = 1 << 13 , mir_input_event_modifier_meta_right = 1 << 14 , mir_input_event_modifier_caps_lock = 1 << 15 ,
  mir_input_event_modifier_num_lock = 1 << 16 , mir_input_event_modifier_scroll_lock = 1 << 17
}
 Description of key modifier state. More...
 
enum  MirKeyboardAction { mir_keyboard_action_up , mir_keyboard_action_down , mir_keyboard_action_repeat , mir_keyboard_actions }
 Possible actions for changing key state. More...
 
enum  MirTouchAction { mir_touch_action_up = 0 , mir_touch_action_down = 1 , mir_touch_action_change = 2 , mir_touch_actions }
 Possible per touch actions for state changing. More...
 
enum  MirTouchAxis {
  mir_touch_axis_x = 0 , mir_touch_axis_y = 1 , mir_touch_axis_pressure = 2 , mir_touch_axis_touch_major = 3 ,
  mir_touch_axis_touch_minor = 4 , mir_touch_axis_size = 5 , mir_touch_axes
}
 Identifiers for touch axis. More...
 
enum  MirTouchTooltype { mir_touch_tooltype_unknown = 0 , mir_touch_tooltype_finger = 1 , mir_touch_tooltype_stylus = 2 , mir_touch_tooltypes }
 Identifiers for per-touch tool types. More...
 
enum  MirPointerAction {
  mir_pointer_action_button_up = 0 , mir_pointer_action_button_down = 1 , mir_pointer_action_enter = 2 , mir_pointer_action_leave = 3 ,
  mir_pointer_action_motion = 4 , mir_pointer_actions
}
 Possible pointer actions. More...
 
enum  MirPointerAxis {
  mir_pointer_axis_x = 0 , mir_pointer_axis_y = 1 , mir_pointer_axis_vscroll = 2 , mir_pointer_axis_hscroll = 3 ,
  mir_pointer_axis_relative_x = 4 , mir_pointer_axis_relative_y = 5 , mir_pointer_axis_vscroll_discrete = 6 , mir_pointer_axis_hscroll_discrete = 7 ,
  mir_pointer_axes
}
 Identifiers for pointer axis. More...
 
enum  MirPointerButton {
  mir_pointer_button_primary = 1 << 0 , mir_pointer_button_secondary = 1 << 1 , mir_pointer_button_tertiary = 1 << 2 , mir_pointer_button_back = 1 << 3 ,
  mir_pointer_button_forward = 1 << 4 , mir_pointer_button_side = 1 << 5 , mir_pointer_button_extra = 1 << 6 , mir_pointer_button_task = 1 << 7
}
 
enum  MirPointerAxisSource {
  mir_pointer_axis_source_none , mir_pointer_axis_source_wheel , mir_pointer_axis_source_finger , mir_pointer_axis_source_continuous ,
  mir_pointer_axis_source_wheel_tilt
}
 Identifiers for pointer event source. More...
 

Typedef Documentation

◆ MirInputEventModifiers

typedef unsigned int MirInputEventModifiers

◆ MirPointerButtons

typedef unsigned int MirPointerButtons

Enumeration Type Documentation

◆ MirEventType

Enumerator
mir_event_type_key 
mir_event_type_motion 
mir_event_type_window 
mir_event_type_resize 
mir_event_type_prompt_session_state_change 
mir_event_type_orientation 
mir_event_type_close_window 
mir_event_type_input 
mir_event_type_input_configuration 
mir_event_type_window_output 
mir_event_type_input_device_state 
mir_event_type_window_placement 

◆ MirInputEventModifier

Description of key modifier state.

Enumerator
mir_input_event_modifier_none 
mir_input_event_modifier_alt 
mir_input_event_modifier_alt_left 
mir_input_event_modifier_alt_right 
mir_input_event_modifier_shift 
mir_input_event_modifier_shift_left 
mir_input_event_modifier_shift_right 
mir_input_event_modifier_sym 
mir_input_event_modifier_function 
mir_input_event_modifier_ctrl 
mir_input_event_modifier_ctrl_left 
mir_input_event_modifier_ctrl_right 
mir_input_event_modifier_meta 
mir_input_event_modifier_meta_left 
mir_input_event_modifier_meta_right 
mir_input_event_modifier_caps_lock 
mir_input_event_modifier_num_lock 
mir_input_event_modifier_scroll_lock 

◆ MirInputEventType

Enumerator
mir_input_event_type_key 
mir_input_event_type_touch 
mir_input_event_type_pointer 
mir_input_event_type_keyboard_resync 
mir_input_event_types 

◆ MirKeyboardAction

Possible actions for changing key state.

Enumerator
mir_keyboard_action_up 
mir_keyboard_action_down 
mir_keyboard_action_repeat 
mir_keyboard_actions 

◆ MirPointerAction

Possible pointer actions.

Enumerator
mir_pointer_action_button_up 
mir_pointer_action_button_down 
mir_pointer_action_enter 
mir_pointer_action_leave 
mir_pointer_action_motion 
mir_pointer_actions 

◆ MirPointerAxis

Identifiers for pointer axis.

Enumerator
mir_pointer_axis_x 
mir_pointer_axis_y 
mir_pointer_axis_vscroll 
mir_pointer_axis_hscroll 
mir_pointer_axis_relative_x 
mir_pointer_axis_relative_y 
mir_pointer_axis_vscroll_discrete 
mir_pointer_axis_hscroll_discrete 
mir_pointer_axes 

◆ MirPointerAxisSource

Identifiers for pointer event source.

Enumerator
mir_pointer_axis_source_none 
mir_pointer_axis_source_wheel 
mir_pointer_axis_source_finger 
mir_pointer_axis_source_continuous 
mir_pointer_axis_source_wheel_tilt 

◆ MirPointerButton

Enumerator
mir_pointer_button_primary 
mir_pointer_button_secondary 
mir_pointer_button_tertiary 
mir_pointer_button_back 
mir_pointer_button_forward 
mir_pointer_button_side 
mir_pointer_button_extra 
mir_pointer_button_task 

◆ MirTouchAction

Possible per touch actions for state changing.

Enumerator
mir_touch_action_up 
mir_touch_action_down 
mir_touch_action_change 
mir_touch_actions 

◆ MirTouchAxis

Identifiers for touch axis.

Enumerator
mir_touch_axis_x 
mir_touch_axis_y 
mir_touch_axis_pressure 
mir_touch_axis_touch_major 
mir_touch_axis_touch_minor 
mir_touch_axis_size 
mir_touch_axes 

◆ MirTouchTooltype

Identifiers for per-touch tool types.

Enumerator
mir_touch_tooltype_unknown 
mir_touch_tooltype_finger 
mir_touch_tooltype_stylus 
mir_touch_tooltypes 

Copyright © 2012-2022 Canonical Ltd.
Generated on śro, 1 cze 2022, 16:52:55 UTC
This documentation is licensed under the GPL version 2 or 3.