{"action":"created","comment":{"url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/pulls/comments/327487282","pull_request_review_id":292252195,"id":327487282,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyNzQ4NzI4Mg==","diff_hunk":"@@ -0,0 +1,53 @@\n+.. _selector:\n+\n+selector module\n+###############\n+\n+The ``selector`` module is used to send event (``selector_event``) informing about current selector state.\n+Module has one implementation, which uses hardware selectors (``selector_hw.c``).\n+\n+Module Events\n+*************\n+\n++----------------+-------------+-----------------+--------------------+------------------+\n+| Source Module  | Input Event | This Module     | Output Event       | Sink Module      |\n++================+=============+=================+====================+==================+\n+|                |             | ``selector``    | ``selector_event`` | :ref:`ble_bond`  |\n++----------------+-------------+-----------------+--------------------+------------------+\n+\n+Configuration\n+*************\n+\n+Hardware selectors\n+==================\n+\n+Module uses the Zephyr :ref:`zephyr:gpio` driver to check state of the hardware selectors - it is required to set :option:`CONFIG_GPIO` option.\n+\n+In addition set ``CONFIG_DESKTOP_SELECTOR_HW_ENABLE`` and define module configuration.","path":"applications/nrf_desktop/doc/selector.rst","position":26,"original_position":26,"commit_id":"a71423d7038188a43af26d647697cf92c7b6b31c","original_commit_id":"10f015182b45ff7cba6d8757fe4866a3420517ef","user":{"login":"MarekPieta","id":29888381,"node_id":"MDQ6VXNlcjI5ODg4Mzgx","avatar_url":"https://avatars3.githubusercontent.com/u/29888381?v=4","gravatar_id":"","url":"https://api.github.com/users/MarekPieta","html_url":"https://github.com/MarekPieta","followers_url":"https://api.github.com/users/MarekPieta/followers","following_url":"https://api.github.com/users/MarekPieta/following{/other_user}","gists_url":"https://api.github.com/users/MarekPieta/gists{/gist_id}","starred_url":"https://api.github.com/users/MarekPieta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarekPieta/subscriptions","organizations_url":"https://api.github.com/users/MarekPieta/orgs","repos_url":"https://api.github.com/users/MarekPieta/repos","events_url":"https://api.github.com/users/MarekPieta/events{/privacy}","received_events_url":"https://api.github.com/users/MarekPieta/received_events","type":"User","site_admin":false},"body":"done","created_at":"2019-09-24T08:25:36Z","updated_at":"2019-09-24T08:25:36Z","html_url":"https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1164#discussion_r327487282","pull_request_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/pulls/1164","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/pulls/comments/327487282"},"html":{"href":"https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1164#discussion_r327487282"},"pull_request":{"href":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/pulls/1164"}},"in_reply_to_id":326510301},"pull_request":{"url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/pulls/1164","id":319290248,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE5MjkwMjQ4","html_url":"https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1164","diff_url":"https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1164.diff","patch_url":"https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1164.patch","issue_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/issues/1164","number":1164,"state":"open","locked":false,"title":"applications: nrf_desktop: Add selector documentation","user":{"login":"MarekPieta","id":29888381,"node_id":"MDQ6VXNlcjI5ODg4Mzgx","avatar_url":"https://avatars3.githubusercontent.com/u/29888381?v=4","gravatar_id":"","url":"https://api.github.com/users/MarekPieta","html_url":"https://github.com/MarekPieta","followers_url":"https://api.github.com/users/MarekPieta/followers","following_url":"https://api.github.com/users/MarekPieta/following{/other_user}","gists_url":"https://api.github.com/users/MarekPieta/gists{/gist_id}","starred_url":"https://api.github.com/users/MarekPieta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarekPieta/subscriptions","organizations_url":"https://api.github.com/users/MarekPieta/orgs","repos_url":"https://api.github.com/users/MarekPieta/repos","events_url":"https://api.github.com/users/MarekPieta/events{/privacy}","received_events_url":"https://api.github.com/users/MarekPieta/received_events","type":"User","site_admin":false},"body":"Change adds documentation for selector.","created_at":"2019-09-19T13:54:32Z","updated_at":"2019-09-24T08:25:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"639d72e37fb1190730af23be4881b5ac55b29589","assignee":null,"assignees":[],"requested_reviewers":[{"login":"pdunaj","id":2377013,"node_id":"MDQ6VXNlcjIzNzcwMTM=","avatar_url":"https://avatars0.githubusercontent.com/u/2377013?v=4","gravatar_id":"","url":"https://api.github.com/users/pdunaj","html_url":"https://github.com/pdunaj","followers_url":"https://api.github.com/users/pdunaj/followers","following_url":"https://api.github.com/users/pdunaj/following{/other_user}","gists_url":"https://api.github.com/users/pdunaj/gists{/gist_id}","starred_url":"https://api.github.com/users/pdunaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdunaj/subscriptions","organizations_url":"https://api.github.com/users/pdunaj/orgs","repos_url":"https://api.github.com/users/pdunaj/repos","events_url":"https://api.github.com/users/pdunaj/events{/privacy}","received_events_url":"https://api.github.com/users/pdunaj/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/pulls/1164/commits","review_comments_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/pulls/1164/comments","review_comment_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/issues/1164/comments","statuses_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/statuses/a71423d7038188a43af26d647697cf92c7b6b31c","head":{"label":"MarekPieta:selector_rst","ref":"selector_rst","sha":"a71423d7038188a43af26d647697cf92c7b6b31c","user":{"login":"MarekPieta","id":29888381,"node_id":"MDQ6VXNlcjI5ODg4Mzgx","avatar_url":"https://avatars3.githubusercontent.com/u/29888381?v=4","gravatar_id":"","url":"https://api.github.com/users/MarekPieta","html_url":"https://github.com/MarekPieta","followers_url":"https://api.github.com/users/MarekPieta/followers","following_url":"https://api.github.com/users/MarekPieta/following{/other_user}","gists_url":"https://api.github.com/users/MarekPieta/gists{/gist_id}","starred_url":"https://api.github.com/users/MarekPieta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarekPieta/subscriptions","organizations_url":"https://api.github.com/users/MarekPieta/orgs","repos_url":"https://api.github.com/users/MarekPieta/repos","events_url":"https://api.github.com/users/MarekPieta/events{/privacy}","received_events_url":"https://api.github.com/users/MarekPieta/received_events","type":"User","site_admin":false},"repo":{"id":161763323,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE3NjMzMjM=","name":"fw-nrfconnect-nrf","full_name":"MarekPieta/fw-nrfconnect-nrf","private":false,"owner":{"login":"MarekPieta","id":29888381,"node_id":"MDQ6VXNlcjI5ODg4Mzgx","avatar_url":"https://avatars3.githubusercontent.com/u/29888381?v=4","gravatar_id":"","url":"https://api.github.com/users/MarekPieta","html_url":"https://github.com/MarekPieta","followers_url":"https://api.github.com/users/MarekPieta/followers","following_url":"https://api.github.com/users/MarekPieta/following{/other_user}","gists_url":"https://api.github.com/users/MarekPieta/gists{/gist_id}","starred_url":"https://api.github.com/users/MarekPieta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarekPieta/subscriptions","organizations_url":"https://api.github.com/users/MarekPieta/orgs","repos_url":"https://api.github.com/users/MarekPieta/repos","events_url":"https://api.github.com/users/MarekPieta/events{/privacy}","received_events_url":"https://api.github.com/users/MarekPieta/received_events","type":"User","site_admin":false},"html_url":"https://github.com/MarekPieta/fw-nrfconnect-nrf","description":"nRF Connect SDK nrf tree","fork":true,"url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf","forks_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/forks","keys_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/teams","hooks_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/hooks","issue_events_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/issues/events{/number}","events_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/events","assignees_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/assignees{/user}","branches_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/branches{/branch}","tags_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/tags","blobs_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/statuses/{sha}","languages_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/languages","stargazers_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/stargazers","contributors_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/contributors","subscribers_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/subscribers","subscription_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/subscription","commits_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/contents/{+path}","compare_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/merges","archive_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/downloads","issues_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/issues{/number}","pulls_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/pulls{/number}","milestones_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/milestones{/number}","notifications_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/labels{/name}","releases_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/releases{/id}","deployments_url":"https://api.github.com/repos/MarekPieta/fw-nrfconnect-nrf/deployments","created_at":"2018-12-14T09:38:34Z","updated_at":"2019-08-06T06:54:01Z","pushed_at":"2019-09-24T07:57:04Z","git_url":"git://github.com/MarekPieta/fw-nrfconnect-nrf.git","ssh_url":"git@github.com:MarekPieta/fw-nrfconnect-nrf.git","clone_url":"https://github.com/MarekPieta/fw-nrfconnect-nrf.git","svn_url":"https://github.com/MarekPieta/fw-nrfconnect-nrf","homepage":"http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/","size":5724,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NordicPlayground:master","ref":"master","sha":"f99a3a56ac0204c985117c201ac37b050cf6db08","user":{"login":"NordicPlayground","id":5527425,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1Mjc0MjU=","avatar_url":"https://avatars2.githubusercontent.com/u/5527425?v=4","gravatar_id":"","url":"https://api.github.com/users/NordicPlayground","html_url":"https://github.com/NordicPlayground","followers_url":"https://api.github.com/users/NordicPlayground/followers","following_url":"https://api.github.com/users/NordicPlayground/following{/other_user}","gists_url":"https://api.github.com/users/NordicPlayground/gists{/gist_id}","starred_url":"https://api.github.com/users/NordicPlayground/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NordicPlayground/subscriptions","organizations_url":"https://api.github.com/users/NordicPlayground/orgs","repos_url":"https://api.github.com/users/NordicPlayground/repos","events_url":"https://api.github.com/users/NordicPlayground/events{/privacy}","received_events_url":"https://api.github.com/users/NordicPlayground/received_events","type":"Organization","site_admin":false},"repo":{"id":121516035,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE1MTYwMzU=","name":"fw-nrfconnect-nrf","full_name":"NordicPlayground/fw-nrfconnect-nrf","private":false,"owner":{"login":"NordicPlayground","id":5527425,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1Mjc0MjU=","avatar_url":"https://avatars2.githubusercontent.com/u/5527425?v=4","gravatar_id":"","url":"https://api.github.com/users/NordicPlayground","html_url":"https://github.com/NordicPlayground","followers_url":"https://api.github.com/users/NordicPlayground/followers","following_url":"https://api.github.com/users/NordicPlayground/following{/other_user}","gists_url":"https://api.github.com/users/NordicPlayground/gists{/gist_id}","starred_url":"https://api.github.com/users/NordicPlayground/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NordicPlayground/subscriptions","organizations_url":"https://api.github.com/users/NordicPlayground/orgs","repos_url":"https://api.github.com/users/NordicPlayground/repos","events_url":"https://api.github.com/users/NordicPlayground/events{/privacy}","received_events_url":"https://api.github.com/users/NordicPlayground/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NordicPlayground/fw-nrfconnect-nrf","description":"nRF Connect SDK nrf tree","fork":false,"url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf","forks_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/forks","keys_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/teams","hooks_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/hooks","issue_events_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/issues/events{/number}","events_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/events","assignees_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/assignees{/user}","branches_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/branches{/branch}","tags_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/tags","blobs_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/git/refs{/sha}","trees_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/statuses/{sha}","languages_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/languages","stargazers_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/stargazers","contributors_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/contributors","subscribers_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/subscribers","subscription_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/subscription","commits_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/commits{/sha}","git_commits_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/git/commits{/sha}","comments_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/comments{/number}","issue_comment_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/issues/comments{/number}","contents_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/contents/{+path}","compare_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/merges","archive_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/downloads","issues_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/issues{/number}","pulls_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/pulls{/number}","milestones_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/milestones{/number}","notifications_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/labels{/name}","releases_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/releases{/id}","deployments_url":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/deployments","created_at":"2018-02-14T13:50:55Z","updated_at":"2019-09-23T12:50:47Z","pushed_at":"2019-09-24T08:16:08Z","git_url":"git://github.com/NordicPlayground/fw-nrfconnect-nrf.git","ssh_url":"git@github.com:NordicPlayground/fw-nrfconnect-nrf.git","clone_url":"https://github.com/NordicPlayground/fw-nrfconnect-nrf.git","svn_url":"https://github.com/NordicPlayground/fw-nrfconnect-nrf","homepage":"http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/","size":5724,"stargazers_count":73,"watchers_count":73,"language":"C","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":208,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":45,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":208,"open_issues":45,"watchers":73,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/pulls/1164"},"html":{"href":"https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1164"},"issue":{"href":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/issues/1164"},"comments":{"href":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/issues/1164/comments"},"review_comments":{"href":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/pulls/1164/comments"},"review_comment":{"href":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/pulls/1164/commits"},"statuses":{"href":"https://api.github.com/repos/NordicPlayground/fw-nrfconnect-nrf/statuses/a71423d7038188a43af26d647697cf92c7b6b31c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"MarekPieta"}}