libutouch-geis C++ problems
Hi
I'm interesting in develop an aplication in C++ using utouch to get ALL gestures (I see that Qt support only get gestures doing in a widget, I need to get all gestures), I suposse that libutouch-geis provides acces to all gestures.
I only found this documentation:
http://
Well, I have a very very basic problem with geis, I'm trying to get gestures:
#include <geis/geis.h>
static void gestureAdded(void* cookie, GeisGestureType gesture_type,
}
static void gestureRemoved(
}
static void gestureStart(void* cookie, GeisGestureType gesture_type,
}
static void gestureUpdate(void* cookie, GeisGestureType gesture_type,
}
static void gestureFinish(void* cookie, GeisGestureType gesture_type,
}
int main() {
GeisInstance instance;
GeisWinInfo winInfo;
GeisXcbWinInfo xcbWinInfo;
xcbWinInfo.
xcbWinInfo.
xcbWinInfo.
winInfo.
winInfo.
// Init geis
if(
return -1;
// Subcribe to gestures
GeisGesture
gestureAdded,
gestureRe
gestureStart,
gestureUp
gestureFinish
};
if(
return -1;
for(;;) {
// How to read gestures??
}
geis_
return 0;
}
Trying to compile:
$ g++ Main.cpp -lutouch-geis
/tmp/cctT1OgH.o: In function `main':
Main.cpp:
Main.cpp:
collect2: ld returned 1 exit status
Ok... questions ;)
(1) Why don't compile?
(2) Is posible to get ALL gestures? If is posible... How?
(3) Some documentation or examples about geis please?
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Stephen M. Webb
- Solved:
- Last query:
- Last reply: