Forum Discussion
Altera_Forum
Honored Contributor
16 years agoNano-X issues
Hello, I'm running uClinux on the NEEK controlling an external touch screen display (Elo Touch) with Nano-X included in the kernel config. Everything works fine. I set Nano-X configuration...
Altera_Forum
Honored Contributor
16 years agoHi,
--- Quote Start --- Now starting Nano-X, my touch events won't get recognized. Does the Nano-X windowing environment need extra Elo touch screen drivers to support touch handling? --- Quote End --- Please see '/nios2-linux/uClinux-dist/user/microwin/src/drivers/mou_tslib.c'.# include <stdio.h># include <errno.h># include <string.h>
# include "device.h"
extern SCREENDEVICE scrdev;
# include <tslib.h>
static struct tsdev *ts;
static char devnode;
#define TSLIB_DEVNODE "/dev/input/event0"
//#define TSLIB_DEVNODE "/dev/input/event1"
# define TSLIB_PRESSURE_THRESH 100
static int tslib_open(MOUSEDEVICE *pmd)
{
if (getenv("TSLIB_TSDEVICE"))
Is it 'event0' ? Kazu