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

#include <input_devices.h>

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

Public Member Functions

 KeyboardDevice (InputConnection conn)
 
Result< void > SendEvent (uint16_t code, bool down)
 
- 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

◆ KeyboardDevice()

cuttlefish::KeyboardDevice::KeyboardDevice ( InputConnection  conn)
inline

Member Function Documentation

◆ SendEvent()

Result< void > cuttlefish::KeyboardDevice::SendEvent ( uint16_t  code,
bool  down 
)

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