lpcmanager

Create new widget - HMI:TouchDetect that can be added as page sibling to detect screen touches independently of screen saver and set PLC variable accordingly
#include <sys/ioctl.h>
#include <unistd.h>
#include <fcntl.h>
#include "beremiz.h"
#include "rt_smt_right.h"
static readBuf_t rightReadBuf;
static writeBuf_t rightWriteBuf;
static busInit_t rightBusInit;
static int rightbusfd = -1;