Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-18 Thread Benoît Minisini
Le 18/08/2012 20:44, Ricardo Díaz Martín a écrit : > Sorry but still the same issue. When you set the gb.gtk component the > pointer type is always 0 (it means mouse detected). I don't know how you > can configure XInput in gtk using the GIMP configuration file at runtime. OK. I finally bought a W

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-18 Thread Ricardo Díaz Martín
2012/8/17 Benoît Minisini > Le 17/08/2012 12:24, Ricardo Díaz Martín a écrit : > > Ok, so when you define special events for tablets and make PointerX and > > PointerY relative to the control I'll change the project. > > > > Regards, > > > > Hi again, > > 1) In revision #5051, I have updated the

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-17 Thread sheldon sobel
Hello - Please remove me from the gambas email user list. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security a

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-17 Thread Benoît Minisini
Le 17/08/2012 12:24, Ricardo Díaz Martín a écrit : > Ok, so when you define special events for tablets and make PointerX and > PointerY relative to the control I'll change the project. > > Regards, > Hi again, 1) In revision #5051, I have updated the Tablet event management: - Finally I decided

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-17 Thread Ricardo Díaz Martín
Ok, so when you define special events for tablets and make PointerX and PointerY relative to the control I'll change the project. Regards, 2012/8/17 Benoît Minisini > Le 17/08/2012 08:50, Ricardo Díaz Martín a écrit : > > Ok, I'm in the forum. So if you change I'll know it and test again. > > >

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-17 Thread Benoît Minisini
Le 17/08/2012 11:20, Benoît Minisini a écrit : > > Before I want to change the "tablet" events interface. > > You must know that in GTK+, you must explicitely tell him which widget > gets "extended" (i.e. tablet) events. With Qt this is not required. > Hence the "UseTablet" property. > > I finally

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-17 Thread Benoît Minisini
Le 17/08/2012 08:50, Ricardo Díaz Martín a écrit : > Ok, I'm in the forum. So if you change I'll know it and test again. > > I don't know too why gb.gtk doens't want to detect. > > If you want to include in gambas examples I attach last version with some > improvements (a small pointer position cac

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Ricardo Díaz Martín
Ok, I'm in the forum. So if you change I'll know it and test again. I don't know too why gb.gtk doens't want to detect. If you want to include in gambas examples I attach last version with some improvements (a small pointer position cache). Regards, Ricardo 2012/8/17 Benoît Minisini > Le 16/0

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Benoît Minisini
Le 16/08/2012 19:37, Ricardo Díaz Martín a écrit : > Yes, now works fine!! > > Thanks a lot Benoit > Cool. Now beware that I may change the interface for reading tablet events sooner or later before the version release! Now I don't understand why your pen is detected with the GIMP that uses GTK

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Ricardo Díaz Martín
Yes, now works fine!! Thanks a lot Benoit 2012/8/16 Benoît Minisini > Le 16/08/2012 17:16, Ricardo Díaz Martín a écrit : > > He it goes! > > > > OK. This was a stupid error with { ... }. Please try revision #5048! > > -- > Benoît Minisini > > > --

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Benoît Minisini
Le 16/08/2012 17:16, Ricardo Díaz Martín a écrit : > He it goes! > OK. This was a stupid error with { ... }. Please try revision #5048! -- Benoît Minisini -- Live Security Virtual Conference Exclusive live event will co

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Ricardo Díaz Martín
He it goes! 2012/8/16 Benoît Minisini > Le 16/08/2012 17:05, Ricardo Díaz Martín a écrit : > > More extra information... > > > > If I keep the pen pressed (it means mouse down its fired) I can move the > > pen to everywhere in the screen with no crash. If I try to do it with pen > > pressure =

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Benoît Minisini
Le 16/08/2012 17:05, Ricardo Díaz Martín a écrit : > More extra information... > > If I keep the pen pressed (it means mouse down its fired) I can move the > pen to everywhere in the screen with no crash. If I try to do it with pen > pressure = 0 (the pencil is some millimeter over the tablet) the

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Ricardo Díaz Martín
More extra information... If I keep the pen pressed (it means mouse down its fired) I can move the pen to everywhere in the screen with no crash. If I try to do it with pen pressure = 0 (the pencil is some millimeter over the tablet) the I got the crash. I wrote on before that MouseUp and MouseDo

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Ricardo Díaz Martín
Extra information. I said that IDE crash after the poject crash. So I try now to do a gdb to gambas3 and I got this: ricardo.diaz@ubuntu-desarrollo:~/Documentos/gambassource/trunk/app/src/gambas3$ gdb gbx3 GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 Copyright (C) 2012 Free Software F

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Ricardo Díaz Martín
Yes, with gimp works nice. 2012/8/16 Benoît Minisini > Le 16/08/2012 16:16, Ricardo Díaz Martín a écrit : > > Benoit, > > > > Ummm, take an oulook to this: > http://doc.trolltech.com/4.6/qtabletevent.html > > > > this is the event definition: > > QTabletEvent::QTabletEvent ( Type type, const QP

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Benoît Minisini
Le 16/08/2012 16:16, Ricardo Díaz Martín a écrit : > Benoit, > > Ummm, take an oulook to this: http://doc.trolltech.com/4.6/qtabletevent.html > > this is the event definition: > QTabletEvent::QTabletEvent ( Type type, const QPoint & pos, const QPoint & > globalPos, const QPointF & hiResGlobalPos, i

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Ricardo Díaz Martín
Benoit, Ummm, take an oulook to this: http://doc.trolltech.com/4.6/qtabletevent.html this is the event definition: QTabletEvent::QTabletEvent ( Type type, const QPoint & pos, const QPoint & globalPos, const QPointF & hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTil

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Ricardo Díaz Martín
Hi Benoit, When I said using gtk+ components tablet is not detected is because the Pointer.Type is 0 (this is the same value you get using qt4 when you use the mouse for drawing in the drawing area control). In using Ubuntu 12.04 gnome 3 so you wacom tablets are plug and play with the kernel. You

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Benoît Minisini
Le 16/08/2012 09:06, Ricardo Díaz Martín a écrit : > Ok, this is the information I got: > > - When I said crash in the IDE too, it means after the crash in the > project, if you still moving the pen in the tablet, the IDE got the crash > with no information (IDE disappear) If the IDE segfaults too

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Ricardo Díaz Martín
In addition I attach the project with last modifications. Regards 2012/8/16 Ricardo Díaz Martín > Ok, this is the information I got: > > - When I said crash in the IDE too, it means after the crash in the > project, if you still moving the pen in the tablet, the IDE got the crash > with no info

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-16 Thread Ricardo Díaz Martín
Ok, this is the information I got: - When I said crash in the IDE too, it means after the crash in the project, if you still moving the pen in the tablet, the IDE got the crash with no information (IDE disappear) - With gtk+ components the tablet is not detected. Tablet is detected as normal mouse

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-15 Thread Benoît Minisini
Le 15/08/2012 20:22, Benoît Minisini a écrit : > > 1) Please: can you recompile gb.qt4 component with no optimization? > > $ cd /trunk/gb.qt4 > $ make clean > $ make "CFLAGS=-O0 -g -ggdb" "CXXFLAGS=-O0 -g -ggdb" > $ sudo make install > > 2) Then send me the backtrace of the crash again. > > 3) If p

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-15 Thread Benoît Minisini
Le 15/08/2012 20:09, Ricardo Díaz Martín a écrit : > When the IDE crash you can see 'core' was generated (but I > don't know where is it to attach to this mail). > Your core file would be too big and useless for me, because the information must be extracted from the same machine that made the co

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-15 Thread Benoît Minisini
Le 15/08/2012 20:09, Ricardo Díaz Martín a écrit : > Hi, > > After some days waiting for the delivery I got new wacom bamboo pen. > > I was doing some test using the attached project and I got some > crash (project and IDE). > > I you move the tablet pen to the screen limits then you got a signal >

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-15 Thread Ricardo Díaz Martín
Hi, After some days waiting for the delivery I got new wacom bamboo pen. I was doing some test using the attached project and I got some crash (project and IDE). I you move the tablet pen to the screen limits then you got a signal 22 and a segment fault. You got it when you are running the app a

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-09 Thread Ricardo Díaz Martín
Thanks Benoit, I'm going directly to the shop to buy a wacom tablet to test it. Hope to try it this weekend. I'll keep you informed. Regards, 2012/8/10 Benoît Minisini > Le 25/07/2012 08:15, Ricardo Díaz Martín a écrit : > > Hi, > > > > I wonder if there is some way to read the pen pressure

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-09 Thread Benoît Minisini
Le 25/07/2012 08:15, Ricardo Díaz Martín a écrit : > Hi, > > I wonder if there is some way to read the pen pressure from wacom like > tablets in gambas. I have read some documentations for java and looks like > wacon tablets works like a normal mouse with some extra properties you can > get: pressu

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-08 Thread Benoît Minisini
Le 26/07/2012 16:06, Benoît Minisini a écrit : > Le 26/07/2012 16:01, Ricardo Díaz Martín a écrit : >> For me it's enough in qt4. >> >> Thanks in advance for your time! >> >> Regards, >> Ricardo Díaz >> > > For you. But for me, I won't add a feature to gb.qt4 if I can't add it > to gb.gtk! > > OK,

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-07-26 Thread Benoît Minisini
Le 26/07/2012 16:01, Ricardo Díaz Martín a écrit : > For me it's enough in qt4. > > Thanks in advance for your time! > > Regards, > Ricardo Díaz > For you. But for me, I won't add a feature to gb.qt4 if I can't add it to gb.gtk! -- Benoît Minisini -

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-07-26 Thread Ricardo Díaz Martín
For me it's enough in qt4. Thanks in advance for your time! Regards, Ricardo Díaz 2012/7/25 Benoît Minisini > Le 25/07/2012 08:15, Ricardo Díaz Martín a écrit : > > Hi, > > > > I wonder if there is some way to read the pen pressure from wacom like > > tablets in gambas. I have read some docu

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-07-25 Thread Benoît Minisini
Le 25/07/2012 08:15, Ricardo Díaz Martín a écrit : > Hi, > > I wonder if there is some way to read the pen pressure from wacom like > tablets in gambas. I have read some documentations for java and looks like > wacon tablets works like a normal mouse with some extra properties you can > get: pressu

[Gambas-user] Reading pen pressure from wacom tablets

2012-07-24 Thread Ricardo Díaz Martín
Hi, I wonder if there is some way to read the pen pressure from wacom like tablets in gambas. I have read some documentations for java and looks like wacon tablets works like a normal mouse with some extra properties you can get: pressure, rubber mode, etc... I know there is qt4 support for this