Lines Matching defs:Device
2 * Copyright (c) 2022-2023 Huawei Device Co., Ltd.
39 #define LOG_TAG "Device"
60 Device::Device(int32_t deviceId)
64 Device::~Device()
69 int32_t Device::Open()
105 void Device::Close()
116 void Device::Dispatch(const struct epoll_event &ev)
125 void Device::QueryDeviceInfo()
171 void Device::GetEventMask(const std::string &eventName, uint32_t type,
180 void Device::GetPropMask(const std::string &eventName, std::size_t arrayLength, uint8_t *whichBitMask) const
188 void Device::QuerySupportedEvents()
198 void Device::UpdateCapability()
206 bool Device::HasAxesOrButton(size_t start, size_t end, const uint8_t* whichBitMask) const
216 bool Device::HasJoystickAxesOrButtons() const
229 bool Device::HasAbsCoord() const
234 bool Device::HasMtCoord() const
239 bool Device::HasRelCoord() const
244 void Device::PrintCapsDevice() const
263 void Device::CheckPointers()
278 void Device::CheckAbs()
294 void Device::CheckJoystick()
302 void Device::CheckMt()
314 void Device::CheckAdditional()
326 void Device::CheckPencilMouse()
334 void Device::CheckKeys()
353 std::string Device::MakeConfigFileName() const
365 int32_t Device::ReadConfigFile(const std::string &filePath)
408 int32_t Device::ConfigItemSwitch(const std::string &configItem, const std::string &value)
422 int32_t Device::ReadTomlFile(const std::string &filePath)
447 void Device::JudgeKeyboardType()
470 void Device::LoadDeviceConfig()