OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Right Click, the right way?
kkazakov13
post Feb 2 2008, 12:09 PM
Post #1





Group: Members
Posts: 409
Joined: 3-December 06
Member No.: 13,063



Is it possible to have something like

Fn + tap = right click ( ONE time only ) ?

Not like "To change in right click mode, press something, to change it back to left click mode, press something else". I hate this.

smile.gif any ideas?

Ah, even tap and hold would work when keyboard cannot be used.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Capn_Fish
post Feb 3 2008, 06:01 PM
Post #2





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



OK, it appears I'd either need to put the code in the WM (going to do that for EvilWM) or give the daemon a window (no idea how that would work).

Here's the code that will instantly click the right mouse button. Do what you want with it, I'll hopefully be able to post something more functional later.

It should compile with the command
CODE
g++ -o mouseclick mouseclick.cpp -lX11

Attached File(s)
Attached File  mouseclick.tar.gz ( 684bytes ) Number of downloads: 12
 
Go to the top of the page
 
+Quote Post

Posts in this topic
kkazakov13   Right Click   Feb 2 2008, 12:09 PM
Capn_Fish   I'm slowly working on an Xlib program that doe...   Feb 2 2008, 01:37 PM
kkazakov13   How slowly means "Slowly" ? Can I help?...   Feb 2 2008, 10:41 PM
Capn_Fish   QUOTE(kkazakov13 @ Feb 3 2008, 12:41 AM) ...   Feb 3 2008, 08:57 AM
ca1eb   QUOTE(kkazakov13 @ Feb 3 2008, 04:09 AM) ...   Feb 3 2008, 08:06 AM
Capn_Fish   OK, it appears I'd either need to put the code...   Feb 3 2008, 06:01 PM
ca1eb   QUOTE(Capn_Fish @ Feb 4 2008, 10:01 AM) m...   Mar 17 2008, 11:47 PM
gojira   QUOTE(Capn_Fish @ Feb 4 2008, 01:01 PM) O...   Mar 22 2008, 05:57 PM
ZDevil   Here are the compiled EABI binaries for mouse righ...   Mar 15 2008, 10:48 PM
canguy247   QUOTE(ZDevil @ Mar 16 2008, 02:48 AM) Her...   Mar 16 2008, 12:34 AM
ZDevil   Oh sorry, just corrected the tarball. Please downl...   Mar 16 2008, 12:52 AM
gojira   QUOTE(kkazakov13 @ Feb 3 2008, 07:09 AM) ...   Mar 20 2008, 02:55 AM
ZDevil   QUOTE(gojira @ Mar 20 2008, 11:55 AM) If ...   Mar 20 2008, 10:08 AM
gojira   QUOTE(ZDevil @ Mar 21 2008, 05:08 AM) QUO...   Mar 21 2008, 02:17 AM
gojira   QUOTE(gojira @ Mar 20 2008, 09:55 PM) If ...   Mar 22 2008, 05:38 PM
ZDevil   QUOTE(gojira @ Mar 23 2008, 02:38 AM) QUO...   Mar 23 2008, 03:36 AM
datathief   QUOTE(kkazakov13 @ Feb 2 2008, 08:09 PM) ...   Apr 21 2008, 06:22 AM
ca1eb   I updated the C version of mouseclick, and provide...   Apr 24 2008, 02:22 AM
scottlfa   there going to be a deb of this, would be cool onc...   Jul 20 2008, 07:34 PM
axeTail   QUOTE(scottlfa @ Jul 21 2008, 05:34 AM) t...   Jul 24 2008, 02:46 AM
scottlfa   Seems 2ro0 and ZDevil I think have found a solutio...   Aug 30 2008, 09:35 AM
axellira   QUOTE(kkazakov13 @ Feb 2 2008, 12:09 PM) ...   Jun 21 2009, 12:34 AM
Capn_Fish   I might as well throw my latest in here as well......   Jun 29 2009, 07:44 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th December 2014 - 04:57 AM