Searched refs:INPUT_DEVICES_PATH (Results 1 – 1 of 1) sorted by relevance
40 const std::string INPUT_DEVICES_PATH = "/dev/input/"; variable102 if (inotify_add_watch(inotifyFd_, INPUT_DEVICES_PATH.c_str(), IN_DELETE | IN_CREATE) < 0) { in InitHotPlug()141 auto* dir = opendir(INPUT_DEVICES_PATH.c_str()); in Scan()152 std::string path = std::string{INPUT_DEVICES_PATH} + entry->d_name; in Scan()184 …auto path = INPUT_DEVICES_PATH + std::string{reinterpret_cast<char*>(event_buf + pos + sizeof(even… in OnHotPlugEvent()