The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
DACS 1.4.19 Single Sign-On System Released - CGI Directory (press release) iBot UNIX and Linux RSS News 0 07-06-2007 07:10 AM
Print to Any Windows Printer from DOS, Unix, Linux, legacy ... - Press World (press r iBot UNIX and Linux RSS News 0 07-02-2007 07:50 AM
OpenMotif 2.3 Released - Linux PR (press release) iBot UNIX and Linux RSS News 0 06-27-2007 02:40 PM
Left click select,right click copy new2ss UNIX for Dummies Questions & Answers 1 06-11-2007 11:00 AM
emulating rm command jack1981 Shell Programming and Scripting 7 08-29-2006 06:04 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 07-02-2009
BlackLight BlackLight is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 2
Thumbs down Xlib programming - Emulating left click press/released

Hi,

Lately my university asked me to develop an application to be installed on some computers for the disabled. I've developed a head tracking software (it moves the cursor on the screen following your head's movements using a webcam), and it works greatly so far except for a missing feature. I'm going to interpret a forward movement of the head (towards the cam) as a left button click, and the left button is released when the head moves back. So far I can recognize these events, but I don't know how to emulate a mouse event (left button clicked/released) using Xlib. I've tried several functions, XGrabButton as well as XSetPointerMapping, but none of them seems to fit my purpose (and there's really not much documentation about these online).

Does anyone know how I can fix this problem?
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0