Android-cuttlefish cvd tool
Public Member Functions | List of all members
cuttlefish::SwitchesDevice Class Reference

#include <input_devices.h>

Inheritance diagram for cuttlefish::SwitchesDevice:
Inheritance graph
[legend]
Collaboration diagram for cuttlefish::SwitchesDevice:
Collaboration graph
[legend]

Public Member Functions

 SwitchesDevice (InputConnection conn)
 
Result< void > SendEvent (uint16_t code, bool state)
 
- Public Member Functions inherited from cuttlefish::InputDevice
 InputDevice (InputConnection conn)
 
virtual ~InputDevice ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from cuttlefish::InputDevice
Result< void > WriteEvents (const EventBuffer &buffer)
 

Constructor & Destructor Documentation

◆ SwitchesDevice()

cuttlefish::SwitchesDevice::SwitchesDevice ( InputConnection  conn)
inline

Member Function Documentation

◆ SendEvent()

Result< void > cuttlefish::SwitchesDevice::SendEvent ( uint16_t  code,
bool  state 
)

The documentation for this class was generated from the following files: