Re: [PATCH] Right-click modifier

2003-10-17 Thread Colin Leroy
On 13 Oct 2003 at 23h18, Colin Leroy wrote: Hi, > this patch adds an entry in /proc, > /proc/sys/dev/mac_hid/rclick_key_modifier. Here's the backport to linux-2.4.18. (this one to apply with -p0) hth, -- Colin top - 01:44:29 up 5 min, 2 users, load average: 411.07, 114.57, 39.44 --- driver

Re: [PATCH] Right-click modifier

2003-10-16 Thread Nathanael Hasbrouck
On Tue, 2003-10-14 at 07:18, Colin Leroy wrote: It lets the kernel report a right-click when KEY+Left click are pressed, where KEY is the KEY specified by echoing its code to the /proc entry. It'd be even cooler if this was extended to have an option for middle click as well :) I agree, may

Re: [PATCH] Right-click modifier

2003-10-15 Thread Carlos Perelló Marín
El mié, 15-10-2003 a las 11:12, Gabriel Paubert escribió: > On Wed, Oct 15, 2003 at 05:43:10PM +1000, Stewart Smith wrote: > > On Wed, 2003-10-15 at 01:33, Carlos Perelló Marín wrote: > > > The showcode command is your friend (from a text terminal, outside X). > > > > doesn't seem to be on my syst

Re: [PATCH] Right-click modifier

2003-10-15 Thread Gabriel Paubert
On Wed, Oct 15, 2003 at 05:43:10PM +1000, Stewart Smith wrote: > On Wed, 2003-10-15 at 01:33, Carlos Perelló Marín wrote: > > The showcode command is your friend (from a text terminal, outside X). > > doesn't seem to be on my system, and apt-cache search shows up zip. What > package does it come f

Re: [PATCH] Right-click modifier

2003-10-15 Thread Michael Schmitz
> On Wed, 2003-10-15 at 01:33, Carlos Perelló Marín wrote: > > The showcode command is your friend (from a text terminal, outside X). > > doesn't seem to be on my system, and apt-cache search shows up zip. What > package does it come from? Look for showkey instead (in kbd). Michael

Re: [PATCH] Right-click modifier

2003-10-15 Thread Stewart Smith
On Wed, 2003-10-15 at 01:33, Carlos Perelló Marín wrote: > The showcode command is your friend (from a text terminal, outside X). doesn't seem to be on my system, and apt-cache search shows up zip. What package does it come from? -- Stewart Smith ([EMAIL PROTECTED]) Vice President, Linux Australi

Re: [PATCH] Right-click modifier

2003-10-14 Thread Carlos Perelló Marín
El mar, 14-10-2003 a las 15:29, Stewart Smith escribió: [...] > > > ie, "echo 29 > /proc/sys/dev/mac_hid/rclick_key_modifier" and you'll have > > Ctrl-click = right click. > > call me mentally challenged, but how does one determine what the > keycodes are to do these things? i.e. how do we find

Re: [PATCH] Right-click modifier

2003-10-14 Thread Colin Leroy
Hi, > call me mentally challenged, but how does one determine what the > keycodes are to do these things? i.e. how do we find the ctrl->29 > mapping? I found it in include/linux/input.h . (un-Ccing Benjamin) -- Colin Récursion (n.m.): voir Récursion

Re: [PATCH] Right-click modifier

2003-10-14 Thread Stewart Smith
On Tue, 2003-10-14 at 07:18, Colin Leroy wrote: > It lets the kernel report a right-click when KEY+Left click are pressed, > where KEY is the KEY specified by echoing its code to the /proc entry. It'd be even cooler if this was extended to have an option for middle click as well :) I'll attempt t

Re: [PATCH] Right-click modifier

2003-10-13 Thread Lucas Moulin
On lun, oct 13 23:18 Colin Leroy <[EMAIL PROTECTED]> wrote : > Hi, > > this patch adds an entry in /proc, > /proc/sys/dev/mac_hid/rclick_key_modifier. > > It lets the kernel report a right-click when KEY+Left click are pressed, > where KEY is the KEY specified by echoing its code to the /proc ent

Re: [PATCH] Right-click modifier

2003-10-13 Thread John Leach
Sweet. I've been looking for a way to do this since I got my powerbook. I'll be testing this soon. Thank you Colin, John. On Mon, 2003-10-13 at 22:18, Colin Leroy wrote: > Hi, > > this patch adds an entry in /proc, > /proc/sys/dev/mac_hid/rclick_key_modifier. > > It lets the kernel report a r

[PATCH] Right-click modifier

2003-10-13 Thread Colin Leroy
Hi, this patch adds an entry in /proc, /proc/sys/dev/mac_hid/rclick_key_modifier. It lets the kernel report a right-click when KEY+Left click are pressed, where KEY is the KEY specified by echoing its code to the /proc entry. ie, "echo 29 > /proc/sys/dev/mac_hid/rclick_key_modifier" and you'll h