#include <input_connector.h>
|
virtual | ~EventSink ()=default |
|
virtual Result< void > | SendMouseMoveEvent (int x, int y)=0 |
|
virtual Result< void > | SendMouseButtonEvent (int button, bool down)=0 |
|
virtual Result< void > | SendMouseWheelEvent (int pixels)=0 |
|
virtual Result< void > | SendGamepadKeyEvent (int button, bool down)=0 |
|
virtual Result< void > | SendGamepadMotionEvent (int code, int value)=0 |
|
virtual Result< void > | SendTouchEvent (const std::string &display, int x, int y, bool down)=0 |
|
virtual Result< void > | SendMultiTouchEvent (const std::string &device_label, const std::vector< MultitouchSlot > &slots, bool down)=0 |
|
virtual Result< void > | SendKeyboardEvent (uint16_t code, bool down)=0 |
|
virtual Result< void > | SendRotaryEvent (int pixels)=0 |
|
virtual Result< void > | SendSwitchesEvent (uint16_t code, bool state)=0 |
|
◆ ~EventSink()
virtual cuttlefish::InputConnector::EventSink::~EventSink |
( |
| ) |
|
|
virtualdefault |
◆ SendGamepadKeyEvent()
virtual Result< void > cuttlefish::InputConnector::EventSink::SendGamepadKeyEvent |
( |
int |
button, |
|
|
bool |
down |
|
) |
| |
|
pure virtual |
◆ SendGamepadMotionEvent()
virtual Result< void > cuttlefish::InputConnector::EventSink::SendGamepadMotionEvent |
( |
int |
code, |
|
|
int |
value |
|
) |
| |
|
pure virtual |
◆ SendKeyboardEvent()
virtual Result< void > cuttlefish::InputConnector::EventSink::SendKeyboardEvent |
( |
uint16_t |
code, |
|
|
bool |
down |
|
) |
| |
|
pure virtual |
◆ SendMouseButtonEvent()
virtual Result< void > cuttlefish::InputConnector::EventSink::SendMouseButtonEvent |
( |
int |
button, |
|
|
bool |
down |
|
) |
| |
|
pure virtual |
◆ SendMouseMoveEvent()
virtual Result< void > cuttlefish::InputConnector::EventSink::SendMouseMoveEvent |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
pure virtual |
◆ SendMouseWheelEvent()
virtual Result< void > cuttlefish::InputConnector::EventSink::SendMouseWheelEvent |
( |
int |
pixels | ) |
|
|
pure virtual |
◆ SendMultiTouchEvent()
virtual Result< void > cuttlefish::InputConnector::EventSink::SendMultiTouchEvent |
( |
const std::string & |
device_label, |
|
|
const std::vector< MultitouchSlot > & |
slots, |
|
|
bool |
down |
|
) |
| |
|
pure virtual |
◆ SendRotaryEvent()
virtual Result< void > cuttlefish::InputConnector::EventSink::SendRotaryEvent |
( |
int |
pixels | ) |
|
|
pure virtual |
◆ SendSwitchesEvent()
virtual Result< void > cuttlefish::InputConnector::EventSink::SendSwitchesEvent |
( |
uint16_t |
code, |
|
|
bool |
state |
|
) |
| |
|
pure virtual |
◆ SendTouchEvent()
virtual Result< void > cuttlefish::InputConnector::EventSink::SendTouchEvent |
( |
const std::string & |
display, |
|
|
int |
x, |
|
|
int |
y, |
|
|
bool |
down |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: