{"action":"created","issue":{"url":"https://api.github.com/repos/keyboardio/Kaleidoscope-MouseKeys/issues/15","repository_url":"https://api.github.com/repos/keyboardio/Kaleidoscope-MouseKeys","labels_url":"https://api.github.com/repos/keyboardio/Kaleidoscope-MouseKeys/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/keyboardio/Kaleidoscope-MouseKeys/issues/15/comments","events_url":"https://api.github.com/repos/keyboardio/Kaleidoscope-MouseKeys/issues/15/events","html_url":"https://github.com/keyboardio/Kaleidoscope-MouseKeys/pull/15","id":310282489,"number":15,"title":"Add a Grid Warp Mode","user":{"login":"cyrossignol","id":4282384,"avatar_url":"https://avatars1.githubusercontent.com/u/4282384?v=4","gravatar_id":"","url":"https://api.github.com/users/cyrossignol","html_url":"https://github.com/cyrossignol","followers_url":"https://api.github.com/users/cyrossignol/followers","following_url":"https://api.github.com/users/cyrossignol/following{/other_user}","gists_url":"https://api.github.com/users/cyrossignol/gists{/gist_id}","starred_url":"https://api.github.com/users/cyrossignol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyrossignol/subscriptions","organizations_url":"https://api.github.com/users/cyrossignol/orgs","repos_url":"https://api.github.com/users/cyrossignol/repos","events_url":"https://api.github.com/users/cyrossignol/events{/privacy}","received_events_url":"https://api.github.com/users/cyrossignol/received_events","type":"User","site_admin":false},"labels":[{"id":525300358,"url":"https://api.github.com/repos/keyboardio/Kaleidoscope-MouseKeys/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"algernon","id":17243,"avatar_url":"https://avatars3.githubusercontent.com/u/17243?v=4","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},"assignees":[{"login":"algernon","id":17243,"avatar_url":"https://avatars3.githubusercontent.com/u/17243?v=4","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}],"milestone":null,"comments":15,"created_at":"2018-04-01T00:27:38Z","updated_at":"2018-04-12T17:18:23Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/keyboardio/Kaleidoscope-MouseKeys/pulls/15","html_url":"https://github.com/keyboardio/Kaleidoscope-MouseKeys/pull/15","diff_url":"https://github.com/keyboardio/Kaleidoscope-MouseKeys/pull/15.diff","patch_url":"https://github.com/keyboardio/Kaleidoscope-MouseKeys/pull/15.patch"},"body":"This change adds an optional 9-sector-grid warp mode for mouse navigation\r\nsimilar to a feature provided by some speech recognition software. It can\r\nreplace the current quaternary warp mode by adding the following to a sketch:\r\n\r\n```cpp\r\nvoid setup() {\r\n  ...\r\n  MouseKeys.setWarpGridSize(MOUSE_WARP_GRID_3X3);\r\n}\r\n```\r\n\r\nI defined a few more warp keys to support a layout like the following:\r\n\r\n\r\n```\r\n     W | E | R  T    A - Cancel Warping   (Key_mouseWarpEnd)\r\n    ---+---+---      W - Warp NW Sector   (Key_mouseWarpNW)\r\n  A  S | D | F  G    E - Warp N Sector    (Key_mouseWarpN)\r\n    ---+---+---      R - Warp NE Sector   (Key_mouseWarpNE)\r\n     X | C | V  B    S - Warp E Sector    (Key_mouseWarpE)\r\n                     D - Warp/Zoom Center (Key_mouseWarpIn)\r\n                     F - Warp W Sector    (Key_mouseWarpW)\r\n                     K - Warp SE Sector   (Key_mouseWarpSE)\r\n                     C - Warp S Sector    (Key_mouseWarpS)\r\n                     V - Warp SW Sector   (Key_mouseWarpSW)\r\n                     T - Right Click      (Key_mouseBtnR)\r\n                     G - Left Click       (Key_mouseBtnL)\r\n                     B - Middle Click     (Key_mouseBtnM)\r\n```\r\n\r\nTo illustrate, here's a screen divided into those 9 sectors:\r\n\r\n```\r\n  +-----------------+-----------------+-----------------+\r\n  |  W  |  E  |  R  |                 |                 |\r\n  |-----+-----+-----|                 |                 |\r\n  |  S  |  D  |  F  |        E        |        R        |\r\n  |-----+-----+-----|                 |                 |\r\n  |  X  |  C  |  V  |                 |                 |\r\n  +-----------------+-----------------+-----------------+\r\n  |                 |                 |                 |\r\n  |                 |                 |                 |\r\n  |        S        |        D        |        F        |\r\n  |                 |                 |                 |\r\n  |                 |                 |                 |\r\n  +-----------------+-----------------+-----------------+\r\n  |                 |                 |                 |\r\n  |                 |                 |                 |\r\n  |        X        |        C        |        V        |\r\n  |                 |                 |                 |\r\n  |                 |                 |                 |\r\n  +-----------------+-----------------+-----------------+\r\n```\r\n\r\nWhen using the layout shown above, pressing <kbd>W</kbd> warps the pointer \r\ninto the top-left sector, and pressing <kbd>V</kbd> warps to the bottom-right\r\ncorner within that sector.\r\n\r\nJust like with the current warp mode, the user repeats this process, jumping a\r\nsmaller distance each time within the previous sector, until he or she positions\r\nthe pointer over the target item.\r\n"},"comment":{"url":"https://api.github.com/repos/keyboardio/Kaleidoscope-MouseKeys/issues/comments/380880748","html_url":"https://github.com/keyboardio/Kaleidoscope-MouseKeys/pull/15#issuecomment-380880748","issue_url":"https://api.github.com/repos/keyboardio/Kaleidoscope-MouseKeys/issues/15","id":380880748,"user":{"login":"obra","id":45416,"avatar_url":"https://avatars0.githubusercontent.com/u/45416?v=4","gravatar_id":"","url":"https://api.github.com/users/obra","html_url":"https://github.com/obra","followers_url":"https://api.github.com/users/obra/followers","following_url":"https://api.github.com/users/obra/following{/other_user}","gists_url":"https://api.github.com/users/obra/gists{/gist_id}","starred_url":"https://api.github.com/users/obra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obra/subscriptions","organizations_url":"https://api.github.com/users/obra/orgs","repos_url":"https://api.github.com/users/obra/repos","events_url":"https://api.github.com/users/obra/events{/privacy}","received_events_url":"https://api.github.com/users/obra/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T17:18:21Z","updated_at":"2018-04-12T17:18:21Z","author_association":"OWNER","body":"Yeah,\n\nAt this point, even if it's better, I'd probably not enable it as the\ndefault on the Model 01, since we've already got layout cards printed, etc\n;)\n\n\nOn Thu, Apr 12, 2018 at 8:47 AM, Cy Rossignol <notifications@github.com>\nwrote:\n\n> @obra <https://github.com/obra> I see what you're saying now. This\n> actually makes a lot of sense, and it does seem easier to learn. I imagine\n> it could behave like so when pressing UpLeftDownRight sequentially:\n>\n> +---------+---------+------ ...\n> |         |         |\n> |         |         |\n> |         |         |\n> +--------(2)-------(1)\n> |         |    |    |\n> |        (3)--(4)---|\n> |         |    |    |\n> +---------+--------(0)----- ...\n> |                   |\n> |...                |...\n>\n>\n> ...for which we bisect the screen/cell only for the direction moved. It's\n> almost a hybrid of 2x2 and 3x3 grid warping. Finding a good default layout\n> that can ship from the factory might be tricky, though, if we want the keys\n> to physically represent the warp directions. The current GBtabesc cluster\n> doesn't feel quite right for this. Couple of thoughts:\n>\n>    - Place warp keys next to directional keys (TFGtab) and move the mouse\n>    buttons.\n>    - Use a modifier like Ctrl applied to directional keys. I haven't\n>    learned how to do this yet, so I'm not sure how feasible this approach is,\n>    and holding two modifiers isn't pleasant.\n>    - Toggle warp mode on the directional keys when pressing\n>    Key_mouseWarpEnd (and exit warp mode when pressing a mouse button).\n>\n> I just set this up with the \"toggle\" option using tho following layout,\n> and I already like it:\n>\n>     __|E|__  T    A - Toggle Warping   E - Move/Warp Up\n>  A |S  D  F| G    T - Right Click      S - Move/Warp Left\n>              B    G - Left Click       D - Move/Warp Down\n>                   B - Middle Click     F - Move/Warp Right\n>\n> ------------------------------\n>\n> @algernon <https://github.com/algernon> Thanks! I'll take a look at those\n> plugins.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/keyboardio/Kaleidoscope-MouseKeys/pull/15#issuecomment-380852595>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AACxaJmMz7MRYI7MtWe7_fWMpBYUWeYhks5tn3chgaJpZM4TCqSU>\n> .\n>\n"}}
{"actor":{"display_login":"obra"}}