Progress Continues
We've already had 21502 updates since Dolphin 5.0. Keep up with Dolphin's continuing progress through the Dolphin Blog: February, March, and April 2024 Dolphin Progress Report. |
The Dolphin Emulator Wiki needs your help! Dolphin can play thousands of games, and changes are happening all the time. Help us keep up! Join in and help us make this the best resource for Dolphin. |
Input Syntax: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This page explains how to properly assign multiple inputs and the control expression syntax in the input configuration dialogs. | |||
== | == Buttons == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! ''Detect'' | ! ''Detect'' | ||
| | | Wait for input from the selected device, and highlight the corresponding input in the list. | ||
|- | |- | ||
! ''Select'' | ! ''Select'' | ||
| | | Copy the selected input name into the control expression field. | ||
|- | |- | ||
! ''| OR'' | ! ''| OR'' | ||
| | | Copy the selected input name into the control expression field, with "|" prepended. | ||
|- | |- | ||
! ''& AND'' | ! ''& AND'' | ||
| | | Copy the selected input name into the control expression field, with "&" prepended. | ||
|- | |- | ||
! ''! NOT'' | ! ''! NOT'' | ||
| | | Copy the selected input name into the control expression field, with "!" prepended. | ||
|- | |- | ||
! ''+ ADD'' | ! ''+ ADD'' | ||
| | | Copy the selected input name into the control expression field, with "+" prepended. | ||
|} | |} | ||
Revision as of 13:24, 28 July 2016
This page explains how to properly assign multiple inputs and the control expression syntax in the input configuration dialogs.
Buttons
Detect | Wait for input from the selected device, and highlight the corresponding input in the list. |
---|---|
Select | Copy the selected input name into the control expression field. |
| OR | Copy the selected input name into the control expression field, with "|" prepended. |
& AND | Copy the selected input name into the control expression field, with "&" prepended. |
! NOT | Copy the selected input name into the control expression field, with "!" prepended. |
+ ADD | Copy the selected input name into the control expression field, with "+" prepended. |
Parentheses
Using () parentheses can group input parameters together and thus can solve & AND troubles.
The first two parameters don't work.
`Pad W` & `Button X` | `Pad E` & `Button B` |
However using parentheses can solve this.
(`Pad W` & `Button X`) | (`Pad E` & `Button B`) |
Parameter Examples
This is personalized input combination for Fullscreen in hotkey setting. The first parameter is for Guide (Big "X") button on Xbox 360 controller and the final parameters are for Alt + Enter key combination on keyboard. Both devices can trigger Fullscreen.
Guide | `DInput/0/Keyboard Mouse:RMENU` & `DInput/0/Keyboard Mouse:RETURN`
Using ! NOT
Command will always active unless this input is triggered.
!`Pad W` |
Command will active when Button X is pressed, but it won't be triggered when Pad W is also pressed.
!`Pad W` & `Button X` |
The first two parameters will not work anymore. #Parentheses can help.
!`Pad W` & `Button X` | !`Pad E` & `Button B` |
This will work too.
`Button X` & !`Pad W` | `Button B` & !`Pad E` |