mirror of https://github.com/stella-emu/stella.git
rename paddle events
update input mapping doc remove abbreviation from InputDialog tab
This commit is contained in:
parent
4133d3cab5
commit
e236b0ce95
|
@ -30,7 +30,7 @@
|
|||
|
||||
* Added configurable paddle dejittering.
|
||||
|
||||
* Huge improvements to event remapping. (TODO: doc)
|
||||
* Huge improvements to event remapping.
|
||||
- Allow mapping of modifier-key and button-direction combinations.
|
||||
- One controller can use the same mappings as other controllers
|
||||
- Much more events can be remapped
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 7.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 3.9 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 7.3 KiB |
|
@ -1021,13 +1021,13 @@
|
|||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Paddle 0 decrease</td>
|
||||
<td>Right arrow</td>
|
||||
<td>Paddle 0 Turn Left</td>
|
||||
<td>Left arrow</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Paddle 0 increase</td>
|
||||
<td>Left arrow</td>
|
||||
<td>Paddle 0 Turn Right</td>
|
||||
<td>Right arrow</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -1036,13 +1036,13 @@
|
|||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Paddle 1 decrease</td>
|
||||
<td>Down arrow</td>
|
||||
<td>Paddle 1 Turn Left</td>
|
||||
<td>Up arrow</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Paddle 1 increase</td>
|
||||
<td>Up arrow</td>
|
||||
<td>Paddle 1 Turn Right</td>
|
||||
<td>Down arrow</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -1060,13 +1060,13 @@
|
|||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Paddle 2 decrease</td>
|
||||
<td>J</td>
|
||||
<td>Paddle 2 Turn Left</td>
|
||||
<td>G</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Paddle 2 increase</td>
|
||||
<td>G</td>
|
||||
<td>Paddle 2 Turn Right</td>
|
||||
<td>J</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -1075,13 +1075,13 @@
|
|||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Paddle 3 decrease</td>
|
||||
<td>H</td>
|
||||
<td>Paddle 3 Turn Left</td>
|
||||
<td>Y</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Paddle 3 increase</td>
|
||||
<td>Y</td>
|
||||
<td>Paddle 3 Turn Right</td>
|
||||
<td>H</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -2934,19 +2934,22 @@
|
|||
<p>To remap an event:
|
||||
<ol>
|
||||
<li>Enter <b>Options Menu</b> and click the <b>Input Settings</b> button.</li>
|
||||
<li>If you wish to remap emulation events, click the 'Emul. Events' tab.
|
||||
<li>If you wish to remap emulation events, click the 'Emulation Events' tab.
|
||||
Otherwise, click the 'UI Events' tab for user interface events.</li>
|
||||
<li>Select event you want to remap and click the 'Map' button.</li>
|
||||
<li>Press a key, a modifier key (Control, Shift...), a modifier+key combination or
|
||||
use a controller direction or button. Then that key (combination) or controller
|
||||
action will be bound to the selected event. </br>
|
||||
Notes:<ul>
|
||||
<li>If nothing seems to happen, either Stella can't see the input device, or the
|
||||
selected event doesn't support being remapped to the input device.</li>
|
||||
<li>Select event you want to remap and double-click or click the 'Map' button.</li>
|
||||
<li>Now define the input:
|
||||
<ul>
|
||||
<li>Either press a key, a modifier key (Control, Shift...) or a modifier+key combination.</li>
|
||||
<li>Or use a controller direction, a button or a button+controller direction combination.</li>
|
||||
</ul>Then that key (combination) or controller action will be bound to the selected event.</br>
|
||||
Notes:<ul>
|
||||
<li>If nothing seems to happen, either Stella can't see the input device, or the
|
||||
selected event doesn't support being remapped to the input device.</li>
|
||||
<li>The same input can be used for multiple controller types (e.g. 'Right' for 'P0 Joystick Right' and 'Paddle 0 Turn Right').</li>
|
||||
<li>If the same input is used again for the same controller type, the old mapping will be removed.</li>
|
||||
<li>Events which are available in both event modes can be remapped individually.</li>
|
||||
<li>Left and right modifiers are mapped separately. To map them as one, press both
|
||||
modifier keys during mapping.</li>
|
||||
</ul></li>
|
||||
<li>Left and right modifiers are mapped separately when used alone.</li>
|
||||
</ul></li>
|
||||
<li>Cancel a remap in progress by clicking 'Cancel', erase the event's mappings by
|
||||
clicking 'Erase', or reset to default mapping by clicking 'Reset'</li>
|
||||
<li>Reset to default <b>all</b> mappings by clicking 'Defaults'.</li>
|
||||
|
@ -2956,7 +2959,7 @@
|
|||
<img src="graphics/eventmapping.png">
|
||||
<img src="graphics/eventmapping_remap.png">
|
||||
|
||||
<p>There is also a 'Combo' button in the 'Emul. Events' tab, accessible
|
||||
<p>There is also a 'Combo' button in the 'Emulation Events' tab, accessible
|
||||
when a Combo event has been selected from the list of events on the left.
|
||||
Clicking 'Combo' will show a dialog similar to the following:</p>
|
||||
<img src="graphics/eventmapping_combo.png">
|
||||
|
|
|
@ -1625,23 +1625,23 @@ EventHandler::ActionList EventHandler::ourEmulActionList[EMUL_ACTIONLIST_SIZE] =
|
|||
{ Event::JoystickOneFire9, "P1 Booster Handle Grip Trigger", "" },
|
||||
|
||||
{ Event::PaddleZeroAnalog, "Paddle 0 Analog", "" },
|
||||
{ Event::PaddleZeroDecrease, "Paddle 0 Decrease", "" },
|
||||
{ Event::PaddleZeroIncrease, "Paddle 0 Increase", "" },
|
||||
{ Event::PaddleZeroIncrease, "Paddle 0 Turn Left", "" },
|
||||
{ Event::PaddleZeroDecrease, "Paddle 0 Turn Right", "" },
|
||||
{ Event::PaddleZeroFire, "Paddle 0 Fire", "" },
|
||||
|
||||
{ Event::PaddleOneAnalog, "Paddle 1 Analog", "" },
|
||||
{ Event::PaddleOneDecrease, "Paddle 1 Decrease", "" },
|
||||
{ Event::PaddleOneIncrease, "Paddle 1 Increase", "" },
|
||||
{ Event::PaddleOneIncrease, "Paddle 1 Turn Left", "" },
|
||||
{ Event::PaddleOneDecrease, "Paddle 1 Turn Right", "" },
|
||||
{ Event::PaddleOneFire, "Paddle 1 Fire", "" },
|
||||
|
||||
{ Event::PaddleTwoAnalog, "Paddle 2 Analog", "" },
|
||||
{ Event::PaddleTwoDecrease, "Paddle 2 Decrease", "" },
|
||||
{ Event::PaddleTwoIncrease, "Paddle 2 Increase", "" },
|
||||
{ Event::PaddleTwoIncrease, "Paddle 2 Turn Left", "" },
|
||||
{ Event::PaddleTwoDecrease, "Paddle 2 Turn Right", "" },
|
||||
{ Event::PaddleTwoFire, "Paddle 2 Fire", "" },
|
||||
|
||||
{ Event::PaddleThreeAnalog, "Paddle 3 Analog", "" },
|
||||
{ Event::PaddleThreeDecrease, "Paddle 3 Decrease", "" },
|
||||
{ Event::PaddleThreeIncrease, "Paddle 3 Increase", "" },
|
||||
{ Event::PaddleThreeIncrease, "Paddle 3 Turn Left", "" },
|
||||
{ Event::PaddleThreeDecrease, "Paddle 3 Turn Right", "" },
|
||||
{ Event::PaddleThreeFire, "Paddle 3 Fire", "" },
|
||||
|
||||
{ Event::KeyboardZero1, "P0 Keyboard 1", "" },
|
||||
|
|
|
@ -59,7 +59,7 @@ InputDialog::InputDialog(OSystem& osystem, DialogContainer& parent,
|
|||
addTabWidget(myTab);
|
||||
|
||||
// 1) Event mapper for emulation actions
|
||||
tabID = myTab->addTab("Emul. Events");
|
||||
tabID = myTab->addTab(" Emulation Events ", TabWidget::AUTO_WIDTH);
|
||||
actions = instance().eventHandler().getActionList(kEmulationMode);
|
||||
myEmulEventMapper = new EventMappingWidget(myTab, font, 2, 2,
|
||||
myTab->getWidth(),
|
||||
|
@ -69,7 +69,7 @@ InputDialog::InputDialog(OSystem& osystem, DialogContainer& parent,
|
|||
addToFocusList(myEmulEventMapper->getFocusList(), myTab, tabID);
|
||||
|
||||
// 2) Event mapper for UI actions
|
||||
tabID = myTab->addTab("UI Events");
|
||||
tabID = myTab->addTab(" UI Events ", TabWidget::AUTO_WIDTH);
|
||||
actions = instance().eventHandler().getActionList(kMenuMode);
|
||||
myMenuEventMapper = new EventMappingWidget(myTab, font, 2, 2,
|
||||
myTab->getWidth(),
|
||||
|
@ -110,7 +110,7 @@ void InputDialog::addDevicePortTab(const GUI::Font& font)
|
|||
const int HBORDER = 8;
|
||||
|
||||
// Devices/ports
|
||||
tabID = myTab->addTab("Devices & Ports");
|
||||
tabID = myTab->addTab(" Devices & Ports ", TabWidget::AUTO_WIDTH);
|
||||
|
||||
ypos = VBORDER;
|
||||
lwidth = font.getStringWidth("Digital paddle sensitivity "); // was: "Use mouse as a controller "
|
||||
|
|
Loading…
Reference in New Issue