enhanced/fixed some controller default mappings

This commit is contained in:
Thomas Jentzsch 2023-03-26 10:23:38 +02:00
parent 8a1d390907
commit 1cc58b9d02
2 changed files with 18 additions and 9 deletions

View File

@ -95,17 +95,17 @@
<td>Open settings</td>
</tr>
<tr>
<td>Button 7</td>
<td>Button 8</td>
<td>-</td>
<td>Rewind game</td>
</tr>
<tr>
<td>Button 8</td>
<td>Button 9</td>
<td>MODE</td>
<td>Select</td>
</tr>
<tr>
<td>Button 9</td>
<td>Button 10</td>
<td>RESET</td>
<td>Reset</td>
</tr>

View File

@ -1403,13 +1403,22 @@ PhysicalJoystickHandler::EventMappingArray PhysicalJoystickHandler::DefaultRight
PhysicalJoystickHandler::EventMappingArray
PhysicalJoystickHandler::DefaultCommonMapping = {
// valid for all joysticks
// Note: buttons 0..2 are used by controllers!
#if defined(RETRON77)
{Event::CmdMenuMode, 3}, // Note: buttons 0..2 are used by controllers!
{Event::ExitMode, 4},
{Event::OptionsMenuMode, 5},
{Event::RewindPause, 6},
{Event::ConsoleSelect, 7},
{Event::ConsoleReset, 8},
{Event::CmdMenuMode, 3}, // Button "Y" / "4"
{Event::ExitMode, 4}, // Left Shoulder Button
{Event::OptionsMenuMode, 5}, // Right Shoulder Button
{Event::RewindPause, 7}, // Right Trigger Button
{Event::ConsoleSelect, 8}, // Button "Select"
{Event::ConsoleReset, 9}, // Button "Start"
#else
{Event::ConsoleSelect, 8}, // Button "Select"
{Event::ConsoleReset, 9}, // Button "Start"
{Event::ConsoleColorToggle, 3}, // Button "Y" / "4"
{Event::ConsoleLeftDiffToggle, 4}, // Left Shoulder Button
{Event::ConsoleRightDiffToggle, 5}, // Right Shoulder Button
{Event::CmdMenuMode, 6}, // Left Trigger Button
{Event::OptionsMenuMode, 7}, // Right Trigger Button
#endif
};