![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
| Display Modes | Rate This Thread |
|
|