Searched refs:gpioDev (Results 1 – 2 of 2) sorted by relevance
31 const std::string gpioDev = "/sys/class/gpio"; variable92 for (auto& f : fs::directory_iterator(gpioDev)) in getGpioBase()155 std::string devPath{gpioDev}; in configGpio()171 devPath = gpioDev + "/export"; in configGpio()190 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/value"; in configGpio()211 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/direction"; in configGpio()228 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/direction"; in configGpio()245 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/direction"; in configGpio()267 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/edge"; in configGpio()283 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/value"; in configGpio()
32 libevdev* gpioDev = nullptr; in evdevOpen() local34 auto rc = libevdev_new_from_fd(fd, &gpioDev); in evdevOpen()37 return decltype(evdevOpen(0))(gpioDev); in evdevOpen()65 auto gpioDev = evdevOpen(gpioFd()); in readGpio() local69 libevdev_fetch_event_value(gpioDev.get(), EV_KEY, keycode, &value); in readGpio()