From 223ba8b1b753e12a4826bacab282ab8dc7ba8689 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Sat, 10 Apr 2010 23:11:59 +0200 Subject: Introduce Memory Add the Memory structure to hold the multitouch parsing state. Signed-off-by: Henrik Rydberg --- src/mtouch.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mtouch.c') diff --git a/src/mtouch.c b/src/mtouch.c index f5acd71..44b4376 100644 --- a/src/mtouch.c +++ b/src/mtouch.c @@ -38,6 +38,7 @@ int open_mtouch(struct MTouch *mt, int fd) init_hwstate(&mt->hs); init_mtstate(&mt->prev_state); init_mtstate(&mt->state); + init_memory(&mt->mem); SYSCALL(rc = ioctl(fd, EVIOCGRAB, (pointer)1)); return rc; } -- cgit v1.2.3