libvirtualhid 16
Cross-platform C++ library for virtual HID devices.
lvh::TrackpadCreationResult Struct Reference

Result returned by trackpad creation. More...

#include <src/include/libvirtualhid/runtime.hpp>

Collaboration diagram for lvh::TrackpadCreationResult:
[legend]

Public Member Functions

 operator bool () const
 Check whether creation succeeded and produced a handle.
 

Public Attributes

OperationStatus status
 Creation status.
 
std::unique_ptr< Trackpadtrackpad
 Created trackpad handle when creation succeeds.
 

Detailed Description

Result returned by trackpad creation.

Member Function Documentation

◆ operator bool()

lvh::TrackpadCreationResult::operator bool ( ) const
inlineexplicit

Check whether creation succeeded and produced a handle.

Returns
true when creation succeeded.

The documentation for this struct was generated from the following file: