{"action":"created","issue":{"url":"https://api.github.com/repos/lentinj/tp-compact-keyboard/issues/30","labels_url":"https://api.github.com/repos/lentinj/tp-compact-keyboard/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/lentinj/tp-compact-keyboard/issues/30/comments","events_url":"https://api.github.com/repos/lentinj/tp-compact-keyboard/issues/30/events","html_url":"https://github.com/lentinj/tp-compact-keyboard/issues/30","id":119051198,"number":30,"title":"Middle-Click Timeout, even if not scroll event was triggered","user":{"login":"white-gecko","id":1018168,"avatar_url":"https://avatars.githubusercontent.com/u/1018168?v=3","gravatar_id":"","url":"https://api.github.com/users/white-gecko","html_url":"https://github.com/white-gecko","followers_url":"https://api.github.com/users/white-gecko/followers","following_url":"https://api.github.com/users/white-gecko/following{/other_user}","gists_url":"https://api.github.com/users/white-gecko/gists{/gist_id}","starred_url":"https://api.github.com/users/white-gecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/white-gecko/subscriptions","organizations_url":"https://api.github.com/users/white-gecko/orgs","repos_url":"https://api.github.com/users/white-gecko/repos","events_url":"https://api.github.com/users/white-gecko/events{/privacy}","received_events_url":"https://api.github.com/users/white-gecko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-26T14:03:29Z","updated_at":"2015-11-26T23:09:05Z","closed_at":null,"body":"Is it possible to have the middle-click event to timeout?\r\n\r\nI have a USB Keyboard and patched my kernel (4.2.6, debian jessie backport) with the patch proposed in #23 (https://lkml.org/lkml/2015/8/11/742). The scrolling works very good and a middle-click is only triggered when the TrackPoint was not moved (Thank you for your work so far!).\r\nBut still sometimes I press the middle button in the intention to scroll, but decide to not scroll after a while :-)\r\n\r\nWouldn't it be a good idea, to still let the middle-click event timeout i.e. don't send the middle-click event after releasing the middle-button after some timeout, even if the TrackPoint wasn't moved. I think this would be the same behavior as on the internal keyboard. (I think the middle-button on the internal keyboard goes to some long-click, behavior in the meantime, which doesn't seam to be possible with the external version.)\r\n\r\nOr is it even possible to configure this behavior in the X.org config?\r\n"},"comment":{"url":"https://api.github.com/repos/lentinj/tp-compact-keyboard/issues/comments/160003174","html_url":"https://github.com/lentinj/tp-compact-keyboard/issues/30#issuecomment-160003174","issue_url":"https://api.github.com/repos/lentinj/tp-compact-keyboard/issues/30","id":160003174,"user":{"login":"lentinj","id":586911,"avatar_url":"https://avatars.githubusercontent.com/u/586911?v=3","gravatar_id":"","url":"https://api.github.com/users/lentinj","html_url":"https://github.com/lentinj","followers_url":"https://api.github.com/users/lentinj/followers","following_url":"https://api.github.com/users/lentinj/following{/other_user}","gists_url":"https://api.github.com/users/lentinj/gists{/gist_id}","starred_url":"https://api.github.com/users/lentinj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lentinj/subscriptions","organizations_url":"https://api.github.com/users/lentinj/orgs","repos_url":"https://api.github.com/users/lentinj/repos","events_url":"https://api.github.com/users/lentinj/events{/privacy}","received_events_url":"https://api.github.com/users/lentinj/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T23:09:05Z","updated_at":"2015-11-26T23:09:05Z","body":"Weird, I always thought you get a middle button press with a \"normal\" trackpoint if you held it down too long. You're right, after 200ms of middle-button-press no button events are sent back, even if there's no wheel events.\r\n\r\nThis isn't configurable from Xorg, as the keyboard itself does a lot of the wheel emulation work. It'd require a kernel patch to check how long the button had been down upon release, and then send if it was short enough."}}