template <>

class WireTableBuilder

Defined at line 502 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/cpp/wire_types.h

Public Methods

template <typename First = int64_t, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<int64_t>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_ui_input3::wire::KeyEvent> & timestamp (First && first, Args &&... args_)

Time in nanoseconds when the event was recorded, in the `CLOCK_MONOTONIC` time base.

The timestamp is **required** on every key event, and users can expect that it

will always be present.

Defined at line 516 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/cpp/wire_types.h

template <typename First = ::fuchsia_ui_input3::wire::Modifiers, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fuchsia_ui_input3::wire::Modifiers>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_ui_input3::wire::KeyEvent> & modifiers (First && first, Args &&... args_)

Modifiers in effect at the time of the event.

Example:

CapsLock is off, user presses CapsLock, then A, then releases both.

Event sequence is as follows:

1. type: Pressed, key: CapsLock, modifiers: None

2. type: Pressed, key: A, modifiers: CapsLock

3. type: Released, key: CapsLock, modifiers: CapsLock

4. type: Released, key: A, modifiers: CapsLock

CapsLock is on, user presses CapsLock, then A, then releases both.

1. type: Pressed, key: CapsLock, modifiers: CapsLock

2. type: Pressed, key: A, modifiers: None

3. type: Released, key: CapsLock, modifiers: None

4. type: Released, key: A, modifiers: None

Defined at line 541 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/cpp/wire_types.h

template <typename First = ::fuchsia_ui_input3::wire::KeyMeaning, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fuchsia_ui_input3::wire::KeyMeaning>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_ui_input3::wire::KeyEvent> & key_meaning (First && first, Args &&... args_)

Meaning of the key.

Defined at line 553 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/cpp/wire_types.h

template <typename First = ::fuchsia_ui_input3::wire::LockState, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fuchsia_ui_input3::wire::LockState>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_ui_input3::wire::KeyEvent> & lock_state (First && first, Args &&... args_)

The lock state in effect at the time of the event.

For example, if CapsLock effect is turned on (pressing 'a' results in

the effect 'A'), the corresponding bit in the lock state is set.

NOTE: `LockState` is different from whether the CapsLock modifier key

is actuated or not. `LockState.CAPS_LOCK` can be active even if the

Caps Lock key is not currently actuated.

Defined at line 572 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/cpp/wire_types.h

Friends

template <>
class KeyEvent