{"action":"created","issue":{"url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/179","labels_url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/179/comments","events_url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/179/events","html_url":"https://github.com/jodeleeuw/jsPsych/pull/179","id":107449220,"number":179,"title":"Added mouse click response support to jspsych-single-stim.","user":{"login":"daniel-aguilar","id":14539208,"avatar_url":"https://avatars.githubusercontent.com/u/14539208?v=3","gravatar_id":"","url":"https://api.github.com/users/daniel-aguilar","html_url":"https://github.com/daniel-aguilar","followers_url":"https://api.github.com/users/daniel-aguilar/followers","following_url":"https://api.github.com/users/daniel-aguilar/following{/other_user}","gists_url":"https://api.github.com/users/daniel-aguilar/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-aguilar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-aguilar/subscriptions","organizations_url":"https://api.github.com/users/daniel-aguilar/orgs","repos_url":"https://api.github.com/users/daniel-aguilar/repos","events_url":"https://api.github.com/users/daniel-aguilar/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-aguilar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jodeleeuw/jsPsych/labels/plugin-modification","name":"plugin-modification","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jodeleeuw/jsPsych/milestones/6","html_url":"https://github.com/jodeleeuw/jsPsych/milestones/4.4","labels_url":"https://api.github.com/repos/jodeleeuw/jsPsych/milestones/6/labels","id":1212950,"number":6,"title":"4.4","description":"","creator":{"login":"jodeleeuw","id":595524,"avatar_url":"https://avatars.githubusercontent.com/u/595524?v=3","gravatar_id":"","url":"https://api.github.com/users/jodeleeuw","html_url":"https://github.com/jodeleeuw","followers_url":"https://api.github.com/users/jodeleeuw/followers","following_url":"https://api.github.com/users/jodeleeuw/following{/other_user}","gists_url":"https://api.github.com/users/jodeleeuw/gists{/gist_id}","starred_url":"https://api.github.com/users/jodeleeuw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodeleeuw/subscriptions","organizations_url":"https://api.github.com/users/jodeleeuw/orgs","repos_url":"https://api.github.com/users/jodeleeuw/repos","events_url":"https://api.github.com/users/jodeleeuw/events{/privacy}","received_events_url":"https://api.github.com/users/jodeleeuw/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":12,"state":"open","created_at":"2015-07-17T13:49:16Z","updated_at":"2015-12-08T14:26:02Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-09-21T06:01:50Z","updated_at":"2015-12-08T14:43:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jodeleeuw/jsPsych/pulls/179","html_url":"https://github.com/jodeleeuw/jsPsych/pull/179","diff_url":"https://github.com/jodeleeuw/jsPsych/pull/179.diff","patch_url":"https://github.com/jodeleeuw/jsPsych/pull/179.patch"},"body":"I slightly modified the jspsych-single-stim plugin, so it can recieve a mouse click as a response.\r\n\r\nBased on the following forum post: https://groups.google.com/forum/#!searchin/jspsych/mouse/jspsych/M3h7GTZu4Ow/4N_82fenBwAJ."},"comment":{"url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/comments/162902652","html_url":"https://github.com/jodeleeuw/jsPsych/pull/179#issuecomment-162902652","issue_url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/179","id":162902652,"user":{"login":"jodeleeuw","id":595524,"avatar_url":"https://avatars.githubusercontent.com/u/595524?v=3","gravatar_id":"","url":"https://api.github.com/users/jodeleeuw","html_url":"https://github.com/jodeleeuw","followers_url":"https://api.github.com/users/jodeleeuw/followers","following_url":"https://api.github.com/users/jodeleeuw/following{/other_user}","gists_url":"https://api.github.com/users/jodeleeuw/gists{/gist_id}","starred_url":"https://api.github.com/users/jodeleeuw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodeleeuw/subscriptions","organizations_url":"https://api.github.com/users/jodeleeuw/orgs","repos_url":"https://api.github.com/users/jodeleeuw/repos","events_url":"https://api.github.com/users/jodeleeuw/events{/privacy}","received_events_url":"https://api.github.com/users/jodeleeuw/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T14:43:26Z","updated_at":"2015-12-08T14:43:26Z","body":"I'm finally getting around to merging this in. \r\n\r\nIt seems like the behavior should be that the mouse and keyboard are independent. You can listen for a keyboard response and/or a click. If the `choices` parameter is set to 'none' (or `false`... this should probably be added as a more obvious way of disallowing keyboard responses), then the mouse listener should still be able to respond. \r\n\r\nThe mouse listener should also respect the `response_ends_trial` parameter.\r\n\r\nIf you do update this, when you open the new pull request can you target the `dev` branch? \r\n"}}