Input Syntax: Difference between revisions

→‎Syntax: slight wording change
(Add ":")
(→‎Syntax: slight wording change)
Line 67: Line 67:
|-----------
|-----------
! '':''
! '':''
| 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.
| The LHS is used as the device name, and the RHS is used as the control name. The whole expression may need to be wrapped around backticks so it parses correctly.
| <code>`evdev/0/Device:Button 0`</code>
| <code>`evdev/0/Device:Button 0`</code>
The virtual controller button will be pressed if Button 0 (from device "evdev/0/Device") is pressed.
The virtual controller button will be pressed if Button 0 (from device "evdev/0/Device") is pressed.