Try thisXML<?xml version="1.0" encoding="UTF-8"?> <keymap> <global> <select mod="longpress">ContextMenu</select> </global> </keymap>
orXML<?xml version="1.0" encoding="UTF-8"?> <keymap> <global> <keyboard> <return mod="longpress">ContextMenu</return> <enter mod="longpress">ContextMenu</enter> <keyboard> </global> </keymap>
"enter", "return" or "select" might not be the button id, but you can easily know the button id with the Keymap editor addon,
also might not make any difference but my .xml file is called keymap.xml
[hr]
Thanks, I will give it a try tomorrow.