{"action":"opened","issue":{"url":"https://api.github.com/repos/kebernet/shortyz/issues/141","repository_url":"https://api.github.com/repos/kebernet/shortyz","labels_url":"https://api.github.com/repos/kebernet/shortyz/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/kebernet/shortyz/issues/141/comments","events_url":"https://api.github.com/repos/kebernet/shortyz/issues/141/events","html_url":"https://github.com/kebernet/shortyz/issues/141","id":351739437,"node_id":"MDU6SXNzdWUzNTE3Mzk0Mzc=","number":141,"title":"Physical keyboard doesn't autorepeat","user":{"login":"g1dd5","id":42479934,"node_id":"MDQ6VXNlcjQyNDc5OTM0","avatar_url":"https://avatars3.githubusercontent.com/u/42479934?v=4","gravatar_id":"","url":"https://api.github.com/users/g1dd5","html_url":"https://github.com/g1dd5","followers_url":"https://api.github.com/users/g1dd5/followers","following_url":"https://api.github.com/users/g1dd5/following{/other_user}","gists_url":"https://api.github.com/users/g1dd5/gists{/gist_id}","starred_url":"https://api.github.com/users/g1dd5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g1dd5/subscriptions","organizations_url":"https://api.github.com/users/g1dd5/orgs","repos_url":"https://api.github.com/users/g1dd5/repos","events_url":"https://api.github.com/users/g1dd5/events{/privacy}","received_events_url":"https://api.github.com/users/g1dd5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-17T21:09:46Z","updated_at":"2018-08-17T21:09:46Z","closed_at":null,"author_association":"NONE","body":"I run Shortyz on a [Gemini](https://en.wikipedia.org/wiki/Gemini_(PDA)), which has a built-in physical keyboard.\r\n\r\nShortyz only seems to respond to keys after they're released.  This makes it feel slightly sluggish; and (worse) you can't hold down e.g. arrow keys to move the cursor multiple cells at a time.\r\n\r\nCould it be changed to respond when keys are pressed (and repeat if held down) in the usual way?  Thanks.\r\n\r\n(I'd guess that this might be related to the last part of the `onKeyUp()` implementation in `com.totsp.crossword.PlayActivity` — but I'm not an Android developer, so I don't really know, or have any idea about a fix.  In Java Swing, you'd put that in `onKeyTyped()` instead, but it doesn't look like Android has an equivalent for that…  BTW, I'd guess that's also the code involved in issues #8, #53, and #113; perhaps the `ALPHA` check could be replaced by something like `Character.isLetterOrDigit()`, or possibly the method [here](https://stackoverflow.com/questions/33944105/how-to-check-a-pressed-key-is-printable-or-not)?)"}}
{"actor":{"display_login":"g1dd5"}}