cptaffe / plan9front

Automatically exported from code.google.com/p/plan9front
0 stars 0 forks source link

labs kb driver can map keys to mouse buttons, 9front can't. #188

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
in /sys/lib/kbmap/ are two files, mouse-fn and mouse-csa. these map keys to 
mouse buttons, f1-f3 and left ctrl, win-key, and alt, respectively. they are 
simple to use: cat /sys/lib/kbmap/mouse-fn > /dev/kbmap. 9front lacks support 
for this; add to kbd driver.

Original issue reported on code.google.com by tereniao...@gmail.com on 7 Oct 2013 at 2:22

GoogleCodeExporter commented 9 years ago
implemented in r4511039af4e1 by having kbdfs open /dev/mousein and simulate the 
mouse buttons. this requires differential mouse button handling in the kernels 
devmouse (commited in r4c7978959430).

to test:

cd /sys/src/cmd/aux/kbdfs; mk install
cd /sys/src/9/pc; mk clean; mk install
...

Original comment by cinap_le...@felloff.net on 7 Oct 2013 at 4:54

GoogleCodeExporter commented 9 years ago
nobody complained and works fine for me, so closing the issue.

Original comment by cinap_le...@felloff.net on 9 Oct 2013 at 11:21