mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-23 14:55:26 -04:00
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021-2023 Huawei Device Co., Ltd.
|
||||
* Copyright (c) 2021-2024 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
@@ -60,14 +60,14 @@ private:
|
||||
|
||||
pthread_t collectThreadID_;
|
||||
bool isCollectingEvents_;
|
||||
bool isStartCollectEventThread;
|
||||
bool isStartCollectEventThread_;
|
||||
static void *CollectEventsThread(void *param);
|
||||
void StartInputMonitorDeviceThread();
|
||||
void StopInputMonitorDeviceThread();
|
||||
|
||||
// The event queue.
|
||||
static const int inputDeviceBufferSize = 32;
|
||||
InputDeviceEvent mEventBuffer[inputDeviceBufferSize] = {};
|
||||
static const int inputDeviceBufferSize_ = 32;
|
||||
InputDeviceEvent mEventBuffer_[inputDeviceBufferSize_] = {};
|
||||
std::mutex operationMutex_;
|
||||
std::unique_ptr<InputHub> inputHub_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user