Namespaces

Enumerations

enum class PointerEventType : uint32_t
Name Value Comments
kTouch 0u

A touch-based pointer device.

kStylus 1u

A pointer device with a stylus.

kInvertedStylus 2u

A pointer device with a stylus that has been inverted.

kMouse 3u

A pointer device without a stylus.

Defined at line 105 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/common_types.h

enum class PointerEventPhase : uint32_t
Name Value Comments
kAdd 0u

The device has started tracking the pointer.

For example, the pointer might be hovering above the device, having not yet
made contact with the surface of the device.

kHover 1u

The pointer has moved with respect to the device while not in contact with
the device.

kDown 2u

The pointer has made contact with the device.

For `MOUSE` devices, this is triggered when the primary button is pressed
down to emulate a touch on the screen.

kMove 3u

The pointer has moved with respect to the device while in contact with the
device.

kUp 4u

The pointer has stopped making contact with the device.

For `MOUSE` devices, this is triggered when the primary button is
released.

kRemove 5u

The device is no longer tracking the pointer.

For example, the pointer might have drifted out of the device's hover
detection range or might have been disconnected from the system entirely.

kCancel 6u

The input from the pointer is no longer directed towards this receiver.

Defined at line 136 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/common_types.h

enum class TextAffinity : uint32_t
Name Value Comments
kUpstream 0u

The position has affinity for the upstream side of the text position.

For example, if the offset of the text position is a line break, the
position represents the end of the first line.

kDownstream 1u

The position has affinity for the downstream side of the text position.

For example, if the offset of the text position is a line break, the
position represents the start of the second line.

Whether a TextPosition is visually upstream or downstream of its offset.

For example, when a text position exists at a line break, a single offset has

two visual positions, one prior to the line break (at the end of the first

line) and one after the line break (at the start of the second line). A text

affinity disambiguates between those cases. (Something similar happens with

between runs of bidirectional text.)

We do not expect new values to be added to this enum.

Defined at line 511 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/common_types.h

Records

Functions

  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::SetHardKeyboardDeliveryCmd & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::SetParallelDispatchCmd & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::KeyboardEventPhase & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::KeyboardEvent & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::SendKeyboardInputCmd & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::PointerEventType & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::PointerEventPhase & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::PointerEvent & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::SendPointerInputCmd & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::Command & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::FocusEvent & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::MediaButtonsEvent & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::InputEvent & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::TouchDeviceInfo & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::TouchButton & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::TouchButtonsEvent & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::Range & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::RangeF & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::AxisScale & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::Axis & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::AxisF & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::MediaButtonsDescriptor & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::KeyboardDescriptor & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::KeyboardReport & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::MouseDescriptor & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::MouseReport & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::StylusDescriptor & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::StylusReport & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::TouchscreenDescriptor & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::Touch & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::TouchscreenReport & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::SensorType & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::SensorLocation & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::SensorDescriptor & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::SensorReport & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::MediaButtonsReport & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::DeviceInfo & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::DeviceDescriptor & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::InputReport & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::InputDeviceDispatchReportRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::TextAffinity & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::TextRange & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::TextSelection & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::KeyboardType & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::InputMethodAction & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::TextInputState & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::ImeServiceGetInputMethodEditorRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::InputMethodEditorSetKeyboardTypeRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::InputMethodEditorSetStateRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::InputMethodEditorInjectInputRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::InputMethodEditorDispatchKey3Request & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::InputMethodEditorDispatchKey3Response & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::InputMethodEditorClientDidUpdateStateRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_input::InputMethodEditorClientOnActionRequest & value)