Searched refs:gpioPath (Results 1 – 2 of 2) sorted by relevance
23 gpioPath="/sys/class/gpio/gpio"36 if [[ -d "${gpioPath}${presentGpio[i]}" ]] &&37 [[ "$(cat "${gpioPath}${presentGpio[i]}/value")" == "0" ]]; then
59 void CoolingType::readGpio(const std::string& gpioPath, unsigned int keycode) in readGpio() argument63 gpioFd.open(gpioPath.c_str(), O_RDONLY); in readGpio()