# keyconfig.ini
# defines the input_emulator key bindings
# multiple keys are to be specified comma separated

# Options:

# allows the user to mouse wheel scroll through the PV selection list
mouse_scroll_pv_selection = true
# the interval it takes for the emulated slider touch points to move from one contact point to another.
# in most cases this does not need editing.
touch_slider_emulation_speed = 750.0

# preferred Xinput controller (0-3)
xinput_preferred = 0

# JVS Buttons:
JVS_TEST = F1
JVS_SERVICE = F2

JVS_START = Enter, Ds4_Options, XINPUT_START, MouseMiddle
JVS_TRIANGLE = W, I, Ds4_Triangle, Ds4_DPad_Up, Ds4_L_Trigger, Ds4_R_Trigger, XINPUT_Y, XINPUT_UP, XINPUT_LT, XINPUT_RT
JVS_SQUARE = A, J, Ds4_Square, Ds4_DPad_Left, Ds4_L_Trigger, Ds4_R_Trigger, XINPUT_X, XINPUT_LEFT, XINPUT_LT, XINPUT_RT, MouseX2
JVS_CROSS = S, K, Ds4_Cross, Ds4_DPad_Down, Ds4_L_Trigger, Ds4_R_Trigger, XINPUT_A, XINPUT_DOWN, XINPUT_LT, XINPUT_RT, MouseX1
JVS_CIRCLE = D, L, Ds4_Circle, Ds4_DPad_Right, Ds4_L_Trigger, Ds4_R_Trigger, XINPUT_B, XINPUT_RIGHT, XINPUT_LT, XINPUT_RT

JVS_LEFT = Left, Up, Ds4_L1, Ds4_L_Stick_Up, Ds4_R_Stick_Up, XINPUT_LS
JVS_RIGHT = Right, Down, Ds4_R1, Ds4_L_Stick_Down, Ds4_R_Stick_Down, XINPUT_RS

# Touch Slider:
LEFT_SIDE_SLIDE_LEFT = Q, Ds4_L_Stick_Left, XINPUT_LLEFT
LEFT_SIDE_SLIDE_RIGHT = E, Ds4_L_Stick_Right, XINPUT_LRIGHT

RIGHT_SIDE_SLIDE_LEFT = U, Ds4_R_Stick_Left, XINPUT_RLEFT
RIGHT_SIDE_SLIDE_RIGHT = O, Ds4_R_Stick_Right, XINPUT_RRIGHT

# --- KEYBOARD KEY NAMES: ---

# - Standard Keys
# uppercase "A" to "Z", "0" to "9"

# - NumPad Keys
# "NumPad0" to "NumPad9"
# "Plus", "Minus", "Divide", "Multiply"

# - Function Keys
# "F1" to "F24"

# - Shift Keys
# "LeftShift", "RightShift"

# - Control Keys
# "LeftControl", "RightControl"

# - Arrow Keys
# "Up", "Down", "Left", "Right"

# - Special Keys
# "Enter", "Tab", "Backspace", "Insert", "Delete", "Home", "End", "PageUp", "PageDown", "Escape"

# --- MOUSE BUTTON NAMES: ---
# "MouseLeft", "MouseMiddle", "MouseRight", "MouseX1", "MouseX2"

# --- DUALSHOCK 4 BUTTON NAMES: ---

# - Face Buttons
# "Ds4_Square", "Ds4_Cross", "Ds4_Circle", "Ds4_Triangle"

# - Standard Buttons
# "Ds4_Share", "Ds4_Options", "Ds4_PS", "Ds4_Touch", "Ds4_L1", "Ds4_R1"

# - D-Pad Directions
# "Ds4_DPad_Up", "Ds4_DPad_Right", "Ds4_DPad_Down", "Ds4_DPad_Left"

# - Trigger Buttons
# "Ds4_L_Trigger", "Ds4_R_Trigger"

# - Left Joystick
# "Ds4_L_Stick_Up", "Ds4_L_Stick_Right", "Ds4_L_Stick_Down", "Ds4_L_Stick_Left", "Ds4_L3"

# - Right Joystick
# "Ds4_R_Stick_Up", "Ds4_R_Stick_Right", "Ds4_R_Stick_Down", "Ds4_R_Stick_Left", "Ds4_R3"

# --- XINPUT BUTTON NAMES: ---

# - Face Buttons
# "XINPUT_A", "XINPUT_B", "XINPUT_X", "XINPUT_Y"

# - Standard Buttons
# "XINPUT_START", "XINPUT_BACK", "XINPUT_LS"/"XINPUT_LB", "XINPUT_RS"/"XINPUT_RB"

# - D-Pad Directions
# "XINPUT_UP", "XINPUT_DOWN", "XINPUT_LEFT", "XINPUT_RIGHT"

# - Trigger Buttons
# "XINPUT_LT", "XINPUT_RT"

# - Left Joystick
# "XINPUT_LLEFT", "XINPUT_LRIGHT", "XINPUT_LSB"

# - Right Joystick
# "XINPUT_RLEFT", "XINPUT_RRIGHT", "XINPUT_RSB"