mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-20 21:41:02 -04:00
@@ -38,7 +38,7 @@ namespace OHOS {
|
||||
namespace DistributedHardware {
|
||||
namespace DistributedInput {
|
||||
namespace {
|
||||
// each time, we send msg batch with MAX 20 events.
|
||||
// each time, we send msg batch with MAX 20 events.
|
||||
constexpr int32_t MSG_BTACH_MAX_SIZE = 20;
|
||||
}
|
||||
DistributedInputSinkTransport::DistributedInputSinkTransport() : mySessionName_("")
|
||||
|
||||
@@ -34,10 +34,10 @@ public:
|
||||
|
||||
/**
|
||||
* @brief Push the touchpad event
|
||||
*
|
||||
*
|
||||
* @param dhId the device dhId where event from
|
||||
* @param event the event
|
||||
* @return std::pair<bool, std::vector<RawEvent>>
|
||||
* @return std::pair<bool, std::vector<RawEvent>>
|
||||
* true for NOT whole touchpad event that need simulate back to the other device.
|
||||
* false for DO Nothing.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user