Comment 18 for bug 46378

Revision history for this message
Luiz Marcelo Serique (luiz-marcelo-serique) wrote : Re: Bad mapping for Right-Click on PowerPC

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.