9front - general discussion about 9front
 help / color / mirror / Atom feed
* mouseshifted
@ 2016-02-08 18:46 Julius Schmidt
  2016-02-08 18:58 ` [9front] mouseshifted cinap_lenrek
  2016-02-08 19:04 ` sl
  0 siblings, 2 replies; 3+ messages in thread
From: Julius Schmidt @ 2016-02-08 18:46 UTC (permalink / raw)
  To: 9front

mouse(3) claims

           To cope with pointing devices with only two buttons, when
           the shift key is pressed, the right mouse button generates
           middle-button events.

But this does not seem to be working in my case. Is it only enabled for 
two button mice?

I'm not opposed to this functionality being disabled but I would like the 
man page to be correct / more clear :)

aiju


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] mouseshifted
  2016-02-08 18:46 mouseshifted Julius Schmidt
@ 2016-02-08 18:58 ` cinap_lenrek
  2016-02-08 19:04 ` sl
  1 sibling, 0 replies; 3+ messages in thread
From: cinap_lenrek @ 2016-02-08 18:58 UTC (permalink / raw)
  To: 9front

it is always enabled and it works for me. its done by kbdfs in keyproc():

			if(mctlfd >= 0){
				if(key.r == Kshift){
					if(key.down){
						fprint(mctlfd, "buttonmap 132");
					} else {
						fprint(mctlfd, "swap");
						fprint(mctlfd, "swap");
					}
				}
				fprint(mctlfd, "twitch");
			}

--
cinap


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] mouseshifted
  2016-02-08 18:46 mouseshifted Julius Schmidt
  2016-02-08 18:58 ` [9front] mouseshifted cinap_lenrek
@ 2016-02-08 19:04 ` sl
  1 sibling, 0 replies; 3+ messages in thread
From: sl @ 2016-02-08 19:04 UTC (permalink / raw)
  To: 9front

> mouse(3) claims
> 
>            To cope with pointing devices with only two buttons, when
>            the shift key is pressed, the right mouse button generates
>            middle-button events.
> 
> But this does not seem to be working in my case. Is it only enabled for 
> two button mice?

On my ThinkPad X230, holding shift while pressing mb2 produces the mb3
menu. In this case (and I suspect, in the case of most three-button mice),
the "right mouse button" is mb3.

sl


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-08 19:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-08 18:46 mouseshifted Julius Schmidt
2016-02-08 18:58 ` [9front] mouseshifted cinap_lenrek
2016-02-08 19:04 ` sl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).