Remapping XInput xbox 360 gamepad
Posted: 21 Sep 2018, 16:56
Hello. My gamepad (wired xbox 360 gamepad) supported by the game and all buttons work fine. But i want swap A (CROSS) with B (CIRCLE).
Buttons in debug consolle are defined as follows:
so, i want swap A (CROSS) with B (CIRCLE), and in config i wrote this:
With this parameter direct pad buttons not work, when i press CIRCLE (B) triggered UP, when i press L2 (LB) triggered DOWN.
Buttons in debug consolle are defined as follows:
Code: Select all
TRIANGLE (Y) — Gamepad event, button: 3
CIRCLE (B) — Gamepad event, button: 1
CROSS (A) — Gamepad event, button: 0
SQUARE (X) — Gamepad event, button: 2
L1 (left trigger?) — when pressed nothing happens in console and in game
R1 (right trigger?) — when pressed nothing happens in console, but in game button work as skip
DOWN (direct pad?) — Gamepad event, hat move: 4 (when pressed)/ Gamepad event, hat move: 0 (when released)
LEFT (direct pad?) — Gamepad event, hat move: 8 (when pressed)/ Gamepad event, hat move: 0 (when released)
UP (direct pad?) — Gamepad event, hat move: 1 (when pressed)/ Gamepad event, hat move: 0 (when released)
RIGHT (direct pad?) — Gamepad event, hat move: 2 (when pressed)/ Gamepad event, hat move: 0 (when released)
SELECT (back) — Gamepad event, button: 6
START (start) — Gamepad event, button: 7
HOME (guide?) — Gamepad event, button: 10
L2 (left bumper?) — Gamepad event, button: 4
R2 (right bumper?) — Gamepad event, button: 5
L3 (pressed left stick?) — Gamepad event, button: 8
R3 (pressed right stick?) — Gamepad event, button: 9
EXTRA (i dont know what is)
DOWN (direct pad?) — Gamepad event, hat move: 4 (when pressed)/ Gamepad event, hat move: 0 (when released)
LEFT (direct pad?) — Gamepad event, hat move: 8 (when pressed)/ Gamepad event, hat move: 0 (when released)
UP (direct pad?) — Gamepad event, hat move: 1 (when pressed)/ Gamepad event, hat move: 0 (when released)
RIGHT (direct pad?) — Gamepad event, hat move: 2 (when pressed)/ Gamepad event, hat move: 0 (when released)
Code: Select all
pad-map=3,0,1,2,-1,-1,4,8,1,2,6,7,10,4,5,8,9,-1,4,8,1,2