Input Syntax: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 13: Line 13:
|-
|-
! ''| OR''
! ''| OR''
| Similar to '''''Select''''', it types "<var> &#124; </var>" before a selected input.
| Similar to '''''Select''''', adds "<var> &#124; </var>" before a selected input.
* Syntax error when selected first.
|-
|-
! ''& AND''
! ''& AND''
| Similar to '''''Select''''', it types "<var> & </var>" before a selected input.
| Similar to '''''Select''''', adds "<var> & </var>" before a selected input.
* Syntax error when selected first.
|-
|-
! ''! NOT''
! ''! NOT''
| Similar to '''''Select''''', it types "<var>!</var>" before a selected input.
| Similar to '''''Select''''', adds "<var>!</var>" before a selected input.
* This is one confusing part, requires additional combination and/or manual editing in the text field. Check the [[#! NOT]] example in next section.
* This is one confusing part, requires additional combination and/or manual editing in the text field. Check the [[#! NOT]] example in next section.
|-
|-
! ''+ ADD''
! ''+ ADD''
| Similar to '''''Select''''', it types "<var> + </var>" before a selected input.
| Similar to '''''Select''''', adds "<var> + </var>" before a selected input.
* Syntax error when selected first.
|}
|}



Revision as of 05:29, 17 December 2015

As a follow-up by right-clicking the button in GameCube, Wiimote, and Hotkey configuration windows, this page explains how to properly assign multiple input and combination of each command in controller configuration window.

Assignment Buttons

When opening Configuring Controller window the text cursor will be placed on beginning of lines in small text field.

Detect It will automatically highlight the selected input in the list which can save your time looking through there. It will wait for input from the selected device in Device dropdown for 3 seconds.
Select Assigns the selected input from the list to the current text cursor location in small text field.
| OR Similar to Select, adds " | " before a selected input.
  • Syntax error when selected first.
& AND Similar to Select, adds " & " before a selected input.
  • Syntax error when selected first.
! NOT Similar to Select, adds "!" before a selected input.
  • This is one confusing part, requires additional combination and/or manual editing in the text field. Check the #! NOT example in next section.
+ ADD Similar to Select, adds " + " before a selected input.
  • Syntax error when selected first.

Parameter Examples

Guide | `DInput/0/Keyboard Mouse:RMENU` & `DInput/0/Keyboard Mouse:RETURN`

For some reason the first two parameters don't work.

`Shoulder L` & Guide | `DInput/0/Keyboard Mouse:RMENU` & `DInput/0/Keyboard Mouse:RETURN`

! 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.

!`Pad W` & `Button X` | !`Pad E` & `Button B`

However this will work alright.

`Button X` & !`Pad W` | `Button B` & !`Pad E`