{"id":132,"date":"2009-09-19T19:01:11","date_gmt":"2009-09-20T02:01:11","guid":{"rendered":"http:\/\/mike-brinker.com\/wordpress\/?p=132"},"modified":"2009-09-19T19:01:11","modified_gmt":"2009-09-20T02:01:11","slug":"flash-and-xbox-360-controller-input","status":"publish","type":"post","link":"https:\/\/xoz.wri.temporary.site\/wordpress\/flash-and-xbox-360-controller-input\/","title":{"rendered":"Flash and Xbox 360 controller input"},"content":{"rendered":"<p><a href=\"http:\/\/projects.psibaspace.net.au\/code.php\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignleft\" src=\"https:\/\/i0.wp.com\/projects.psibaspace.net.au\/XBOX360InFlash\/xbox360flash.png?resize=402%2C256\" alt=\"\" width=\"402\" height=\"256\" \/><\/a>I found this noteworthy during work this week so I thought I might pass along the information. \u00a0Working in games and rapidly prototyping them on a PC using Flash has always brought up the difficulty of user input, which is mostly left to the keyboard and mouse. \u00a0As a game designer, it&#8217;s really necessary sometimes to use a joystick for input when testing certain types of games.<\/p>\n<p>Not too long ago, Microsoft has added support for plugging in an Xbox 360 controller into your windows enabled PC. \u00a0With a few mouse clicks, the drivers are automatically downloaded and installed. \u00a0Viola, a gamepad that works on your PC as well as your console. \u00a0But what about using it for Flash to control flash enabled games? \u00a0This has always been a problem and still continues to be a pain. \u00a0However, some smart joe has cooked up some code that allows you to use your 360 controller to it&#8217;s fullest potential in the Flash IDE. \u00a0Behold, I give you <a href=\"http:\/\/projects.psibaspace.net.au\/code.php\">Simon Joslin&#8217;s 360 gamepad server<\/a>! \u00a0This gem of software development allows for full control of all parts of the joystick in either the Flash IDE or in AS3. \u00a0He even included a sample .fla file in order to show you the commands to call in your flash scripts and to test that his work actually works! \u00a0It requires three simple things and a C# app that runs in the background. \u00a0Not too shabby. \u00a0Here&#8217;s to Simon for his work, and we are all anxiously awaiting support for using this gem while running standalone .swf&#8217;s! \u00a0That can&#8217;t come soon enough.<\/p>\n<p>And if that doesn&#8217;t float your boat, there&#8217;s always the great fall back <a href=\"http:\/\/www.electracode.com\/4\/joy2key\/JoyToKey%20English%20Version.htm\">JoytoKey<\/a> that I&#8221;ve been using for a long time now. \u00a0Program your flash app as usual with keystrokes from the keyboard&#8230;run this simple exe file called <a href=\"http:\/\/www.electracode.com\/4\/joy2key\/JoyToKey%20English%20Version.htm\">JoyToKey<\/a> and map all those keys to the buttons and viola, you have your joystick working properly (for the most part) in flash!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I found this noteworthy during work this week so I thought I might pass along the information. \u00a0Working in games and rapidly prototyping them on a PC using Flash has always brought up the difficulty of user input, which is mostly left to the keyboard and mouse. \u00a0As a game designer, it&#8217;s really necessary sometimes &hellip; <a href=\"https:\/\/xoz.wri.temporary.site\/wordpress\/flash-and-xbox-360-controller-input\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Flash and Xbox 360 controller input<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[34,7],"tags":[],"class_list":["post-132","post","type-post","status-publish","format-standard","hentry","category-development","category-tech"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3JQ0E-28","_links":{"self":[{"href":"https:\/\/xoz.wri.temporary.site\/wordpress\/wp-json\/wp\/v2\/posts\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xoz.wri.temporary.site\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xoz.wri.temporary.site\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xoz.wri.temporary.site\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xoz.wri.temporary.site\/wordpress\/wp-json\/wp\/v2\/comments?post=132"}],"version-history":[{"count":0,"href":"https:\/\/xoz.wri.temporary.site\/wordpress\/wp-json\/wp\/v2\/posts\/132\/revisions"}],"wp:attachment":[{"href":"https:\/\/xoz.wri.temporary.site\/wordpress\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xoz.wri.temporary.site\/wordpress\/wp-json\/wp\/v2\/categories?post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xoz.wri.temporary.site\/wordpress\/wp-json\/wp\/v2\/tags?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}