{"action":"created","issue":{"url":"https://api.github.com/repos/jackhumbert/qmk_firmware/issues/426","repository_url":"https://api.github.com/repos/jackhumbert/qmk_firmware","labels_url":"https://api.github.com/repos/jackhumbert/qmk_firmware/issues/426/labels{/name}","comments_url":"https://api.github.com/repos/jackhumbert/qmk_firmware/issues/426/comments","events_url":"https://api.github.com/repos/jackhumbert/qmk_firmware/issues/426/events","html_url":"https://github.com/jackhumbert/qmk_firmware/issues/426","id":161340805,"number":426,"title":"Implement double tap keys","user":{"login":"ezuk","id":1092548,"avatar_url":"https://avatars.githubusercontent.com/u/1092548?v=3","gravatar_id":"","url":"https://api.github.com/users/ezuk","html_url":"https://github.com/ezuk","followers_url":"https://api.github.com/users/ezuk/followers","following_url":"https://api.github.com/users/ezuk/following{/other_user}","gists_url":"https://api.github.com/users/ezuk/gists{/gist_id}","starred_url":"https://api.github.com/users/ezuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezuk/subscriptions","organizations_url":"https://api.github.com/users/ezuk/orgs","repos_url":"https://api.github.com/users/ezuk/repos","events_url":"https://api.github.com/users/ezuk/events{/privacy}","received_events_url":"https://api.github.com/users/ezuk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jackhumbert/qmk_firmware/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-06-21T03:13:18Z","updated_at":"2016-06-22T14:33:05Z","closed_at":null,"body":"Tap ; once to send a semicolon. Tap twice to send a colon.\r\n\r\nBased on #411 and the excellent code and discussion between @algernon and @piotr-dobrogost.\r\n\r\nPackage this into something like: `TAP(KC_SCLN, KC_CLN)` - first argument is the single tap, second arg is the double tap. And no, we're not going to support triple taps ;)"},"comment":{"url":"https://api.github.com/repos/jackhumbert/qmk_firmware/issues/comments/227763205","html_url":"https://github.com/jackhumbert/qmk_firmware/issues/426#issuecomment-227763205","issue_url":"https://api.github.com/repos/jackhumbert/qmk_firmware/issues/426","id":227763205,"user":{"login":"algernon","id":17243,"avatar_url":"https://avatars.githubusercontent.com/u/17243?v=3","gravatar_id":"","url":"https://api.github.com/users/algernon","html_url":"https://github.com/algernon","followers_url":"https://api.github.com/users/algernon/followers","following_url":"https://api.github.com/users/algernon/following{/other_user}","gists_url":"https://api.github.com/users/algernon/gists{/gist_id}","starred_url":"https://api.github.com/users/algernon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algernon/subscriptions","organizations_url":"https://api.github.com/users/algernon/orgs","repos_url":"https://api.github.com/users/algernon/repos","events_url":"https://api.github.com/users/algernon/events{/privacy}","received_events_url":"https://api.github.com/users/algernon/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T14:33:05Z","updated_at":"2016-06-22T14:33:05Z","body":"Myeah, the diff of the commit in my repo is hard to read, indeed.\r\n\r\nHere's how to use it:\r\n\r\n* Have a key with a keycode of `0x7100` or higher defined, like [this](https://github.com/algernon/ergodox-layout/blob/d44595629e5b51022f72f72712806b951d221278/keymap.c#L96-L98)\r\n* Include that in the [keymap](https://github.com/algernon/ergodox-layout/blob/d44595629e5b51022f72f72712806b951d221278/keymap.c#L148)\r\n* Create a [`tap_dance_user`](https://github.com/algernon/ergodox-layout/blob/d44595629e5b51022f72f72712806b951d221278/keymap.c#L884-L897) function.\r\n* Call `matrix_scan_tap_dance()` from `matrix_scan_user()`, like [this](https://github.com/algernon/ergodox-layout/blob/d44595629e5b51022f72f72712806b951d221278/keymap.c#L906)\r\n\r\nAnd that's it. Not the friendliest thing, but it's a start."}}
{"actor":{"display_login":"algernon"}}