Thank you! I see that sending "buttonmap XYZ" to /dev/mousectl works and swaps the buttons. However, changing the code in /sys/src/cmd/aux/kbfs/kbdfs.c have no effect for me (after changes I did "mk install", checked that /bin/aux/kbdfs is updated and rebooted). Even after changing the string to "buttonmap 123" I see that shift key makes right button work as middle; I don't understand how it may work.
Regards, Roman ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T41a0e496bba0c957-M203fff89e4667296987e4a7c Delivery options: https://9fans.topicbox.com/groups/9fans/subscription