{"action":"created","issue":{"url":"https://api.github.com/repos/otfried/ipe-issues/issues/46","repository_url":"https://api.github.com/repos/otfried/ipe-issues","labels_url":"https://api.github.com/repos/otfried/ipe-issues/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/otfried/ipe-issues/issues/46/comments","events_url":"https://api.github.com/repos/otfried/ipe-issues/issues/46/events","html_url":"https://github.com/otfried/ipe-issues/issues/46","id":134795993,"number":46,"title":"Modifier keys in mouse.lua on Mac","user":{"login":"DennisSchiefer","id":1447634,"avatar_url":"https://avatars.githubusercontent.com/u/1447634?v=3","gravatar_id":"","url":"https://api.github.com/users/DennisSchiefer","html_url":"https://github.com/DennisSchiefer","followers_url":"https://api.github.com/users/DennisSchiefer/followers","following_url":"https://api.github.com/users/DennisSchiefer/following{/other_user}","gists_url":"https://api.github.com/users/DennisSchiefer/gists{/gist_id}","starred_url":"https://api.github.com/users/DennisSchiefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DennisSchiefer/subscriptions","organizations_url":"https://api.github.com/users/DennisSchiefer/orgs","repos_url":"https://api.github.com/users/DennisSchiefer/repos","events_url":"https://api.github.com/users/DennisSchiefer/events{/privacy}","received_events_url":"https://api.github.com/users/DennisSchiefer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-19T07:27:32Z","updated_at":"2016-02-19T09:25:40Z","closed_at":null,"body":"I am trying to make use of all modifier keys on Mac (Shift, Control, Option, Command - which should map to Shift - Ctrl - Alt - Meta). So far, however, I am unable to assign the Meta key in any command.\r\n\r\nIn particular, I am trying to map\r\n`left-meta = \"select\",`\r\nwhich does nothing.\r\n\r\nI am using Ipe 7.2.2. on an Yosemite MacOS X."},"comment":{"url":"https://api.github.com/repos/otfried/ipe-issues/issues/comments/186130232","html_url":"https://github.com/otfried/ipe-issues/issues/46#issuecomment-186130232","issue_url":"https://api.github.com/repos/otfried/ipe-issues/issues/46","id":186130232,"user":{"login":"otfried","id":9983417,"avatar_url":"https://avatars.githubusercontent.com/u/9983417?v=3","gravatar_id":"","url":"https://api.github.com/users/otfried","html_url":"https://github.com/otfried","followers_url":"https://api.github.com/users/otfried/followers","following_url":"https://api.github.com/users/otfried/following{/other_user}","gists_url":"https://api.github.com/users/otfried/gists{/gist_id}","starred_url":"https://api.github.com/users/otfried/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otfried/subscriptions","organizations_url":"https://api.github.com/users/otfried/orgs","repos_url":"https://api.github.com/users/otfried/repos","events_url":"https://api.github.com/users/otfried/events{/privacy}","received_events_url":"https://api.github.com/users/otfried/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T09:25:40Z","updated_at":"2016-02-19T09:25:40Z","body":"The fourth modifier is called \"Command\" on OSX, and Ipe already uses this internally, but it's not yet mapped.  So you have to change the line:\r\n\r\n```\r\n    if modifiers.meta then s = s .. \"_meta\" end\r\n```\r\nin `tools.lua` to\r\n\r\n```\r\n    if modifiers.command then s = s .. \"_command\" end\r\n```\r\n\r\nThen you should be able to use a customization:\r\n\r\n```\r\nmouse.left_command = \"select\"\r\n```"}}