{"action":"created","comment":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/comments/30839861","id":30839861,"diff_hunk":"@@ -0,0 +1,405 @@\n+package flixel.input.gamepad;\n+import flixel.input.gamepad.ButtonID;\n+import flixel.input.gamepad.FlxGamepad.FlxGamepadAnalogStick;\n+import flixel.input.gamepad.FlxGamepad.GamepadModel;\n+\n+/**\n+ * ...\n+ * @author larsiusprime\n+ */\n+class ButtonIndex\n+{\n+\tpublic var model:GamepadModel;\n+\t\n+\tpublic function new(Model:GamepadModel) \n+\t{\n+\t\tmodel = Model;\n+\t}\n+\t\n+\t/**\n+\t * Given a ButtonID, return the raw hardware code\n+\t * @param\tbuttonID the \"universal\" ButtonID\n+\t * @return\tthe raw hardware code\n+\t */\n+\t\n+\tpublic function getRaw(buttonID:ButtonID):Int\n+\t{\n+\t\treturn switch(model)\n+\t\t{\n+\t\t\tcase Logitech: getRawLogitech(buttonID);\n+\t\t\tcase OUYA: getRawOUYA(buttonID);\n+\t\t\tcase PS3: getRawPS3(buttonID);\n+\t\t\tcase PS4: getRawPS4(buttonID);\n+\t\t\tcase Xbox: getRawXbox(buttonID);\n+\t\t\tcase XInput: getRawXInput(buttonID);\n+\t\t\tdefault: -1;\n+\t\t}\n+\t}\n+\t\n+\t/**\n+\t * Given a raw hardware code, return the \"universal\" ButtonID\n+\t * @param\tRawID\tthe raw hardware code\n+\t * @return\tthe \"universal\" ButtonID\n+\t */\n+\t\n+\tpublic function getBtn(RawID:Int):ButtonID\n+\t{\n+\t\treturn switch(model)\n+\t\t{\n+\t\t\tcase Logitech: getBtnLogitech(RawID);\n+\t\t\tcase OUYA: getBtnOUYA(RawID);\n+\t\t\tcase PS3: getBtnPS3(RawID);\n+\t\t\tcase PS4: getBtnPS4(RawID);\n+\t\t\tcase Xbox: getBtnXbox(RawID);\n+\t\t\tcase XInput: getBtnXInput(RawID);\n+\t\t\tdefault: NONE;\n+\t\t}\n+\t}\n+\t\n+\t/**\n+\t * Given a ButtonID, return the raw AnalogStick axes data structure\n+\t * @param\tbuttonID\tthe \"universal\" ButtonID\n+\t * @return\tstructure containing raw analog stick axes integer codes\n+\t */\n+\t\n+\tpublic function getRawAnalogStick(buttonID:ButtonID):FlxGamepadAnalogStick\n+\t{\n+\t\tif (buttonID == ButtonID.LEFT_ANALOG_STICK)\n+\t\t{\n+\t\t\treturn switch(model)\n+\t\t\t{\n+\t\t\t\tcase Logitech: LogitechButtonID.LEFT_ANALOG_STICK;\n+\t\t\t\tcase OUYA: OUYAButtonID.LEFT_ANALOG_STICK;\n+\t\t\t\tcase PS3: PS3ButtonID.LEFT_ANALOG_STICK;\n+\t\t\t\tcase PS4: PS4ButtonID.LEFT_ANALOG_STICK;\n+\t\t\t\tcase Xbox: XboxButtonID.LEFT_ANALOG_STICK;\n+\t\t\t\tcase XInput: XInputButtonID.LEFT_ANALOG_STICK;\n+\t\t\t\tdefault: null;\n+\t\t\t}\n+\t\t}\n+\t\tif (buttonID == ButtonID.RIGHT_ANALOG_STICK)\n+\t\t{\n+\t\t\treturn switch(model)\n+\t\t\t{\n+\t\t\t\tcase Logitech: LogitechButtonID.RIGHT_ANALOG_STICK;\n+\t\t\t\tcase OUYA: OUYAButtonID.RIGHT_ANALOG_STICK;\n+\t\t\t\tcase PS3: PS3ButtonID.RIGHT_ANALOG_STICK;\n+\t\t\t\tcase PS4: PS4ButtonID.RIGHT_ANALOG_STICK;\n+\t\t\t\tcase Xbox: XboxButtonID.RIGHT_ANALOG_STICK;\n+\t\t\t\tcase XInput: XInputButtonID.RIGHT_ANALOG_STICK;\n+\t\t\t\tdefault: null;\n+\t\t\t}\n+\t\t}\n+\t\treturn null;\n+\t}\n+\t\n+\t/*****************************************/\n+\t\n+\tpublic inline function getRawOUYA(buttonID:ButtonID):Int\n+\t{\n+\t\treturn switch(buttonID)\n+\t\t{\n+\t\t\tcase A: OUYAButtonID.O;\n+\t\t\tcase B: OUYAButtonID.A;\n+\t\t\tcase X: OUYAButtonID.U;\n+\t\t\tcase Y: OUYAButtonID.Y;\n+\t\t\tcase GUIDE: OUYAButtonID.HOME;\n+\t\t\tcase LEFT_STICK_BTN: OUYAButtonID.LEFT_STICK_BTN;\n+\t\t\tcase RIGHT_STICK_BTN: OUYAButtonID.RIGHT_STICK_BTN;\n+\t\t\tcase LEFT_SHOULDER: OUYAButtonID.LB;\n+\t\t\tcase RIGHT_SHOULDER: OUYAButtonID.RB;\n+\t\t\t//case BACK:\n+\t\t\t//case START:\n+\t\t\t//case DPAD_UP:\n+\t\t\t//case DPAD_DOWN:\n+\t\t\t//case DPAD_LEFT:\n+\t\t\t//case DPAD_RIGHT:\n+\t\t\tdefault: -1;\n+\t\t}\n+\t}\n+\t\n+\tpublic inline function getRawLogitech(buttonID:ButtonID):Int\n+\t{\n+\t\treturn switch(buttonID)\n+\t\t{\n+\t\t\tcase A: LogitechButtonID.TWO;\n+\t\t\tcase B: LogitechButtonID.THREE;\n+\t\t\tcase X: LogitechButtonID.ONE;\n+\t\t\tcase Y: LogitechButtonID.FOUR;\n+\t\t\tcase BACK: LogitechButtonID.NINE;\n+\t\t\tcase START: LogitechButtonID.TEN;\n+\t\t\tcase LEFT_STICK_BTN: LogitechButtonID.LEFT_STICK_BTN;\n+\t\t\tcase RIGHT_STICK_BTN: LogitechButtonID.RIGHT_STICK_BTN;\n+\t\t\tcase LEFT_SHOULDER: LogitechButtonID.FIVE;\n+\t\t\tcase RIGHT_SHOULDER: LogitechButtonID.SIX;\n+\t\t\tcase LEFT_TRIGGER: LogitechButtonID.SEVEN;\n+\t\t\tcase RIGHT_TRIGGER: LogitechButtonID.EIGHT;\n+\t\t\t//case DPAD_UP: \n+\t\t\t//case DPAD_DOWN: \n+\t\t\t//case DPAD_LEFT: \n+\t\t\t//case DPAD_RIGHT: \n+\t\t\t//case GUIDE:\n+\t\t\tdefault: -1;\n+\t\t}\n+\t}\n+\t\n+\tpublic inline function getRawPS4(buttonID:ButtonID):Int\n+\t{\n+\t\treturn switch(buttonID)\n+\t\t{\n+\t\t\tcase A: PS4ButtonID.X;\n+\t\t\tcase B: PS4ButtonID.CIRCLE;\n+\t\t\tcase X: PS4ButtonID.SQUARE;\n+\t\t\tcase Y: PS4ButtonID.TRIANGLE;\n+\t\t\tcase BACK: PS4ButtonID.SELECT;\n+\t\t\tcase GUIDE: PS4ButtonID.PS;\n+\t\t\tcase START: PS4ButtonID.START;\n+\t\t\tcase LEFT_STICK_BTN: PS4ButtonID.LEFT_STICK_BTN;\n+\t\t\tcase RIGHT_STICK_BTN: PS4ButtonID.RIGHT_STICK_BTN;\n+\t\t\tcase LEFT_SHOULDER: PS4ButtonID.L1;\n+\t\t\tcase RIGHT_SHOULDER: PS4ButtonID.R1;\n+\t\t\tcase LEFT_TRIGGER: PS4ButtonID.L2;\n+\t\t\tcase RIGHT_TRIGGER: PS4ButtonID.R2;\n+\t\t\t//case DPAD_UP: \n+\t\t\t//case DPAD_DOWN: \n+\t\t\t//case DPAD_LEFT: \n+\t\t\t//case DPAD_RIGHT: \n+\t\t\tdefault: -1;\n+\t\t}\n+\t}\n+\t\n+\tpublic inline function getRawPS3(buttonID:ButtonID):Int\n+\t{\n+\t\treturn switch(buttonID)\n+\t\t{\n+\t\t\tcase A: PS3ButtonID.X;\n+\t\t\tcase B: PS3ButtonID.CIRCLE;\n+\t\t\tcase X: PS3ButtonID.SQUARE;\n+\t\t\tcase Y: PS3ButtonID.TRIANGLE;\n+\t\t\tcase BACK: PS3ButtonID.SELECT;\n+\t\t\tcase GUIDE: PS3ButtonID.PS;\n+\t\t\tcase START: PS3ButtonID.START;\n+\t\t\tcase LEFT_STICK_BTN: PS3ButtonID.LEFT_STICK_BTN;\n+\t\t\tcase RIGHT_STICK_BTN: PS3ButtonID.RIGHT_STICK_BTN;\n+\t\t\tcase LEFT_SHOULDER: PS3ButtonID.L1;\n+\t\t\tcase RIGHT_SHOULDER: PS3ButtonID.R1;\n+\t\t\tcase LEFT_TRIGGER: PS3ButtonID.L2;\n+\t\t\tcase RIGHT_TRIGGER: PS3ButtonID.R2;\n+\t\t\tcase DPAD_UP: PS3ButtonID.DPAD_UP;\n+\t\t\tcase DPAD_DOWN: PS3ButtonID.DPAD_DOWN;\n+\t\t\tcase DPAD_LEFT: PS3ButtonID.DPAD_LEFT;\n+\t\t\tcase DPAD_RIGHT: PS3ButtonID.DPAD_RIGHT;\n+\t\t\tdefault: -1;\n+\t\t}\n+\t}\n+\t\n+\tpublic inline function getRawXbox(buttonID:ButtonID):Int\n+\t{\n+\t\treturn switch(buttonID)\n+\t\t{\n+\t\t\tcase A: XboxButtonID.A;\n+\t\t\tcase B: XboxButtonID.B;\n+\t\t\tcase X: XboxButtonID.X;\n+\t\t\tcase Y: XboxButtonID.Y;\n+\t\t\tcase BACK: XboxButtonID.BACK;\n+\t\t\tcase GUIDE: XboxButtonID.XBOX;\n+\t\t\tcase START: XboxButtonID.START;\n+\t\t\tcase LEFT_STICK_BTN: XboxButtonID.LEFT_STICK_BTN;\n+\t\t\tcase RIGHT_STICK_BTN: XboxButtonID.RIGHT_STICK_BTN;\n+\t\t\tcase LEFT_SHOULDER: XboxButtonID.LB;\n+\t\t\tcase RIGHT_SHOULDER: XboxButtonID.RB;\n+\t\t\tcase DPAD_UP: XboxButtonID.DPAD_UP;\n+\t\t\tcase DPAD_DOWN: XboxButtonID.DPAD_DOWN;\n+\t\t\tcase DPAD_LEFT: XboxButtonID.DPAD_LEFT;\n+\t\t\tcase DPAD_RIGHT: XboxButtonID.DPAD_RIGHT;\n+\t\t\t\n+\t\t\tcase LEFT_TRIGGER:  XboxButtonID.LEFT_TRIGGER;\n+\t\t\tcase RIGHT_TRIGGER: XboxButtonID.RIGHT_TRIGGER;\n+\t\t\t\n+\t\t\tdefault: -1;\n+\t\t}\n+\t}\n+\t\n+\tpublic inline function getRawXInput(buttonID:ButtonID):Int\n+\t{\n+\t\treturn switch(buttonID)\n+\t\t{\n+\t\t\tcase A: XInputButtonID.A;\n+\t\t\tcase B: XInputButtonID.B;\n+\t\t\tcase X: XInputButtonID.X;\n+\t\t\tcase Y: XInputButtonID.Y;\n+\t\t\tcase BACK: XInputButtonID.BACK;\n+\t\t\tcase GUIDE: XInputButtonID.GUIDE;\n+\t\t\tcase START: XInputButtonID.START;\n+\t\t\tcase LEFT_STICK_BTN: XInputButtonID.LEFT_STICK_BTN;\n+\t\t\tcase RIGHT_STICK_BTN: XInputButtonID.RIGHT_STICK_BTN;\n+\t\t\tcase LEFT_SHOULDER: XInputButtonID.LB;\n+\t\t\tcase RIGHT_SHOULDER: XInputButtonID.RB;\n+\t\t\tcase DPAD_UP: XInputButtonID.DPAD_UP;\n+\t\t\tcase DPAD_DOWN: XInputButtonID.DPAD_DOWN;\n+\t\t\tcase DPAD_LEFT: XInputButtonID.DPAD_LEFT;\n+\t\t\tcase DPAD_RIGHT: XInputButtonID.DPAD_RIGHT;\n+\t\t\t\n+\t\t\tcase LEFT_TRIGGER: XInputButtonID.LEFT_TRIGGER;\n+\t\t\tcase RIGHT_TRIGGER: XInputButtonID.RIGHT_TRIGGER;\n+\t\t\t\n+\t\t\t//case LEFT_TRIGGER: \n+\t\t\t//case RIGHT_TRIGGER: \n+\t\t\tdefault: -1;\n+\t\t}\n+\t}\n+\t\n+\t/**************/\n+\t\n+\tpublic inline function getBtnOUYA(rawID:Int):ButtonID\n+\t{\n+\t\treturn switch(rawID)\n+\t\t{\n+\t\t\tcase OUYAButtonID.O: A;\n+\t\t\tcase OUYAButtonID.A: B;\n+\t\t\tcase OUYAButtonID.U: X;\n+\t\t\tcase OUYAButtonID.Y: Y;\n+\t\t\tcase OUYAButtonID.HOME: GUIDE;\n+\t\t\tcase OUYAButtonID.LEFT_STICK_BTN: LEFT_STICK_BTN;\n+\t\t\tcase OUYAButtonID.RIGHT_STICK_BTN: RIGHT_STICK_BTN;\n+\t\t\tcase OUYAButtonID.LB: LEFT_SHOULDER;\n+\t\t\tcase OUYAButtonID.RB: RIGHT_SHOULDER;\n+\t\t\t//case BACK:\n+\t\t\t//case START:\n+\t\t\t//case DPAD_UP:\n+\t\t\t//case DPAD_DOWN:\n+\t\t\t//case DPAD_LEFT:\n+\t\t\t//case DPAD_RIGHT:\n+\t\t\tdefault: NONE;\n+\t\t}\n+\t}\n+\t\n+\tpublic inline function getBtnLogitech(rawID:Int):ButtonID\n+\t{\n+\t\treturn switch(rawID)\n+\t\t{\n+\t\t\tcase LogitechButtonID.TWO: A;\n+\t\t\tcase LogitechButtonID.THREE: B;\n+\t\t\tcase LogitechButtonID.ONE: X;\n+\t\t\tcase LogitechButtonID.FOUR: Y;\n+\t\t\tcase LogitechButtonID.NINE: BACK;\n+\t\t\tcase LogitechButtonID.TEN: START;\n+\t\t\tcase LogitechButtonID.LEFT_STICK_BTN: LEFT_STICK_BTN;\n+\t\t\tcase LogitechButtonID.RIGHT_STICK_BTN: RIGHT_STICK_BTN;\n+\t\t\tcase LogitechButtonID.FIVE: LEFT_SHOULDER;\n+\t\t\tcase LogitechButtonID.SIX: RIGHT_SHOULDER;\n+\t\t\tcase LogitechButtonID.SEVEN: LEFT_TRIGGER;\n+\t\t\tcase LogitechButtonID.EIGHT: RIGHT_TRIGGER;\n+\t\t\t//case DPAD_UP: ","path":"flixel/input/gamepad/ButtonIndex.hx","position":286,"original_position":293,"commit_id":"ee718cdaa2668de1fa173cc472d1834adc1b9eb1","original_commit_id":"3ffc0d31e8f8c21ae926fbf4e75013b7f642a562","user":{"login":"Gama11","id":2620907,"avatar_url":"https://avatars.githubusercontent.com/u/2620907?v=3","gravatar_id":"","url":"https://api.github.com/users/Gama11","html_url":"https://github.com/Gama11","followers_url":"https://api.github.com/users/Gama11/followers","following_url":"https://api.github.com/users/Gama11/following{/other_user}","gists_url":"https://api.github.com/users/Gama11/gists{/gist_id}","starred_url":"https://api.github.com/users/Gama11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gama11/subscriptions","organizations_url":"https://api.github.com/users/Gama11/orgs","repos_url":"https://api.github.com/users/Gama11/repos","events_url":"https://api.github.com/users/Gama11/events{/privacy}","received_events_url":"https://api.github.com/users/Gama11/received_events","type":"User","site_admin":false},"body":"I have one if you need someone to test something.","created_at":"2015-05-21T19:48:22Z","updated_at":"2015-05-21T19:48:22Z","html_url":"https://github.com/HaxeFlixel/flixel/pull/1502#discussion_r30839861","pull_request_url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1502","_links":{"self":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/comments/30839861"},"html":{"href":"https://github.com/HaxeFlixel/flixel/pull/1502#discussion_r30839861"},"pull_request":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1502"}}},"pull_request":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1502","id":35964513,"html_url":"https://github.com/HaxeFlixel/flixel/pull/1502","diff_url":"https://github.com/HaxeFlixel/flixel/pull/1502.diff","patch_url":"https://github.com/HaxeFlixel/flixel/pull/1502.patch","issue_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1502","number":1502,"state":"open","locked":false,"title":"Gamepadfix2","user":{"login":"larsiusprime","id":739064,"avatar_url":"https://avatars.githubusercontent.com/u/739064?v=3","gravatar_id":"","url":"https://api.github.com/users/larsiusprime","html_url":"https://github.com/larsiusprime","followers_url":"https://api.github.com/users/larsiusprime/followers","following_url":"https://api.github.com/users/larsiusprime/following{/other_user}","gists_url":"https://api.github.com/users/larsiusprime/gists{/gist_id}","starred_url":"https://api.github.com/users/larsiusprime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsiusprime/subscriptions","organizations_url":"https://api.github.com/users/larsiusprime/orgs","repos_url":"https://api.github.com/users/larsiusprime/repos","events_url":"https://api.github.com/users/larsiusprime/events{/privacy}","received_events_url":"https://api.github.com/users/larsiusprime/received_events","type":"User","site_admin":false},"body":"Updates the Gamepad API so that it works consistently on legacy, flash, and next. Only tested on windows with a single XBOX 360 pad, but should be a solid foundation. Comments/critique welcome!","created_at":"2015-05-21T18:43:16Z","updated_at":"2015-05-21T19:48:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ba7a7bf2fa76df8a1f07dbef8a0fb06a03f3c6f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1502/commits","review_comments_url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1502/comments","review_comment_url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1502/comments","statuses_url":"https://api.github.com/repos/HaxeFlixel/flixel/statuses/ee718cdaa2668de1fa173cc472d1834adc1b9eb1","head":{"label":"larsiusprime:gamepadfix2","ref":"gamepadfix2","sha":"ee718cdaa2668de1fa173cc472d1834adc1b9eb1","user":{"login":"larsiusprime","id":739064,"avatar_url":"https://avatars.githubusercontent.com/u/739064?v=3","gravatar_id":"","url":"https://api.github.com/users/larsiusprime","html_url":"https://github.com/larsiusprime","followers_url":"https://api.github.com/users/larsiusprime/followers","following_url":"https://api.github.com/users/larsiusprime/following{/other_user}","gists_url":"https://api.github.com/users/larsiusprime/gists{/gist_id}","starred_url":"https://api.github.com/users/larsiusprime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsiusprime/subscriptions","organizations_url":"https://api.github.com/users/larsiusprime/orgs","repos_url":"https://api.github.com/users/larsiusprime/repos","events_url":"https://api.github.com/users/larsiusprime/events{/privacy}","received_events_url":"https://api.github.com/users/larsiusprime/received_events","type":"User","site_admin":false},"repo":{"id":33733461,"name":"haxeflixel","full_name":"larsiusprime/haxeflixel","owner":{"login":"larsiusprime","id":739064,"avatar_url":"https://avatars.githubusercontent.com/u/739064?v=3","gravatar_id":"","url":"https://api.github.com/users/larsiusprime","html_url":"https://github.com/larsiusprime","followers_url":"https://api.github.com/users/larsiusprime/followers","following_url":"https://api.github.com/users/larsiusprime/following{/other_user}","gists_url":"https://api.github.com/users/larsiusprime/gists{/gist_id}","starred_url":"https://api.github.com/users/larsiusprime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsiusprime/subscriptions","organizations_url":"https://api.github.com/users/larsiusprime/orgs","repos_url":"https://api.github.com/users/larsiusprime/repos","events_url":"https://api.github.com/users/larsiusprime/events{/privacy}","received_events_url":"https://api.github.com/users/larsiusprime/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/larsiusprime/haxeflixel","description":"Free, cross-platform 2D game engine powered by Haxe and OpenFL","fork":true,"url":"https://api.github.com/repos/larsiusprime/haxeflixel","forks_url":"https://api.github.com/repos/larsiusprime/haxeflixel/forks","keys_url":"https://api.github.com/repos/larsiusprime/haxeflixel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/larsiusprime/haxeflixel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/larsiusprime/haxeflixel/teams","hooks_url":"https://api.github.com/repos/larsiusprime/haxeflixel/hooks","issue_events_url":"https://api.github.com/repos/larsiusprime/haxeflixel/issues/events{/number}","events_url":"https://api.github.com/repos/larsiusprime/haxeflixel/events","assignees_url":"https://api.github.com/repos/larsiusprime/haxeflixel/assignees{/user}","branches_url":"https://api.github.com/repos/larsiusprime/haxeflixel/branches{/branch}","tags_url":"https://api.github.com/repos/larsiusprime/haxeflixel/tags","blobs_url":"https://api.github.com/repos/larsiusprime/haxeflixel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/larsiusprime/haxeflixel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/larsiusprime/haxeflixel/git/refs{/sha}","trees_url":"https://api.github.com/repos/larsiusprime/haxeflixel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/larsiusprime/haxeflixel/statuses/{sha}","languages_url":"https://api.github.com/repos/larsiusprime/haxeflixel/languages","stargazers_url":"https://api.github.com/repos/larsiusprime/haxeflixel/stargazers","contributors_url":"https://api.github.com/repos/larsiusprime/haxeflixel/contributors","subscribers_url":"https://api.github.com/repos/larsiusprime/haxeflixel/subscribers","subscription_url":"https://api.github.com/repos/larsiusprime/haxeflixel/subscription","commits_url":"https://api.github.com/repos/larsiusprime/haxeflixel/commits{/sha}","git_commits_url":"https://api.github.com/repos/larsiusprime/haxeflixel/git/commits{/sha}","comments_url":"https://api.github.com/repos/larsiusprime/haxeflixel/comments{/number}","issue_comment_url":"https://api.github.com/repos/larsiusprime/haxeflixel/issues/comments{/number}","contents_url":"https://api.github.com/repos/larsiusprime/haxeflixel/contents/{+path}","compare_url":"https://api.github.com/repos/larsiusprime/haxeflixel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/larsiusprime/haxeflixel/merges","archive_url":"https://api.github.com/repos/larsiusprime/haxeflixel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/larsiusprime/haxeflixel/downloads","issues_url":"https://api.github.com/repos/larsiusprime/haxeflixel/issues{/number}","pulls_url":"https://api.github.com/repos/larsiusprime/haxeflixel/pulls{/number}","milestones_url":"https://api.github.com/repos/larsiusprime/haxeflixel/milestones{/number}","notifications_url":"https://api.github.com/repos/larsiusprime/haxeflixel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/larsiusprime/haxeflixel/labels{/name}","releases_url":"https://api.github.com/repos/larsiusprime/haxeflixel/releases{/id}","created_at":"2015-04-10T14:41:26Z","updated_at":"2015-05-01T21:55:57Z","pushed_at":"2015-05-21T19:44:23Z","git_url":"git://github.com/larsiusprime/haxeflixel.git","ssh_url":"git@github.com:larsiusprime/haxeflixel.git","clone_url":"https://github.com/larsiusprime/haxeflixel.git","svn_url":"https://github.com/larsiusprime/haxeflixel","homepage":"http://www.haxeflixel.com/","size":17274,"stargazers_count":0,"watchers_count":0,"language":"Haxe","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"HaxeFlixel:dev","ref":"dev","sha":"f5c687d1715becf67022e4978ec1d8c25cfdaed9","user":{"login":"HaxeFlixel","id":4309553,"avatar_url":"https://avatars.githubusercontent.com/u/4309553?v=3","gravatar_id":"","url":"https://api.github.com/users/HaxeFlixel","html_url":"https://github.com/HaxeFlixel","followers_url":"https://api.github.com/users/HaxeFlixel/followers","following_url":"https://api.github.com/users/HaxeFlixel/following{/other_user}","gists_url":"https://api.github.com/users/HaxeFlixel/gists{/gist_id}","starred_url":"https://api.github.com/users/HaxeFlixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaxeFlixel/subscriptions","organizations_url":"https://api.github.com/users/HaxeFlixel/orgs","repos_url":"https://api.github.com/users/HaxeFlixel/repos","events_url":"https://api.github.com/users/HaxeFlixel/events{/privacy}","received_events_url":"https://api.github.com/users/HaxeFlixel/received_events","type":"Organization","site_admin":false},"repo":{"id":2101031,"name":"flixel","full_name":"HaxeFlixel/flixel","owner":{"login":"HaxeFlixel","id":4309553,"avatar_url":"https://avatars.githubusercontent.com/u/4309553?v=3","gravatar_id":"","url":"https://api.github.com/users/HaxeFlixel","html_url":"https://github.com/HaxeFlixel","followers_url":"https://api.github.com/users/HaxeFlixel/followers","following_url":"https://api.github.com/users/HaxeFlixel/following{/other_user}","gists_url":"https://api.github.com/users/HaxeFlixel/gists{/gist_id}","starred_url":"https://api.github.com/users/HaxeFlixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaxeFlixel/subscriptions","organizations_url":"https://api.github.com/users/HaxeFlixel/orgs","repos_url":"https://api.github.com/users/HaxeFlixel/repos","events_url":"https://api.github.com/users/HaxeFlixel/events{/privacy}","received_events_url":"https://api.github.com/users/HaxeFlixel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HaxeFlixel/flixel","description":"Free, cross-platform 2D game engine powered by Haxe and OpenFL","fork":false,"url":"https://api.github.com/repos/HaxeFlixel/flixel","forks_url":"https://api.github.com/repos/HaxeFlixel/flixel/forks","keys_url":"https://api.github.com/repos/HaxeFlixel/flixel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HaxeFlixel/flixel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HaxeFlixel/flixel/teams","hooks_url":"https://api.github.com/repos/HaxeFlixel/flixel/hooks","issue_events_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/events{/number}","events_url":"https://api.github.com/repos/HaxeFlixel/flixel/events","assignees_url":"https://api.github.com/repos/HaxeFlixel/flixel/assignees{/user}","branches_url":"https://api.github.com/repos/HaxeFlixel/flixel/branches{/branch}","tags_url":"https://api.github.com/repos/HaxeFlixel/flixel/tags","blobs_url":"https://api.github.com/repos/HaxeFlixel/flixel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HaxeFlixel/flixel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HaxeFlixel/flixel/git/refs{/sha}","trees_url":"https://api.github.com/repos/HaxeFlixel/flixel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HaxeFlixel/flixel/statuses/{sha}","languages_url":"https://api.github.com/repos/HaxeFlixel/flixel/languages","stargazers_url":"https://api.github.com/repos/HaxeFlixel/flixel/stargazers","contributors_url":"https://api.github.com/repos/HaxeFlixel/flixel/contributors","subscribers_url":"https://api.github.com/repos/HaxeFlixel/flixel/subscribers","subscription_url":"https://api.github.com/repos/HaxeFlixel/flixel/subscription","commits_url":"https://api.github.com/repos/HaxeFlixel/flixel/commits{/sha}","git_commits_url":"https://api.github.com/repos/HaxeFlixel/flixel/git/commits{/sha}","comments_url":"https://api.github.com/repos/HaxeFlixel/flixel/comments{/number}","issue_comment_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/comments{/number}","contents_url":"https://api.github.com/repos/HaxeFlixel/flixel/contents/{+path}","compare_url":"https://api.github.com/repos/HaxeFlixel/flixel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HaxeFlixel/flixel/merges","archive_url":"https://api.github.com/repos/HaxeFlixel/flixel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HaxeFlixel/flixel/downloads","issues_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues{/number}","pulls_url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls{/number}","milestones_url":"https://api.github.com/repos/HaxeFlixel/flixel/milestones{/number}","notifications_url":"https://api.github.com/repos/HaxeFlixel/flixel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HaxeFlixel/flixel/labels{/name}","releases_url":"https://api.github.com/repos/HaxeFlixel/flixel/releases{/id}","created_at":"2011-07-25T13:12:48Z","updated_at":"2015-05-19T20:52:45Z","pushed_at":"2015-05-21T19:44:23Z","git_url":"git://github.com/HaxeFlixel/flixel.git","ssh_url":"git@github.com:HaxeFlixel/flixel.git","clone_url":"https://github.com/HaxeFlixel/flixel.git","svn_url":"https://github.com/HaxeFlixel/flixel","homepage":"http://www.haxeflixel.com/","size":36012,"stargazers_count":703,"watchers_count":703,"language":"Haxe","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":171,"mirror_url":null,"open_issues_count":123,"forks":171,"open_issues":123,"watchers":703,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1502"},"html":{"href":"https://github.com/HaxeFlixel/flixel/pull/1502"},"issue":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1502"},"comments":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1502/comments"},"review_comments":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1502/comments"},"review_comment":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1502/commits"},"statuses":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/statuses/ee718cdaa2668de1fa173cc472d1834adc1b9eb1"}}}}