Actualy, you should take 8 units from the keycode in order to it work. So, the 96 keycode should be set as 88 and so on.. as follows:
#will emulate the middle button on the F11 key (95) sudo sysctl dev.mac_hid.mouse_button2_keycode=87 #will emulate the right button on the F12 key (96) sudo sysctl dev.mac_hid.mouse_button3_keycode=98 What I am trying to do is to emulate the right button as pressing the litle <enter> button(keycode 104) + the trackpad click, but no success yet. Suggests? I am going to try now the mouseemu + upstart. -- Bad mapping for Right-Click on PowerPC https://bugs.launchpad.net/bugs/46378 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
