Input Syntax: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 27: Line 27:
| Similar to '''''Select''''', adds "<var> + </var>" before a selected input.  Input parameter with '''''+ ADD''''' can trigger the same command independently. Differences between this and '''''&#124; OR''''' unknown.
| Similar to '''''Select''''', adds "<var> + </var>" before a selected input.  Input parameter with '''''+ ADD''''' can trigger the same command independently. Differences between this and '''''&#124; OR''''' unknown.
* Syntax error when selected first.
* Syntax error when selected first.
|}
== & AND Complexity ==
The first input parameter with another input parameter containing '''''& AND''''' or '''''| OR''''' will not work when there is another set of two input parameters with '''''& AND''''' after '''''| OR''''' or '''''+ ADD'''''.
When adding '''''! NOT''''' after '''''& AND''''', input parameters containing these will allow another input parameter with '''''& AND''''' to work.
== Parentheses ==
Using '''''()''''' parentheses can group input parameters together and thus can solve '''''& AND''''' troubles.
{|
|- style="vertical-align: text-top;"
| width=50%| The first two parameters don't work.
<pre>`Pad W` & `Button X` | `Pad E` & `Button B`</pre>
| width=50%| However using parentheses can solve this.
<pre>(`Pad W` & `Button X`) | (`Pad E` & `Button B`)</pre>
|}
|}


Line 32: Line 48:
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.
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.
<pre>Guide | `DInput/0/Keyboard Mouse:RMENU` & `DInput/0/Keyboard Mouse:RETURN`</pre>
<pre>Guide | `DInput/0/Keyboard Mouse:RMENU` & `DInput/0/Keyboard Mouse:RETURN`</pre>
For some reason the first two parameters don't work.
<pre>`Shoulder L` & Guide | `DInput/0/Keyboard Mouse:RMENU` & `DInput/0/Keyboard Mouse:RETURN`</pre>


=== Using ! NOT ===
=== Using ! NOT ===
Line 44: Line 57:
<pre>!`Pad W` & `Button X`</pre>
<pre>!`Pad W` & `Button X`</pre>
|-
|-
| width=50%| The first two parameters will not work anymore.
| width=50%| The first two parameters will not work anymore. [[#Parentheses]] can help.
<pre>!`Pad W` & `Button X` &#124; !`Pad E` & `Button B`</pre>
<pre>!`Pad W` & `Button X` &#124; !`Pad E` & `Button B`</pre>
| width=50%| However this will work alright.
| width=50%| This will work too.
<pre>`Button X` & !`Pad W` &#124; `Button B` & !`Pad E`</pre>
<pre>`Button X` & !`Pad W` &#124; `Button B` & !`Pad E`</pre>
|}
|}


[[Category:Tutorials]]
[[Category:Tutorials]]
6,576

edits

Navigation menu