{"id":82,"date":"2022-07-22T17:28:59","date_gmt":"2022-07-22T17:28:59","guid":{"rendered":"http:\/\/bechele.de\/?page_id=82"},"modified":"2022-12-02T17:00:12","modified_gmt":"2022-12-02T17:00:12","slug":"update-for-gamepad-use","status":"publish","type":"page","link":"https:\/\/bechele.de\/?page_id=82","title":{"rendered":"Update for Gamepad Use"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A new update has been released, that allows to use a gamepad as input\/teaching device instead of the self made arduino based joystick.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Though it works using a gamepad now, it is rather difficult to teach\/move servos using the gamepad. My self made joystick is much more accurate and sensitive than a gamepad. Also gamepads usually have a &#8220;dead zone&#8221; in the center of the input lever, that makes it difficult to position exactly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To prevent of much configuration, I created additional programs for gamepad use, the old ones can be still used if you have a self made joystick.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To install:<\/p>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-8f761849 wp-block-group-is-layout-flex\">\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-ae548107-6c4b-4007-abdf-03995bbb05cf\" href=\"https:\/\/bechele.de\/wp-content\/uploads\/2022\/12\/gamepad_update.tgz\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>gamepad_update.tgz<\/strong><\/a><a href=\"https:\/\/bechele.de\/wp-content\/uploads\/2022\/12\/gamepad_update.tgz\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-ae548107-6c4b-4007-abdf-03995bbb05cf\">Download<\/a><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Download and unpack the g-zipped tar-ball from within \/usr\/local\/bin<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The configuration is set to orangepi by default. If you have a raspi 3 you need to copy the configuration file in \/usr\/local\/bin\/Modules (cp&nbsp; \/usr\/local\/bin\/Modules\/ConfigL.pm.raspi \/usr\/local\/bin\/Modules\/ConfigL.pm)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Probably the perl module &#8220;<strong>Linux::Joystick<\/strong>&#8221; needs to be installed in addition.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The easiest way is to run:&nbsp; <strong><em>cpanm Linux::Joystick<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For more, how to use the Update read the enclosed README file.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"450\" src=\"https:\/\/bechele.de\/wp-content\/uploads\/2022\/07\/124-1.jpg\" alt=\"\" class=\"wp-image-254\" srcset=\"https:\/\/bechele.de\/wp-content\/uploads\/2022\/07\/124-1.jpg 600w, https:\/\/bechele.de\/wp-content\/uploads\/2022\/07\/124-1-300x225.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">Use a gamepad as a teaching device<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>A new update has been released, that allows to use a gamepad as input\/teaching device instead of the self made arduino based joystick. Though it&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":73,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-82","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=82"}],"version-history":[{"count":5,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages\/82\/revisions"}],"predecessor-version":[{"id":1015,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages\/82\/revisions\/1015"}],"up":[{"embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages\/73"}],"wp:attachment":[{"href":"https:\/\/bechele.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}