{"id":558,"date":"2007-07-26T11:33:56","date_gmt":"2007-07-26T18:33:56","guid":{"rendered":"http:\/\/www.latenightsw.com\/blogfs5\/?p=3"},"modified":"2012-05-05T18:36:42","modified_gmt":"2012-05-06T01:36:42","slug":"appleremote-plugin","status":"publish","type":"post","link":"http:\/\/markalldritt.com\/?p=558","title":{"rendered":"AppleRemote Plugin"},"content":{"rendered":"<p>Here&#8217;s a FaceSpan plugin that lets your FaceSpan projects respond to commands from the Apple Remote that ships with many of the current Mac models:<\/p>\n\n<p><img id=\"image9\" src=\"http:\/\/blog.latenightsw.com\/wp-content\/uploads\/2007\/07\/appleremote.png\" alt=\"AppleRemote\" \/><\/p>\n\n<p><a id=\"p27\" href=\"http:\/\/blog.latenightsw.com\/wp-content\/uploads\/2007\/07\/appleremote.zip\">AppleRemote Example &amp; Plugin<\/a><\/p>\n\n<p>Installing:<\/p>\n\n<p>Follow these steps to install the Apple Remote plugin:<\/p>\n\n<ol>\n<li>expand the AppleRemote.zip archive<\/li>\n<li>move the resulting Apple Remote.fsplugin to the ~\/Library\/Application Support\/FaceSpan 5\/Plug-ins folder<\/li>\n<li>Quit and relaunch FaceSpan<\/li>\n<\/ol>\n\n<p>To use Apple Remote:<\/p>\n\n<p>The example project included with the plugin illustrates how to respond to events from the Apple Remote.  In summary, you must do the following to use the Apple Remote plugin:<\/p>\n\n<ol>\n<li>Drag an instance of the Apple Remote object from the Library inspector to your project (Other group)<\/li>\n<li>Somewhere in your code, you must tell the Apple Remote object to &#8216;start&#8217;.  This causes the object to start listening to the Apple Remote (and prevents other applications &#8212; Front Row &#8212; from receiving Apple Remote events).<\/li>\n<li>Implement a &#8216;did operate Apple remote&#8217; event handler or listen for &#8220;AppleRemote_Operated&#8221; broadcasts.<\/li>\n<\/ol>\n\n<p>The source code for this plugin is included in the FaceSpan 5.0d40 SDK.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a FaceSpan plugin that lets your FaceSpan projects respond to commands from the Apple Remote that ships with many of the current Mac models:&#8230;<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"http:\/\/markalldritt.com\/?p=558\">Continue Reading<span class=\"screen-reader-text\">AppleRemote Plugin<\/span><\/a><\/div><\/p>","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_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[10],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7AQk-90","_links":{"self":[{"href":"http:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/posts\/558"}],"collection":[{"href":"http:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/markalldritt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=558"}],"version-history":[{"count":2,"href":"http:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/posts\/558\/revisions"}],"predecessor-version":[{"id":618,"href":"http:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/posts\/558\/revisions\/618"}],"wp:attachment":[{"href":"http:\/\/markalldritt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/markalldritt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=558"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/markalldritt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}