mirror of https://github.com/stella-emu/stella.git
enhanced/fixed some controller default mappings
This commit is contained in:
parent
8a1d390907
commit
1cc58b9d02
|
@ -95,17 +95,17 @@
|
||||||
<td>Open settings</td>
|
<td>Open settings</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Button 7</td>
|
<td>Button 8</td>
|
||||||
<td>-</td>
|
<td>-</td>
|
||||||
<td>Rewind game</td>
|
<td>Rewind game</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Button 8</td>
|
<td>Button 9</td>
|
||||||
<td>MODE</td>
|
<td>MODE</td>
|
||||||
<td>Select</td>
|
<td>Select</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Button 9</td>
|
<td>Button 10</td>
|
||||||
<td>RESET</td>
|
<td>RESET</td>
|
||||||
<td>Reset</td>
|
<td>Reset</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -1403,13 +1403,22 @@ PhysicalJoystickHandler::EventMappingArray PhysicalJoystickHandler::DefaultRight
|
||||||
PhysicalJoystickHandler::EventMappingArray
|
PhysicalJoystickHandler::EventMappingArray
|
||||||
PhysicalJoystickHandler::DefaultCommonMapping = {
|
PhysicalJoystickHandler::DefaultCommonMapping = {
|
||||||
// valid for all joysticks
|
// valid for all joysticks
|
||||||
|
// Note: buttons 0..2 are used by controllers!
|
||||||
#if defined(RETRON77)
|
#if defined(RETRON77)
|
||||||
{Event::CmdMenuMode, 3}, // Note: buttons 0..2 are used by controllers!
|
{Event::CmdMenuMode, 3}, // Button "Y" / "4"
|
||||||
{Event::ExitMode, 4},
|
{Event::ExitMode, 4}, // Left Shoulder Button
|
||||||
{Event::OptionsMenuMode, 5},
|
{Event::OptionsMenuMode, 5}, // Right Shoulder Button
|
||||||
{Event::RewindPause, 6},
|
{Event::RewindPause, 7}, // Right Trigger Button
|
||||||
{Event::ConsoleSelect, 7},
|
{Event::ConsoleSelect, 8}, // Button "Select"
|
||||||
{Event::ConsoleReset, 8},
|
{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
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue