{"action":"closed","number":67,"pull_request":{"url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/pulls/67","id":56286866,"html_url":"https://github.com/pez2001/razer_chroma_drivers/pull/67","diff_url":"https://github.com/pez2001/razer_chroma_drivers/pull/67.diff","patch_url":"https://github.com/pez2001/razer_chroma_drivers/pull/67.patch","issue_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/issues/67","number":67,"state":"closed","locked":false,"title":"Separated out drivers.","user":{"login":"terrycain","id":1986397,"avatar_url":"https://avatars.githubusercontent.com/u/1986397?v=3","gravatar_id":"","url":"https://api.github.com/users/terrycain","html_url":"https://github.com/terrycain","followers_url":"https://api.github.com/users/terrycain/followers","following_url":"https://api.github.com/users/terrycain/following{/other_user}","gists_url":"https://api.github.com/users/terrycain/gists{/gist_id}","starred_url":"https://api.github.com/users/terrycain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrycain/subscriptions","organizations_url":"https://api.github.com/users/terrycain/orgs","repos_url":"https://api.github.com/users/terrycain/repos","events_url":"https://api.github.com/users/terrycain/events{/privacy}","received_events_url":"https://api.github.com/users/terrycain/received_events","type":"User","site_admin":false},"body":"Refactored the keyboard driver, the firefly now has its own kernel module.\r\nAdded simple example of driver based persistence/state, now after you've set the brightness for the first time `set_brightness` can be read from to report the brightness.\r\n\r\nSeperated out some common functionality to `razercommon.c` and `razercommon.h`, and by doing so made Kbuild very unhappy, though it hid its unhappiness and eventually I found that the file names needed to be changed for it to link and export symbols properly.\r\n\r\nUpdated the packaging scripts to handle new files etc..., updated the udev scripts to support the firefly. As finicky as udev is, it works on my machine and its quite cool when it works (no manual binding :) ). \r\n\r\nToDo:\r\n* Statistics. I don't believe the keyboard tracks the number of keypresses, I think the synapse app does that but I'm going to investigate that anyway.\r\n* Add serial number to DBus.\r\n* If keypresses are not stored in the keyboard then I might adapt the daemon to do so.","created_at":"2016-01-17T20:45:10Z","updated_at":"2016-01-18T20:04:48Z","closed_at":"2016-01-18T20:04:48Z","merged_at":"2016-01-18T20:04:48Z","merge_commit_sha":"cf1c330a908c137be4918a5ded891f1574caeb66","assignee":{"login":"pez2001","id":1272595,"avatar_url":"https://avatars.githubusercontent.com/u/1272595?v=3","gravatar_id":"","url":"https://api.github.com/users/pez2001","html_url":"https://github.com/pez2001","followers_url":"https://api.github.com/users/pez2001/followers","following_url":"https://api.github.com/users/pez2001/following{/other_user}","gists_url":"https://api.github.com/users/pez2001/gists{/gist_id}","starred_url":"https://api.github.com/users/pez2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pez2001/subscriptions","organizations_url":"https://api.github.com/users/pez2001/orgs","repos_url":"https://api.github.com/users/pez2001/repos","events_url":"https://api.github.com/users/pez2001/events{/privacy}","received_events_url":"https://api.github.com/users/pez2001/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/pulls/67/commits","review_comments_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/pulls/67/comments","review_comment_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/issues/67/comments","statuses_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/statuses/fd9b91fa91b5206e426706319a6779cb8da29dd1","head":{"label":"terrycain:driver_seperation","ref":"driver_seperation","sha":"fd9b91fa91b5206e426706319a6779cb8da29dd1","user":{"login":"terrycain","id":1986397,"avatar_url":"https://avatars.githubusercontent.com/u/1986397?v=3","gravatar_id":"","url":"https://api.github.com/users/terrycain","html_url":"https://github.com/terrycain","followers_url":"https://api.github.com/users/terrycain/followers","following_url":"https://api.github.com/users/terrycain/following{/other_user}","gists_url":"https://api.github.com/users/terrycain/gists{/gist_id}","starred_url":"https://api.github.com/users/terrycain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrycain/subscriptions","organizations_url":"https://api.github.com/users/terrycain/orgs","repos_url":"https://api.github.com/users/terrycain/repos","events_url":"https://api.github.com/users/terrycain/events{/privacy}","received_events_url":"https://api.github.com/users/terrycain/received_events","type":"User","site_admin":false},"repo":{"id":45838272,"name":"razer_drivers","full_name":"terrycain/razer_drivers","owner":{"login":"terrycain","id":1986397,"avatar_url":"https://avatars.githubusercontent.com/u/1986397?v=3","gravatar_id":"","url":"https://api.github.com/users/terrycain","html_url":"https://github.com/terrycain","followers_url":"https://api.github.com/users/terrycain/followers","following_url":"https://api.github.com/users/terrycain/following{/other_user}","gists_url":"https://api.github.com/users/terrycain/gists{/gist_id}","starred_url":"https://api.github.com/users/terrycain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrycain/subscriptions","organizations_url":"https://api.github.com/users/terrycain/orgs","repos_url":"https://api.github.com/users/terrycain/repos","events_url":"https://api.github.com/users/terrycain/events{/privacy}","received_events_url":"https://api.github.com/users/terrycain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/terrycain/razer_drivers","description":"A Linux driver for the Razer Blackwidow Chroma keyboard (supports all lighting modes) includes a daemon for advanced effects","fork":true,"url":"https://api.github.com/repos/terrycain/razer_drivers","forks_url":"https://api.github.com/repos/terrycain/razer_drivers/forks","keys_url":"https://api.github.com/repos/terrycain/razer_drivers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terrycain/razer_drivers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terrycain/razer_drivers/teams","hooks_url":"https://api.github.com/repos/terrycain/razer_drivers/hooks","issue_events_url":"https://api.github.com/repos/terrycain/razer_drivers/issues/events{/number}","events_url":"https://api.github.com/repos/terrycain/razer_drivers/events","assignees_url":"https://api.github.com/repos/terrycain/razer_drivers/assignees{/user}","branches_url":"https://api.github.com/repos/terrycain/razer_drivers/branches{/branch}","tags_url":"https://api.github.com/repos/terrycain/razer_drivers/tags","blobs_url":"https://api.github.com/repos/terrycain/razer_drivers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terrycain/razer_drivers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terrycain/razer_drivers/git/refs{/sha}","trees_url":"https://api.github.com/repos/terrycain/razer_drivers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terrycain/razer_drivers/statuses/{sha}","languages_url":"https://api.github.com/repos/terrycain/razer_drivers/languages","stargazers_url":"https://api.github.com/repos/terrycain/razer_drivers/stargazers","contributors_url":"https://api.github.com/repos/terrycain/razer_drivers/contributors","subscribers_url":"https://api.github.com/repos/terrycain/razer_drivers/subscribers","subscription_url":"https://api.github.com/repos/terrycain/razer_drivers/subscription","commits_url":"https://api.github.com/repos/terrycain/razer_drivers/commits{/sha}","git_commits_url":"https://api.github.com/repos/terrycain/razer_drivers/git/commits{/sha}","comments_url":"https://api.github.com/repos/terrycain/razer_drivers/comments{/number}","issue_comment_url":"https://api.github.com/repos/terrycain/razer_drivers/issues/comments{/number}","contents_url":"https://api.github.com/repos/terrycain/razer_drivers/contents/{+path}","compare_url":"https://api.github.com/repos/terrycain/razer_drivers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terrycain/razer_drivers/merges","archive_url":"https://api.github.com/repos/terrycain/razer_drivers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terrycain/razer_drivers/downloads","issues_url":"https://api.github.com/repos/terrycain/razer_drivers/issues{/number}","pulls_url":"https://api.github.com/repos/terrycain/razer_drivers/pulls{/number}","milestones_url":"https://api.github.com/repos/terrycain/razer_drivers/milestones{/number}","notifications_url":"https://api.github.com/repos/terrycain/razer_drivers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terrycain/razer_drivers/labels{/name}","releases_url":"https://api.github.com/repos/terrycain/razer_drivers/releases{/id}","created_at":"2015-11-09T13:03:19Z","updated_at":"2016-01-11T20:10:40Z","pushed_at":"2016-01-18T19:32:52Z","git_url":"git://github.com/terrycain/razer_drivers.git","ssh_url":"git@github.com:terrycain/razer_drivers.git","clone_url":"https://github.com/terrycain/razer_drivers.git","svn_url":"https://github.com/terrycain/razer_drivers","homepage":null,"size":6696,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pez2001:master","ref":"master","sha":"db7bdc00be48f85f631bcdb3cd6665e6a05c4d8f","user":{"login":"pez2001","id":1272595,"avatar_url":"https://avatars.githubusercontent.com/u/1272595?v=3","gravatar_id":"","url":"https://api.github.com/users/pez2001","html_url":"https://github.com/pez2001","followers_url":"https://api.github.com/users/pez2001/followers","following_url":"https://api.github.com/users/pez2001/following{/other_user}","gists_url":"https://api.github.com/users/pez2001/gists{/gist_id}","starred_url":"https://api.github.com/users/pez2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pez2001/subscriptions","organizations_url":"https://api.github.com/users/pez2001/orgs","repos_url":"https://api.github.com/users/pez2001/repos","events_url":"https://api.github.com/users/pez2001/events{/privacy}","received_events_url":"https://api.github.com/users/pez2001/received_events","type":"User","site_admin":false},"repo":{"id":30506437,"name":"razer_chroma_drivers","full_name":"pez2001/razer_chroma_drivers","owner":{"login":"pez2001","id":1272595,"avatar_url":"https://avatars.githubusercontent.com/u/1272595?v=3","gravatar_id":"","url":"https://api.github.com/users/pez2001","html_url":"https://github.com/pez2001","followers_url":"https://api.github.com/users/pez2001/followers","following_url":"https://api.github.com/users/pez2001/following{/other_user}","gists_url":"https://api.github.com/users/pez2001/gists{/gist_id}","starred_url":"https://api.github.com/users/pez2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pez2001/subscriptions","organizations_url":"https://api.github.com/users/pez2001/orgs","repos_url":"https://api.github.com/users/pez2001/repos","events_url":"https://api.github.com/users/pez2001/events{/privacy}","received_events_url":"https://api.github.com/users/pez2001/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pez2001/razer_chroma_drivers","description":"A Linux driver for the Razer Blackwidow Chroma keyboard (supports all lighting modes) includes a daemon for advanced effects","fork":false,"url":"https://api.github.com/repos/pez2001/razer_chroma_drivers","forks_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/forks","keys_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/teams","hooks_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/hooks","issue_events_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/issues/events{/number}","events_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/events","assignees_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/assignees{/user}","branches_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/branches{/branch}","tags_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/tags","blobs_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/git/refs{/sha}","trees_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/statuses/{sha}","languages_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/languages","stargazers_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/stargazers","contributors_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/contributors","subscribers_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/subscribers","subscription_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/subscription","commits_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/commits{/sha}","git_commits_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/git/commits{/sha}","comments_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/comments{/number}","issue_comment_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/issues/comments{/number}","contents_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/contents/{+path}","compare_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/merges","archive_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/downloads","issues_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/issues{/number}","pulls_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/pulls{/number}","milestones_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/milestones{/number}","notifications_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/labels{/name}","releases_url":"https://api.github.com/repos/pez2001/razer_chroma_drivers/releases{/id}","created_at":"2015-02-08T21:25:59Z","updated_at":"2016-01-18T01:34:05Z","pushed_at":"2016-01-18T20:04:48Z","git_url":"git://github.com/pez2001/razer_chroma_drivers.git","ssh_url":"git@github.com:pez2001/razer_chroma_drivers.git","clone_url":"https://github.com/pez2001/razer_chroma_drivers.git","svn_url":"https://github.com/pez2001/razer_chroma_drivers","homepage":null,"size":6897,"stargazers_count":63,"watchers_count":63,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":21,"mirror_url":null,"open_issues_count":9,"forks":21,"open_issues":9,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pez2001/razer_chroma_drivers/pulls/67"},"html":{"href":"https://github.com/pez2001/razer_chroma_drivers/pull/67"},"issue":{"href":"https://api.github.com/repos/pez2001/razer_chroma_drivers/issues/67"},"comments":{"href":"https://api.github.com/repos/pez2001/razer_chroma_drivers/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/pez2001/razer_chroma_drivers/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/pez2001/razer_chroma_drivers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pez2001/razer_chroma_drivers/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/pez2001/razer_chroma_drivers/statuses/fd9b91fa91b5206e426706319a6779cb8da29dd1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pez2001","id":1272595,"avatar_url":"https://avatars.githubusercontent.com/u/1272595?v=3","gravatar_id":"","url":"https://api.github.com/users/pez2001","html_url":"https://github.com/pez2001","followers_url":"https://api.github.com/users/pez2001/followers","following_url":"https://api.github.com/users/pez2001/following{/other_user}","gists_url":"https://api.github.com/users/pez2001/gists{/gist_id}","starred_url":"https://api.github.com/users/pez2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pez2001/subscriptions","organizations_url":"https://api.github.com/users/pez2001/orgs","repos_url":"https://api.github.com/users/pez2001/repos","events_url":"https://api.github.com/users/pez2001/events{/privacy}","received_events_url":"https://api.github.com/users/pez2001/received_events","type":"User","site_admin":false},"comments":7,"review_comments":0,"commits":8,"additions":1454,"deletions":916,"changed_files":15}}