Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/ubercode/public_html/forum/includes/functions_content.php on line 661

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/ubercode/public_html/forum/includes/functions_content.php on line 661

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/ubercode/public_html/forum/includes/functions_content.php on line 661

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/ubercode/public_html/forum/includes/functions_content.php on line 661

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/ubercode/public_html/forum/includes/functions_content.php on line 661

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/ubercode/public_html/forum/includes/functions_content.php on line 661

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/ubercode/public_html/forum/includes/functions_content.php on line 661

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/ubercode/public_html/forum/includes/functions_content.php on line 661
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3729: Cannot modify header information - headers already sent by (output started at /includes/functions_content.php:661)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3731: Cannot modify header information - headers already sent by (output started at /includes/functions_content.php:661)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3732: Cannot modify header information - headers already sent by (output started at /includes/functions_content.php:661)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3733: Cannot modify header information - headers already sent by (output started at /includes/functions_content.php:661)
ubercode.com • View topic - Detecting mouse gestures

Detecting mouse gestures

You have questions about Ubercode? Look here for your answers. You didnt find what you where looking for? Be the first to ask the question!

Detecting mouse gestures

Postby onykage on Tue Jan 11, 2011 3:05 pm

I was wondering if there was anything built into UC that would allow anykind of detection for Mouse Jestures or Mouse clicks? Atm, all I really need to know is did you move the mouse, but it would be nice later to detect a mouse click as well or even a specific mouse jesture.
onykage
Admin
 
Posts: 221
Joined: Sat Jan 03, 2009 8:28 pm
Location: Armpit USA
Programming languages: php, java, python, ubercode, easyuo, peril, cobal, pascal, ruby

Re: Detecting mouse gestures

Postby ubercode on Tue Jan 11, 2011 9:40 pm

You can pick up the CLICK_EVENT, DBLCLICK_EVENT and RCLICK_EVENT. These are for a single click, a double click and a click with the right mouse button. Try the example programs in the help - you can pop up a Msgbox in response to the different types of mouse event.
ubercode
Site Owner
 
Posts: 275
Joined: Sun Jan 04, 2009 3:46 pm
Location: UK Channel Islands

Re: Detecting mouse gestures

Postby onykage on Wed Jan 12, 2011 1:36 am

k thanks
onykage
Admin
 
Posts: 221
Joined: Sat Jan 03, 2009 8:28 pm
Location: Armpit USA
Programming languages: php, java, python, ubercode, easyuo, peril, cobal, pascal, ruby


Return to Ubercode Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron