#include <input_devices.h>
◆ TouchDevice()
◆ GetOrAcquireSlot()
| int32_t cuttlefish::TouchDevice::GetOrAcquireSlot |
( |
void * |
source, |
|
|
int32_t |
id |
|
) |
| |
|
private |
◆ HasSlot()
| bool cuttlefish::TouchDevice::HasSlot |
( |
void * |
source, |
|
|
int32_t |
id |
|
) |
| |
|
private |
◆ NewTrackingId()
| int cuttlefish::TouchDevice::NewTrackingId |
( |
| ) |
|
|
inlineprivate |
◆ NumActiveSlots()
| size_t cuttlefish::TouchDevice::NumActiveSlots |
( |
| ) |
|
|
inlineprivate |
◆ OnDisconnectedSource()
| void cuttlefish::TouchDevice::OnDisconnectedSource |
( |
void * |
source | ) |
|
◆ ReleaseSlot()
| void cuttlefish::TouchDevice::ReleaseSlot |
( |
void * |
source, |
|
|
int32_t |
id |
|
) |
| |
|
private |
◆ SendMultiTouchEvent()
| Result< void > cuttlefish::TouchDevice::SendMultiTouchEvent |
( |
const std::vector< MultitouchSlot > & |
slots, |
|
|
bool |
down |
|
) |
| |
◆ SendTouchEvent()
| Result< void > cuttlefish::TouchDevice::SendTouchEvent |
( |
int |
x, |
|
|
int |
y, |
|
|
bool |
down |
|
) |
| |
◆ UseNewSlot()
| int32_t cuttlefish::TouchDevice::UseNewSlot |
( |
| ) |
|
|
private |
◆ active_slots_
| std::vector<bool> cuttlefish::TouchDevice::active_slots_ |
|
private |
◆ slots_by_source_and_id_
| std::map<std::pair<void*, int32_t>, int32_t> cuttlefish::TouchDevice::slots_by_source_and_id_ |
|
private |
◆ slots_mtx_
| std::mutex cuttlefish::TouchDevice::slots_mtx_ |
|
private |
◆ tracking_id_
| std::atomic<int> cuttlefish::TouchDevice::tracking_id_ = 0 |
|
private |
The documentation for this class was generated from the following files: