{"action":"created","issue":{"url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci/issues/41","repository_url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci","labels_url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci/issues/41/comments","events_url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci/issues/41/events","html_url":"https://github.com/50ButtonsEach/fliclib-linux-hci/issues/41","id":191657763,"number":41,"title":"Emptying the stream of events","user":{"login":"Korydween","id":15924179,"avatar_url":"https://avatars.githubusercontent.com/u/15924179?v=3","gravatar_id":"","url":"https://api.github.com/users/Korydween","html_url":"https://github.com/Korydween","followers_url":"https://api.github.com/users/Korydween/followers","following_url":"https://api.github.com/users/Korydween/following{/other_user}","gists_url":"https://api.github.com/users/Korydween/gists{/gist_id}","starred_url":"https://api.github.com/users/Korydween/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Korydween/subscriptions","organizations_url":"https://api.github.com/users/Korydween/orgs","repos_url":"https://api.github.com/users/Korydween/repos","events_url":"https://api.github.com/users/Korydween/events{/privacy}","received_events_url":"https://api.github.com/users/Korydween/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-25T09:25:26Z","updated_at":"2016-11-25T10:28:10Z","closed_at":null,"body":"Hi there !\r\n\r\nFirst of all, thanks a lot for releasing this lib for linux. It is very useful and works very well. \r\nI have a simple question concerning a behavior a bit surprising. \r\n\r\nI modified the code from the examples to detect simple, double clicks and holds and  display \"SimpleClick\", \"DoubleClick\" or \"Hold\" on the corresponding event. It works very well, but the weird thing is when I click the button having neither the flicd nor the TestClient launched and the bluetooth off. When I launch both after having clicked a bit the button, the lines corresponding to the clicks I performed are displayed, as if the events were kept in memory by the button itself. \r\nI checked on my processes and I am pretty sure the flicd is not running when I click the button. \r\nIs this behavior normal?  If it is, is there a way to manually \"empty\" the stored events ? \r\n\r\nThanks in advance for your answer. "},"comment":{"url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci/issues/comments/262926621","html_url":"https://github.com/50ButtonsEach/fliclib-linux-hci/issues/41#issuecomment-262926621","issue_url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci/issues/41","id":262926621,"user":{"login":"Emill","id":1660778,"avatar_url":"https://avatars.githubusercontent.com/u/1660778?v=3","gravatar_id":"","url":"https://api.github.com/users/Emill","html_url":"https://github.com/Emill","followers_url":"https://api.github.com/users/Emill/followers","following_url":"https://api.github.com/users/Emill/following{/other_user}","gists_url":"https://api.github.com/users/Emill/gists{/gist_id}","starred_url":"https://api.github.com/users/Emill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emill/subscriptions","organizations_url":"https://api.github.com/users/Emill/orgs","repos_url":"https://api.github.com/users/Emill/repos","events_url":"https://api.github.com/users/Emill/events{/privacy}","received_events_url":"https://api.github.com/users/Emill/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T10:28:10Z","updated_at":"2016-11-25T10:28:10Z","body":"Yes events are stored in RAM on the button itself if it is disconnected.\r\nThe events are delivered upon the next connection until it has received an acknowledgement that they have been arrived.\r\n\r\nSimply use the two fields \"was_queued\" and \"time_diff\". See the documentation at https://github.com/50ButtonsEach/fliclib-linux-hci/blob/master/ProtocolDocumentation.md#evtbuttonevent."}}
{"actor":{"display_login":"Emill"}}