Input Syntax: Difference between revisions

Jump to navigation Jump to search
Add ":"
(Add ":")
Line 1: Line 1:
This page explains how to properly assign multiple inputs and the control expression syntax in the input configuration dialogs.
This page explains how to properly assign multiple controls (inputs or outputs) and the control expression syntax in the input configuration dialogs.


== Buttons ==
== Buttons ==
Line 65: Line 65:
! '')''
! '')''
| The right parenthesis is used to close an expression group.
| The right parenthesis is used to close an expression group.
|-----------
! '':''
| The LHS is used as the device name, and the RHS is used as the control name. You may need to wrap the whole expression around backticks to make it parse correctly.
| <code>`evdev/0/Device:Button 0`</code>
The virtual controller button will be pressed if Button 0 (from device "evdev/0/Device") is pressed.
|-----------
|-----------
|}
|}


[[Category:Tutorials]]
[[Category:Tutorials]]

Navigation menu