"controller_mappings" { "version" "3" "revision" "30" "title" "Smooth controller mapping w/ menu scrolling" "description" "based on sg.steven13's. Added use/pick up on right pad click and action layer for right pad scrolling in menus " "creator" "76561198048912430" "controller_type" "controller_steamcontroller_gordon" "major_revision" "0" "minor_revision" "0" "Timestamp" "2009361682" "actions" { "Default" { "title" "Default" "legacy_set" "1" } } "action_layers" { "Preset_1000001" { "title" "Right Pad Menu Scroll" "legacy_set" "1" "set_layer" "1" "parent_set_name" "Default" } } "group" { "id" "0" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A, Jump" } } } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B, Sneak Mode" } } } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X, Use/Sheathe (Hold)" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button Y, Lean (Hold) / Adrenaline Kill" } } } } } } "group" { "id" "1" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_UP, Upper shortcut" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_DOWN, Bottom shortcut" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_RIGHT, Right shortcut" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_LEFT, Left shortcut" } } } } } "settings" { "layout" "0" "deadzone" "9912" } } "group" { "id" "2" "mode" "joystick_camera" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "3" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT, Run" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "4" "mode" "trigger" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_LEFT, Power/Gadget" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "5" "mode" "trigger" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_RIGHT, Attack" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "edge_binding_radius" "9999" } } "group" { "id" "6" "mode" "absolute_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X, Use" } "settings" { "haptic_intensity" "1" } } } } "doubletap" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, Zoom" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "sensitivity" "397" "doubletap_beep" "1" "doubetap_max_duration" "324" } } "group" { "id" "7" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "8" "mode" "touch_menu" "inputs" { "touch_menu_button_0" { "activators" { "Full_Press" { "bindings" { "binding" "key_press R, Health" } } } } "touch_menu_button_1" { "activators" { "Full_Press" { "bindings" { "binding" "key_press T, Mana" } } } } "touch_menu_button_2" { "activators" { "Full_Press" { "bindings" { "binding" "key_press C, Sneak" } } } } "touch_menu_button_3" { "activators" { "Full_Press" { "bindings" { "binding" "key_press T, Journal" } } } } } "settings" { "touch_menu_button_count" "4" } } "group" { "id" "9" "mode" "scrollwheel" "inputs" { "scroll_clockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP" } } } } "scroll_counterclockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN" } } } } } } "group" { "id" "10" "mode" "scrollwheel" "inputs" { "scroll_clockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP" } } } } "scroll_counterclockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN" } } } } "scroll_wheel_list_0" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 1, , ghost_010_wpn_0100.png #000000 #E4E4E4" } } } } "scroll_wheel_list_1" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 2, , ghost_010_wpn_0310.png #232323 #00adad" } } } } } } "group" { "id" "11" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press W" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press S" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press D" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press A" } } } } "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_SHIFT" } } } } } "settings" { "requires_click" "0" "layout" "2" "deadzone" "9180" "edge_binding_radius" "24848" } } "group" { "id" "12" "mode" "dpad" "inputs" { } "settings" { "deadzone" "988" } } "group" { "id" "13" "mode" "absolute_mouse" "inputs" { "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press Q" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press E" } } } } } "settings" { "sensitivity" "95" "haptic_intensity" "0" "sensitivity_vert_scale" "64" "mouse_trigger_clamp_amount" "100" } } "group" { "id" "14" "mode" "dpad" "inputs" { } "settings" { "requires_click" "0" } } "group" { "id" "15" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "key_press C, Sneak" } } } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "key_press T, Mana" } } } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "key_press R, Health" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "key_press J, Journal" } } } } } "settings" { "requires_click" "0" "button_size" "15540" "button_dist" "32767" } } "group" { "id" "16" "mode" "joystick_camera" "inputs" { } } "group" { "id" "17" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press W" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press S" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press D" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press A" } } } } } "settings" { "requires_click" "0" } } "group" { "id" "18" "mode" "mouse_region" "inputs" { } "settings" { "output_joystick" "3" } } "group" { "id" "20" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "21" "mode" "mouse_joystick" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "23" "mode" "four_buttons" "inputs" { "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B, Sneak Mode" } } "Full_Press" { "bindings" { "binding" "controller_action remove_layer 2 1 1" } } } } } "settings" { "layer" "1" } } "group" { "id" "24" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "25" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "26" "mode" "mouse_joystick" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "27" "mode" "joystick_move" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "28" "mode" "dpad" "inputs" { } "settings" { "layer" "1" "requires_click" "0" } } "group" { "id" "29" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "30" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "31" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "32" "mode" "mouse_joystick" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "layer" "1" } } "group" { "id" "33" "mode" "joystick_camera" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "34" "mode" "joystick_move" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "35" "mode" "mouse_joystick" "inputs" { } "settings" { "layer" "1" "gyro_button" "10" } } "group" { "id" "19" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button start" } } "Long_Press" { "bindings" { "binding" "controller_action SCREENSHOT" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F5, Quick Save" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_LEFT, Weapon Wheel" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT, Block" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SELECT, Journal" } } "Full_Press" { "bindings" { "binding" "controller_action add_layer 2 1 1" } "settings" { "interruptable" "0" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT, Run" } } } } } } "group" { "id" "22" "mode" "switches" "inputs" { "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SELECT, Journal" } } "Full_Press" { "bindings" { "binding" "controller_action remove_layer 2 1 1" } "settings" { "interruptable" "0" } } } } } "settings" { "layer" "1" } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "19" "switch active" "2" "right_trackpad inactive" "6" "right_trackpad active" "7" "right_trackpad inactive" "10" "right_trackpad inactive" "16" "right_trackpad inactive modeshift" "20" "right_trackpad inactive modeshift" "21" "right_trackpad active modeshift" "0" "button_diamond active" "1" "left_trackpad active" "8" "left_trackpad inactive" "9" "left_trackpad inactive" "12" "left_trackpad inactive modeshift" "15" "left_trackpad inactive" "18" "left_trackpad inactive" "3" "joystick active" "11" "joystick inactive" "17" "joystick active modeshift" "4" "left_trigger active" "5" "right_trigger active" "13" "gyro active" "14" "gyro inactive" } } "preset" { "id" "1" "name" "Preset_1000001" "group_source_bindings" { "22" "switch active" "25" "right_trackpad inactive" "26" "right_trackpad active modeshift" "32" "right_trackpad active" "33" "right_trackpad inactive" "34" "right_trackpad inactive" "23" "button_diamond active" "24" "left_trackpad active" "27" "joystick active" "28" "joystick active modeshift" "29" "left_trigger active" "30" "right_trigger active" "31" "gyro inactive" "35" "gyro active" } } "settings" { "action_set_trigger_cursor_show" "0" "action_set_trigger_cursor_hide" "0" } }