[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
nxcal - how does it work?
From: ####@####.#### Date: 25 Jul 2007 10:46:00 +0100 Message-Id: <1185356665.6606.18.camel@localhost> I replaced "MOUSE_TRANSFORM" from mou_touchscreen.c with "MOUSE_NORMAL" and now it seems working. But now nxcal doesn't work anymore. And I guess I can't figure out how it works. It uses GR_EVENT_TYPE_BUTTON_DOWN to trigger mouse press, but first in the "handle_pos"-function it checks whether GR_BUTTON_L is pressed, which to me seems like quite the same thing. I guess it's waiting for a button release, but it will never happen because BUTTON_UP event isn't selected. I tried to add BUTTON_UP event to selected events, but then it just say "nano-X: implicit ungrab on window 1". Any ideas? Regards Daniel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] nxcal - how does it work?
From: "Greg Haerr" ####@####.#### Date: 2 Aug 2007 03:37:49 +0100 Message-Id: <05e701c7d4ae$15145300$6401a8c0@winXP> : I replaced "MOUSE_TRANSFORM" from mou_touchscreen.c with "MOUSE_NORMAL" : and now it seems working. : : But now nxcal doesn't work anymore. And I guess I can't figure out how : it works. That's because MOUSE_NORMAL turns off any calibration transformation routines. : It uses GR_EVENT_TYPE_BUTTON_DOWN to trigger mouse press, but first in : the "handle_pos"-function it checks whether GR_BUTTON_L is pressed, : which to me seems like quite the same thing. This is just checking that the button is still in fact down. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |