{"action":"created","issue":{"url":"https://api.github.com/repos/tekezo/Karabiner/issues/453","labels_url":"https://api.github.com/repos/tekezo/Karabiner/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/tekezo/Karabiner/issues/453/comments","events_url":"https://api.github.com/repos/tekezo/Karabiner/issues/453/events","html_url":"https://github.com/tekezo/Karabiner/issues/453","id":99780132,"number":453,"title":"KeyOverlaidModifier doesn't work for some key codes","user":{"login":"lowski","id":1379988,"avatar_url":"https://avatars.githubusercontent.com/u/1379988?v=3","gravatar_id":"","url":"https://api.github.com/users/lowski","html_url":"https://github.com/lowski","followers_url":"https://api.github.com/users/lowski/followers","following_url":"https://api.github.com/users/lowski/following{/other_user}","gists_url":"https://api.github.com/users/lowski/gists{/gist_id}","starred_url":"https://api.github.com/users/lowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowski/subscriptions","organizations_url":"https://api.github.com/users/lowski/orgs","repos_url":"https://api.github.com/users/lowski/repos","events_url":"https://api.github.com/users/lowski/events{/privacy}","received_events_url":"https://api.github.com/users/lowski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-08T07:23:48Z","updated_at":"2015-08-14T15:18:05Z","closed_at":null,"body":"Hi,\r\nI love this app. Thanks to it I was able to program all buttons on my Logitech M560 mouse. Thanks!\r\n\r\nI have one issue though: I'm able to remap forward button in my mouse to behave differently when hold / tap, like this:\r\n\r\n```xml\r\n            <autogen>\r\n                --KeyOverlaidModifier--\r\n                KeyCode::COMMAND_R,\r\n                KeyCode::CURSOR_RIGHT, ModifierFlag::CONTROL_L,\r\n                KeyCode::CURSOR_RIGHT, ModifierFlag::COMMAND_L\r\n            </autogen>\r\n```\r\n\r\nWhen I try to use the same syntax for back button:\r\n\r\n```xml\r\n            <autogen>\r\n                --KeyOverlaidModifier--\r\n                KeyCode::D, ModifierFlag::COMMAND_L,\r\n                KeyCode::CURSOR_LEFT, ModifierFlag::CONTROL_L,\r\n                KeyCode::CURSOR_LEFT, ModifierFlag::COMMAND_L\r\n            </autogen>\r\n```\r\n\r\nIt only works for tap but not for hold.\r\n\r\nAm I doing something wrong? I tried to look for `KeyOverlaidModifier` parameter in docs but couldn't found anything :(."},"comment":{"url":"https://api.github.com/repos/tekezo/Karabiner/issues/comments/131144677","html_url":"https://github.com/tekezo/Karabiner/issues/453#issuecomment-131144677","issue_url":"https://api.github.com/repos/tekezo/Karabiner/issues/453","id":131144677,"user":{"login":"lowski","id":1379988,"avatar_url":"https://avatars.githubusercontent.com/u/1379988?v=3","gravatar_id":"","url":"https://api.github.com/users/lowski","html_url":"https://github.com/lowski","followers_url":"https://api.github.com/users/lowski/followers","following_url":"https://api.github.com/users/lowski/following{/other_user}","gists_url":"https://api.github.com/users/lowski/gists{/gist_id}","starred_url":"https://api.github.com/users/lowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowski/subscriptions","organizations_url":"https://api.github.com/users/lowski/orgs","repos_url":"https://api.github.com/users/lowski/repos","events_url":"https://api.github.com/users/lowski/events{/privacy}","received_events_url":"https://api.github.com/users/lowski/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T15:18:05Z","updated_at":"2015-08-14T15:18:05Z","body":"@tekezo unfortunately the last snippet doesn't work for me. It always execute the shortcut in the `<!-- hold -->` section (`KeyCode::CURSOR_LEFT, ModifierFlag::COMMAND_L`) no matter whether I hold or tap a button. Maybe I have something wrong in `Key Repeat` settings?\r\n\r\n\r\n![screenshot 2015-08-14 17 16 38](https://cloud.githubusercontent.com/assets/1379988/9277116/56672d52-42a8-11e5-8819-1e9c61b6346e.png)\r\n![screenshot 2015-08-14 17 16 48](https://cloud.githubusercontent.com/assets/1379988/9277117/566b2010-42a8-11e5-80a2-0dbfb3302a38.png)\r\n"}}