Mouse - otfried/ipe-wiki GitHub Wiki
Find the file mouse.lua in your Ipe Lua code directory. You can find this directory by going to the Help->Show Configuration menu option in Ipe and noting the 'Lua code' directory. It will be something like
Lua code: /usr/local/share/ipe/7.0.10/lua/?.lua
Copy that file to your personal ipelet directory (e.g., $HOME/.ipe/ipelets/mouse.lua
),
change the variable mouse
to _G.mouse
, and change it as you wish.
If you just want to change a single mouse action, you can instead write:
mouse.middle = "rotate"