Skip to content

Instantly share code, notes, and snippets.

@milroneth
Last active April 18, 2022 14:35
Show Gist options
  • Save milroneth/d950fe02da4d3d62d8d584d94d95bc53 to your computer and use it in GitHub Desktop.
Save milroneth/d950fe02da4d3d62d8d584d94d95bc53 to your computer and use it in GitHub Desktop.
Notepad++ UDL syntax highlighting for Steam Contoller Config VDF files
<NotepadPlus>
<UserLang name="VDF: Controller (dark mode)" ext="vdf" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="yes" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00// 01 02 03/* 04*/</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">&quot; ,</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open">{</Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close">}</Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>
<Keywords name="Folders in comment, open"></Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close"></Keywords>
<Keywords name="Keywords1">controller_config controller_mappings version revision major_revision minor_revision Timestamp creator progenitor export_type controller_type actions action_layers localization group preset</Keywords>
<Keywords name="Keywords2">id name title description mode input_mode inputs bindings settings gameactions group_source_bindings legacy_set StickPadGyro Button AnalogTrigger modeshift</Keywords>
<Keywords name="Keywords3">activators disabled_activators Full_Press Long_Press release</Keywords>
<Keywords name="Keywords4">binding layout layer requires_click output_joystick deadzone anti_deadzone deadzone_shape deadzone_inner_radius deadzone_outer_radius output_trigger edge_binding_radius edge_binding_invert adaptive_threshold sensitivity haptic_intensity rotation friction_vert_scale sensitivity_vert_scale mouse_smoothing doubetap_max_duration mouse_dampening_trigger mouse_trigger_clamp_amount gyro_button virtual_mode left_trackpad_mode right_trackpad_mode action_set_trigger_cursor_show action_set_trigger_cursor_hide invert_y output_axis interruptable</Keywords>
<Keywords name="Keywords5">empty_binding click edge doubletap trigger single_button four_buttons touch_menu absolute_mouse joystick gyro switch switches key_press controller_action game_action mode_shift A B X Y START SELECT</Keywords>
<Keywords name="Keywords6">button_ dpad xinput_ JOYSTICK_ TRIGGER_ SHOULDER_ left_ right_</Keywords>
<Keywords name="Keywords7">active</Keywords>
<Keywords name="Keywords8">inactive</Keywords>
<Keywords name="Delimiters">00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="DCDCCC" bgColor="3F3F3F" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="7F9F7F" bgColor="3F3F3F" fontStyle="2" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="7F9F7F" bgColor="3F3F3F" fontStyle="2" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="8CD0D3" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="7F9F7F" bgColor="3F3F3F" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="DFC47D" bgColor="3F3F3F" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="FFCFAF" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="DCA3A3" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="CEDF99" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="CEDF99" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="80D4AA" bgColor="3F3F3F" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="FFCFAF" bgColor="3F3F3F" fontStyle="1" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="CC9393" bgColor="3F3F3F" fontStyle="1" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="9F9D6D" bgColor="3F3F3F" fontStyle="1" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="DCDCCC" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="DCDCCC" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="DCDCCC" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS2" fgColor="DCDCCC" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="DCDCCC" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="DCDCCC" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="DCDCCC" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="DCDCCC" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="DCDCCC" bgColor="3F3F3F" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="DCDCCC" bgColor="3F3F3F" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment