WEBVTT 00:00:03.000 --> 00:00:10.000 line:10% 1. Open the Input MUX and switch to I/O HARDWARE MODE. 00:00:12.200 --> 00:00:18.000 line:10% 2. Connect a switch (3-position in this example), go the DATA ENTRY mode 00:00:21.000 --> 00:00:28.000 line:15% position:10% align:left 3. Select data type for this switch (Dataref in this example) 00:00:29.200 --> 00:00:43.000 line:15% position:10% align:left 4. Open the X-PLANE COM/DRF tab, find and expand the category you need 00:00:45.000 --> 00:00:54.000 line:16% 5. Select the dataref text field and click the dataref you need, the dataref string appears in this text field. 00:00:56.000 --> 00:01:10.000 line:16% 6. Fill the other optional fields if needed (dataref index, values). 00:01:14.000 --> 00:01:42.000 line:16% 7. You can assign a long name to the function you added 00:01:54.000 --> 00:02:00.000 line:16% Example 2 - Using the plane custom command for a button. Selct the assigned button. 00:02:03.000 --> 00:02:14.000 line:16% 1. Open the CUSTOM COM/DRF tab, find and expand the sub-category you need 00:02:18.000 --> 00:02:30.000 line:5% 2. Select data type for this button (Command in this example). Select the command text field and click the command in the list, The command string appears in this text field. 00:02:33.000 --> 00:02:47.000 line:16% 3. Enter the name/description to the function you added