ARPG-ish approach.
For instructions on how to use this mapping with the Steam Controller in Warhammer® 40,000™: Dawn of War® II - Chaos Rising™, click the Download button or check out the instructions here.
"controller_mappings" { "version" "3" "title" "xvtDoW II_v0.3" "description" "Your modified configuration for this game." "creator" "76561197973200915" "group" { "id" "0" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 1" } } } } "button_B" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 2" } } "Long_Press" { "bindings" { "binding" "key_press 6" } } } } "button_X" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 3" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 4" } } "Long_Press" { "bindings" { "binding" "key_press 5" } } } } } } "group" { "id" "1" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press UP_ARROW" } "settings" { "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press DOWN_ARROW" } "settings" { "haptic_intensity" "1" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press RIGHT_ARROW" } "settings" { "haptic_intensity" "1" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_ARROW" } "settings" { "haptic_intensity" "1" } } } } "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press M, Stimulant Kit" } } } } } "settings" { "requires_click" "0" "deadzone" "4265" } } "group" { "id" "2" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press UP_ARROW" } "settings" { "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press DOWN_ARROW" } "settings" { "haptic_intensity" "1" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press RIGHT_ARROW" } "settings" { "haptic_intensity" "1" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_ARROW" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "3" "mode" "absolute_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press U, Fall Back / Exit Building" "binding" "key_press X, Fall Back / Exit Building" } } } } } "settings" { "sensitivity" "199" "acceleration" "1" "mouse_smoothing" "0" } } "group" { "id" "4" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press BACKSPACE, Reset Camera" } "settings" { "haptic_intensity" "2" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT, Move Units" } } } } } "settings" { "adaptive_threshold" "5" } } "group" { "id" "5" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_SHIFT, Issue Orders" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT" } } } } } "settings" { "adaptive_threshold" "4" } } "group" { "id" "6" "mode" "touch_menu" "inputs" { "touch_menu_button_0" { "activators" { "Full_Press" { "bindings" { "binding" "key_press Q, 1st Power, ghost_020_ammo_030.png #002E4D #0074ad" } } } } "touch_menu_button_1" { "activators" { "Full_Press" { "bindings" { "binding" "key_press O, 2nd Power, ghost_040_act_0010.png #002E4D #0074ad" "binding" "key_press E, 2nd Power, ghost_040_act_0010.png #002E4D #0074ad" "binding" "key_press R, 2nd Power, ghost_040_act_0010.png #002E4D #0074ad" "binding" "key_press B, 2nd Power, ghost_040_act_0010.png #002E4D #0074ad" "binding" "key_press I, 2nd Power, ghost_040_act_0010.png #002E4D #0074ad" } } } } "touch_menu_button_2" { "activators" { "Full_Press" { "bindings" { "binding" "key_press R, 3rd Power, ghost_010_wpn_0200.png #002E4D #0074ad" "binding" "key_press T, 3rd Power, ghost_010_wpn_0200.png #002E4D #0074ad" "binding" "key_press C, 3rd Power, ghost_010_wpn_0200.png #002E4D #0074ad" } } } } "touch_menu_button_3" { "activators" { "Full_Press" { "bindings" { "binding" "key_press E, 4th Power, ghost_010_wpn_0190.png #002E4D #0074ad" "binding" "key_press F, 4th Power, ghost_010_wpn_0190.png #002E4D #0074ad" "binding" "key_press D, 4th Power, ghost_010_wpn_0190.png #002E4D #0074ad" } } } } "touch_menu_button_4" { "activators" { "Full_Press" { "bindings" { "binding" "key_press W, 5th Power, ghost_010_wpn_0210.png #002E4D #0074ad" "binding" "key_press E, 5th Power, ghost_010_wpn_0210.png #002E4D #0074ad" } } } } } "settings" { "touch_menu_button_count" "7" "touch_menu_opacity" "89" "touch_menu_scale" "72" } } "group" { "id" "8" "mode" "scrollwheel" "inputs" { "scroll_clockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP" } "settings" { "hold_repeats" "1" } } } } "scroll_counterclockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN" } "settings" { "hold_repeats" "1" } } } } "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press BACKSPACE" } } } } } "settings" { "scroll_angle" "94" "haptic_intensity" "1" "scroll_type" "2" "scroll_invert" "1" "scroll_friction" "1" } } "group" { "id" "9" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN" } "settings" { "hold_repeats" "1" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP" } "settings" { "hold_repeats" "1" } } } } } "settings" { "requires_click" "0" } } "group" { "id" "10" "mode" "absolute_mouse" "inputs" { } "settings" { "acceleration" "1" "mouse_move_threshold" "1" } } "group" { "id" "11" "mode" "mouse_region" "inputs" { } } "group" { "id" "12" "mode" "mouse_region" "inputs" { } "settings" { "haptic_intensity" "0" "scale" "100" "position_x" "100" "position_y" "100" "sensitivity_horiz_scale" "200" "sensitivity_vert_scale" "200" } } "group" { "id" "13" "mode" "absolute_mouse" "inputs" { } "settings" { "sensitivity" "99" "haptic_intensity" "0" "mouse_smoothing" "19" } } "group" { "id" "7" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F10, Menu" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "key_press W, Battlecry/High Powered Shot/DN Repair" } } } } "left_bumper" { "activators" { "release" { "bindings" { "binding" "key_press LEFT_SHIFT, Select All Units" } "settings" { "haptic_intensity" "0" } } "release" { "bindings" { "binding" "key_press 1" "binding" "key_press 2" "binding" "key_press 3" "binding" "key_press 4" "binding" "key_press 5" "binding" "key_press 6" } "settings" { "haptic_intensity" "0" } } "Start_Press" { "bindings" { "binding" "key_press 1" "binding" "key_press 2" "binding" "key_press 3" "binding" "key_press 4" "binding" "key_press 5" "binding" "key_press 6" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_ALT, Camera Modifier" } } "Full_Press" { "bindings" { "binding" "mode_shift left_trackpad 9" } } } } "button_back_left" { "activators" { "Start_Press" { "bindings" { "binding" "key_press A, Attack" } } "release" { "bindings" { "binding" "mouse_button LEFT" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "key_press S, Stop" } } } } } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "7" "switch active" "2" "left_trackpad inactive" "6" "left_trackpad active" "8" "left_trackpad inactive modeshift" "9" "left_trackpad active modeshift" "3" "right_trackpad active" "11" "right_trackpad inactive" "12" "right_trackpad inactive modeshift" "13" "right_trackpad inactive modeshift" "0" "button_diamond active" "1" "joystick active" "4" "left_trigger active" "5" "right_trigger active" "10" "gyro active" } } "settings" { } }