A New Era Arrives
Dolphin has had its first release in eight years! Read more about it on our blog: Dolphin Releases Announcement. |
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
(→Syntax) |
(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]] |