Hello,

I'm a newbie playing with 9front on laptop (in VirtualBox) and would like to 
try to make it work with one mouse key and modifiers (similar to 
https://github.com/rsc/plan9/commit/5375b476e0d0119bcd85517e337e99b1d7a0b7e0 ). 
9front code looks different from plan9 and I'm confused with similar code in 
ps2mouseputc() in  /sys/src/9/pc/mouse and m5mouseputc() in 
/sys/src/9/port/devmouse.c . Both files are compiled into the amd64 kernel; the 
former respects the shift argument, but I don't see how it is propagated from 
the keyboard (as far as I see, the code in /sys/src/9/pc/devkbd.c only calls it 
via auxputc pointer with the second argument 0); the latter has a comment about 
shift modifier, but I don't see it in the code. Where should I look for the 
actual code that propagates keybaord modifiers to mouse handling code?

Another question - how to specify the kernel during boot (e.g. if I copy the 
old one to /9fat/9pc64.orig and would like to use it in case newly compiled one 
does not work)?

Regards, Roman
------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T41a0e496bba0c957-Md0533d77b0c9c24558a3dd89
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to