{"id":28911,"date":"2020-05-30T22:09:58","date_gmt":"2020-05-30T22:09:58","guid":{"rendered":"http:\/\/pcbjunkie.net\/?page_id=28911"},"modified":"2020-05-30T22:13:05","modified_gmt":"2020-05-30T22:13:05","slug":"pj-default-button-configuration","status":"publish","type":"page","link":"https:\/\/pcbjunkie.net\/index.php\/pj-default-button-configuration\/","title":{"rendered":"PJ &#8211; Default Button Configuration"},"content":{"rendered":"\n<p>The following button configuration was chosen for a good gaming experience:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Player 1 Controls:<\/h4>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>Button ID<\/strong><\/td><td><strong>JAMMA<\/strong><\/td><td><strong>Linux<\/strong><\/td><td><strong>Emulation Station \/ Retroarch<\/strong><\/td><\/tr><tr><td>0 <\/td><td>TEST<\/td><td>BtnSelect<\/td><td>No Default Mapping<\/td><\/tr><tr><td>1<\/td><td>START<\/td><td>BtnStart<\/td><td>P1 Start<\/td><\/tr><tr><td>2<\/td><td>SVC<\/td><td>BtnMode<\/td><td>No Default Mapping<\/td><\/tr><tr><td>3<\/td><td>Button 1<\/td><td>Btn1<\/td><td>Button B<\/td><\/tr><tr><td>4<\/td><td>Button 2<\/td><td>Btn2<\/td><td>Button A<\/td><\/tr><tr><td>5<\/td><td>Button 3<\/td><td>Btn3<\/td><td>Shoulder L<\/td><\/tr><tr><td>6<\/td><td>Button 4<\/td><td>Btn4<\/td><td>Button Y<\/td><\/tr><tr><td>7<\/td><td>Button 5<\/td><td>Btn5<\/td><td>Button X<\/td><\/tr><tr><td>8<\/td><td>Button 6<\/td><td>Btn6<\/td><td>Shoulder R<\/td><\/tr><tr><td>11<\/td><td>COIN 1<\/td><td>ExtraBtn<\/td><td>Select \/ HotKey<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Player 2 Controls:<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Button ID<\/strong><\/td><td><strong>JAMMA<\/strong><\/td><td><strong>Linux<\/strong><\/td><td><strong>Emulation Station \/ Retroarch<\/strong><\/td><\/tr><tr><td>0<\/td><td>TILT<\/td><td>BtnSelect<\/td><td>No Default Mapping<\/td><\/tr><tr><td>1<\/td><td>START<\/td><td>BtnStart<\/td><td>P1 Start<\/td><\/tr><tr><td>2<\/td><td>N\/A<\/td><td>BtnMode<\/td><td>No Default Mapping<\/td><\/tr><tr><td>3<\/td><td>Button 1<\/td><td>Btn1<\/td><td>Button B<\/td><\/tr><tr><td>4<\/td><td>Button 2<\/td><td>Btn2<\/td><td>Button A<\/td><\/tr><tr><td>5<\/td><td>Button 3<\/td><td>Btn3<\/td><td>Shoulder L<\/td><\/tr><tr><td>6<\/td><td>Button 4<\/td><td>Btn4<\/td><td>Button Y<\/td><\/tr><tr><td>7<\/td><td>Button 5<\/td><td>Btn5<\/td><td>Button X<\/td><\/tr><tr><td>8<\/td><td>Button 6<\/td><td>Btn6<\/td><td>Shoulder R<\/td><\/tr><tr><td>11<\/td><td>COIN 2<\/td><td>ExtraBtn<\/td><td>Select <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The only differences between Player 1 and Player 2 controls is the configuration of the JAMMA Service, Test and Tilt switches, and the mapping of the Retropie Hotkey button which maps only to JAMMA Coin 1 switch.<\/p>\n\n\n\n<p>Exiting game \/ emulator is done by HOTKEY + START together, which maps to JAMMA COIN + START with the default configuration. \u00a0<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Emulation Station Controls Configuration:<\/h4>\n\n\n\n<p>This can be pasted into the following file for the default PJ configuration with RetroPie \/ Emulation Station:<\/p>\n\n\n\n<p>File Location: &nbsp;\/opt\/retropie\/configs\/all\/emulationstation\/es_input.cfg<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?xml version=\"1.0\"?&gt;<br>&lt;inputList&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;inputConfig type=\"joystick\" deviceName=\"JAMMA standard 2-axis digital joystick with 12-buttons\" deviceGUID=\"15000000010000000100000000010000\"&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name=\"up\" type=\"axis\" id=\"1\" value=\"-1\" \/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name=\"down\" type=\"axis\" id=\"1\" value=\"1\" \/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name=\"left\" type=\"axis\" id=\"0\" value=\"-1\" \/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name=\"right\" type=\"axis\" id=\"0\" value=\"1\" \/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name=\"a\" type=\"button\" id=\"4\" value=\"1\" \/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name=\"b\" type=\"button\" id=\"3\" value=\"1\" \/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name=\"x\" type=\"button\" id=\"7\" value=\"1\" \/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name=\"y\" type=\"button\" id=\"6\" value=\"1\" \/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name=\"leftshoulder\" type=\"button\" id=\"5\" value=\"1\" \/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name=\"rightshoulder\" type=\"button\" id=\"8\" value=\"1\" \/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name=\"select\" type=\"button\" id=\"11\" value=\"1\" \/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name=\"start\" type=\"button\" id=\"1\" value=\"1\" \/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name=\"hotkeyenable\" type=\"button\" id=\"11\" value=\"1\" \/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;\/inputConfig&gt;<br>&lt;\/inputList&gt;<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Retroarch Controls Configuration:<br><\/h4>\n\n\n\n<p>This is the default controller configuration section (only controls) from the retroarch configuration file. Paste and replace the existing content for these variables. This may need to be changed for some emulators to improve the experience.<\/p>\n\n\n\n<p>File location: \/opt\/retropie\/configs\/all\/retroarch.cfg<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># PJ Player 1 defaults<br>input_player1_analog_dpad_mode = \"0\"<br>input_player1_joypad_index = \"0\"<br>input_player1_mouse_index = \"0\"<br>input_player1_up_axis = \"-1\"<br>input_player1_down_axis = \"+1\"<br>input_player1_left_axis = \"-0\"<br>input_player1_right_axis = \"+0\"<br>input_player1_b_btn = \"0\"<br>input_player1_a_btn = \"1\"<br>input_player1_y_btn = \"3\"<br>input_player1_x_btn = \"4\"<br>input_player1_l_btn = \"2\"<br>input_player1_r_btn = \"5\"<br>input_player1_select_btn = \"8\"<br>input_player1_start_btn = \"10\"<\/pre>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\"><div class=\"wp-block-group__inner-container\"><\/div><\/div>\n\n\n\n<pre class=\"wp-block-preformatted\"># PJ Player 2 defaults<br>input_player2_analog_dpad_mode = \"0\"<br>input_player2_joypad_index = \"1\"<br>input_player2_mouse_index = \"0\"<br>input_player2_up_axis = \"-1\"<br>input_player2_down_axis = \"+1\"<br>input_player2_left_axis = \"-0\"<br>input_player2_right_axis = \"+0\"<br>input_player2_b_btn = \"0\"<br>input_player2_a_btn = \"1\"<br>input_player2_y_btn = \"3\"<br>input_player2_x_btn = \"4\"<br>input_player2_l_btn = \"2\"<br>input_player2_r_btn = \"5\"<br>input_player2_select_btn = \"8\"<br>input_player2_start_btn = \"10\"<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">#hotkey configuration\ninput_enable_hotkey_btn = \"8\"\ninput_exit_emulator = \"x\"\ninput_exit_emulator_btn = \"10\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The following button configuration was chosen for a good gaming experience: Player 1 Controls: Button ID JAMMA Linux Emulation Station \/ Retroarch 0 TEST BtnSelect No Default Mapping 1 START BtnStart P1 Start 2 SVC BtnMode No Default Mapping 3 Button 1 Btn1 Button B 4 Button 2 Btn2 Button A 5 Button 3 Btn3 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/pcbjunkie.net\/index.php\/pj-default-button-configuration\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;PJ &#8211; Default Button Configuration&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-28911","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/pages\/28911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/comments?post=28911"}],"version-history":[{"count":2,"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/pages\/28911\/revisions"}],"predecessor-version":[{"id":28913,"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/pages\/28911\/revisions\/28913"}],"wp:attachment":[{"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/media?parent=28911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}